Sie sind auf Seite 1von 6

Automount mini-Howto

don@sabotage.org
v0.4, 17 1999
autofs ,
, .
,
gska@otenet.gr
______________________________________________________________________
Table of Contents
1.
1.1 (automount) -
1.2
2.
3.
4. (unmount)
5.

5.1 /auto/floppy, .
5.2 ;
5.3 win95 ("vfat") FAT .
5.4
5.5 / ;
5.6 (map files) ;
5.7 SuSE 6.0
5.8 (ownership) (.. FAT)
5.9 autofs?
5.10 ;
______________________________________________________________________
1.
1.1. (automount) -
(
)
. ,
, .


( ).
,
,
forced-on ascii conversion dos
forced-off ascii conversion dos .
1.2.
linux; AMD autofs.

AMD ,
SunOS AMD. ,
.
NFS
, AMD ,
NFS
. Autofs
,
,
,
automount . autofs
mini-howto.
2.
autofs ,
. 2.0.xx
, .
2.2.xx .
automount
. rpms ( RedHat,
) . automount
rc script /etc/rc.d/init.d
directory. rpm ,
, rc?.d ,
Redhat,
.
rpm
. rc
script. .
3.
RPM's
, ,
.
/etc, auto.master
auto.misc. auto.master :
/auto

/etc/auto.misc --timeout 60

.
( ).

60 .
.
Auto.misc " " (map file).
.
auto.misc /misc.
auto.master. auto.misc
:

kernel
cd
zip
floppy

-ro,soft,intr
-fstype=iso9660,ro
-fstype=auto
-fstype=vfat

ftp.kernel.org:/pub/linux
:/dev/cdrom
:/dev/hdd4
:/dev/fd0

( "") .
/auto/floppy .
. man
mount .
. "kernel"
NFS . :
.

4. (unmount)
,
.
(sync) ,
.
. , .
,
15 .
,
umount .
automount
. ( kill) (signal)
SIGUSR1 automount,
.
, .
automount root, signals
.

root.
suid-root C
. , sudo
kill signal.
sudo `
,
PID.
killall, : (
)
ALL

ALL=NOPASSWD:/usr/bin/killall -USR1 automount

,
-SIGUSR1 .
. ,
(kill) xemacs.
(buffer overrun) killall...
5.

5.1. /auto/floppy,
.
automount ,

, .
,
;
,
.

autofs. ,
. ( .c
"configuration")

(symbolic links) automount
.
( mount
),
.
5.2. ;
df. mount ,

.
5.3. win95 ("vfat")
FAT .
automount.
, "auto" fs vfat
msdos . VFAT
Win95 WinNT FAT/MSDOS
.
mount, mount

,
. mount
, ,
. msdos
. vfat.
.
msdos
module .

mount, .
msdos ,
vfat

. .
,

.
5.4. /auto/grumblesmurf
kill -SIGUSR1 .
. root
.
(. )
(shell) . ,
(
)
. ,
fuser.
5.5. /
;
, ,
. .
/grumblesmurf, . .
5.6. (map files)
;
. map file,
.
5.7. SuSE 6.0 ---timeout --timeout
. , . "
timeout " -t time
autofs script.
5.8. (ownership)
(.. FAT)
man mount ,
uid=value umask=value .
FAT mode=value.
. .
5.9. autofs?
. .

autofs, .
AMD ( Unix
), autofs

. Transmeta,
,
Peter Anvin . Peter
autofs linuxworldexpo 3

1999.
5.10. ;
autofs
<http://www.linuxhq.com/lg/issue24/nielsen.html>. amutils <http://www.cs.columbia.edu/~ezk/am-utils>
( URL)