[EMAIL PROTECTED] wrote:
>      <para>The <application>autofs</application> package contains userspace
>      tools that work with the kernel to mount and un-mount removable file
> -    systems. This is useful for allowing users to mount floppies, cdroms and
> +    systems. The primary use is to mount external network file systems like
> +    nfs (see <xref linkend="nfs-utils"/>) or Samba (see <xref 
> linkend="samba3"/>)
> +    on demand.</para>
> +    
> +    <para>It may also be useful for allowing users to mount floppies, cdroms 
> and
>      other removable storage devices without requiring the system
> -    administrator to mount the devices.  This may not be ideal for all
> +    administrator to mount the devices although this capability is now 
> generally
> +    provided by HAL (see <xref linkend="hal"/>).  This may not be ideal for 
> all
>      installations, so be aware of the risks before implementing this 
> feature.</para>

Good!

> -/media  /etc/auto.misc
> +/media/cdrom  /etc/auto.misc

I can't see how this can be right. Your configuration tells autofs to create 
invisible subdirectories of /media/cdrom, and mount e.g. a floppy to 
/media/cdrom/floppy on the first access to this /media/cdrom/floppy directory.

Also, the package description says that the primary use of this package now is 
for networked file systems, so maybe it is a good idea to provide an example 
for 
them (and say where they are mounted).

If we are really talking about floppies and CD-ROMs (and smbfs, too), one also 
has to edit the mount options and add the correct iocharset and codepage 
parameters.

> +        <para>This file mounts a new media directory but is not visible until
> +        it is automounted by autofs.  An alternative method would be to
> +        automount into another location such as
> +        <filename>/var/lib/autofs/cdrom</filename> and create a sysbolic
> +        link from <filename>/media/cdrom</filename> to the other
> +        location.</para>

This alternative method should be the default.

-- 
Alexander E. Patrakov

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to