🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ch.comp.os.linux
Article #19897

autofs

#19897
From: Michael Geyer
Date: Sun, 14 Nov 1999 00:00
83 lines
3307 bytes
Hallo

Um den Zugriff auf das ZIP- und CDROM-Laufwerk zu vereinfachen, m�chte
ich diese via Automount Daemon ansprechen. Ziel ist es eigentlich, die
ZIP-Disk oder CD einzulegen, und danach via Samba vom Windows Rechner
darauf zuzugreifen. 

Dazu habe ich das Paket autofs.rpm eingespielt, einen neuen Kernel
gebacken (CONFIG_AUTOFS_FS = y) und die Konfigurationsdateien in /etc
angelegt.
Nur will das ganze nicht funktionieren. D.h. ich kann zwar in die
entsprechenden Directories (/cdrom /zip) wechseln, jedoch sind diese
immer leer. Mounte ich das Zeugs von Hand, funktionierts.

Leider weiss ich nicht so recht wo ich mit der Fehlersuche ansetzen
soll. Beim Start/Ende von 'autofs' wird n�mlich keine Fehlermeldung
ausgegeben:


---------------- /var/log/messages ----------------------------------
Nov 12 17:23:06 luzern automount[7638]: starting automounter version
3.1.3, path = /zip, maptype = file, mapname = /etc/auto.zip
Nov 12 17:23:06 luzern automount[7638]: Map argc = 1
Nov 12 17:23:06 luzern automount[7638]: Map argv[0] = /etc/auto.zip
Nov 12 17:23:06 luzern automount[7638]: using kernel protocol version
3
Nov 12 17:23:06 luzern automount[7649]: starting automounter version
3.1.3, path = /cdrom, maptype = file, mapname = /etc/auto.cdrom
Nov 12 17:23:06 luzern automount[7649]: Map argc = 1
Nov 12 17:23:06 luzern automount[7649]: Map argv[0] = /etc/auto.cdrom
Nov 12 17:23:06 luzern automount[7649]: using kernel protocol version
3

[..]

Nov 12 17:23:27 luzern automount[7649]: shutting down, path = /cdrom
Nov 12 17:23:27 luzern automount[7638]: shutting down, path = /zip





Vieleicht sind die Konfig-Datein noch hilfreich:


---------------- /etc/auto.master -----------------------------------
# $Id: auto.master,v 1.2 1997/10/06 21:52:03 hpa Exp $
# Sample auto.master file
# Format of this file:
# mountpoint map options
# For details of the format look at autofs(8).

/zip    /etc/auto.zip
/cdrom  /etc/auto.cdrom

#/misc /etc/auto.misc


---------------- /etc/auto.cdrom ------------------------------------
# $Id: auto.misc,v 1.2 1997/10/06 21:52:04 hpa Exp $
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage

cdrom -fstype=iso9660,ro :/dev/hdd


---------------- /etc/auto.zip -------------------------------------
# $Id: auto.misc,v 1.2 1997/10/06 21:52:04 hpa Exp $
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage

zip -fstype=vfat :/dev/sdb4



Bye,
Michael ~.~

-- 
Was ist weiss und st�rt unheimlich beim essen?
Eine Schneelawine.
Technical Details
Message-ID: <vdIuONPpeTuKt6oee+3rvBh+lIH5@4ax.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: GERMAN,ASCII
X-Google-Thread: f4b73,29df65a74e33d230,start
X-Google-Attributes: gidf4b73,public
From: Michael Geyer <mgeyer@gmx.ch>
Subject: autofs
Date: 1999/11/14
Message-ID: <vdIuONPpeTuKt6oee+3rvBh+lIH5@4ax.com>
X-Deja-AN: 548473785
Content-Transfer-Encoding: 8bit
X-Trace: 14 Nov 1999 16:37:44 +0100, ssda061.dialup-stud.ethz.ch
Organization: Aus dem Norden der Schweiz (690 930 / 290 045)
Content-Type: text/plain; charset=ISO-8859-1
MIME-Version: 1.0
Newsgroups: ch.comp.os.linux