Package: autofs
Version: 4.1.3-9
Severity: wishlist
Tags: patch

I put together this map to support the /media directory in the newer
release of Debian.  I originally tried making a "direct map" so I wouldn't
need multiple entries for "cdrom" and "cdrom0" (because I could make use
of the symlinks already created).  I also didn't want to alter the existing
dircetory to make things like "cdrom0" a symlink to "automount/cdrom0".

Here's the line from auto.master:

/media  /etc/auto.media --timeout=60

And here's the /etc/auto.media file:

#
# $Id: auto.media,v 1.1 2003/09/29 08:22:35 bcwhite 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

floppy  -fstype=auto,rw,nosuid,nodev    :/dev/floppy
floppy0 -fstype=auto,rw,nosuid,nodev    :/dev/floppy

cdrom   -fstype=auto,ro,nosuid,nodev    :/dev/cdrom
cdrom0  -fstype=auto,ro,nosuid,nodev    :/dev/cdrom

dvd     -fstype=auto,ro,nosuid,nodev    :/dev/dvd
dvd0    -fstype=auto,ro,nosuid,nodev    :/dev/dvd


                                          Brian
                                 ( [EMAIL PROTECTED] )

-------------------------------------------------------------------------------
     The power to shape the future is earned through persistence.  No other
      quality is as essential to success.  It is the sandpaper that breaks
     down all resistance and sweeps away all obstacles.  It is the ability
                 to move mountains one grain of sand at a time.
-------------------------------------------------------------------------------
  ( Couldn't verify my signature?  Use http://www.precidia.com/precidia.crt )


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to