|
Next
Previous
Contents
6. Questions
6.1 I don't see /auto/floppy, or whatever mountpoint I'm looking for.If automount is setup properly, whatever mount point you're looking for will be there if you try and use it, even though you don't see it when not in use. If you're browsing the directory with a graphical tool, you may need to type in the name manually; most programs will try what you give it, and the drive will be mounted before it notices. Unfortunately not being able to choose from the available invisible mount points is probably the major drawback of autofs. If it really bugs you, edit the configuration files. (Hint, the ones that end in .c for "configuration") One workaround several people have tried is to create symbolic links to where automount will create something once it's mounted. This will likely prevent the program from complaining a directory doesn't exist (if the mount works, that is) but careless directory listings will cause filesystems to be mounted.
6.2 How do I see what's mounted?The
6.3 I put in a win95 disk ("vfat") and it was autodetected as only a regular FAT disk.This is not a problem with automount.The "auto" fs type does not attempt a vfat mount before it successfully mounts an MS-DOS filesystem. VFAT is an extension of the basic FAT filesystem inorder to provide Windows 95 and Windows NT with long filenames. According to one of the authors of mount, since mount is only a wrapper around a system call which must specify the filesystem type, it's still the responsibility of the user to come up with the fs type. Having mount take a list of filesystems to try in order, rather than the current "heuristic" is under consideration. Some users have simply not compiled msdos into the kernel; this prevents it from being tested prior to vfat. This will work for most people; a few actually need msdos fs and there is actually a work around. You have to copy the /proc/filesystems as /etc/filesystems and edit it to change the order such that vfat appears before msdos.(Thanks Mark) Ariel(aslinux At dsgml.com) writes " o make mount try vfat before fat, just create or edit the file /etc/filesystems List, in order of priority, what filesystems you want the 'auto' fs type to try. Create the file with cp /proc/filesystems /etc/filesystems. Edit the list to change the order. Put fs types that are detected with great confidence such as ext2 (which means they are checked very quickly), and those that are more common for you first. Just put vfat before msdos and you're all set. Make sure to put both, in case you're mounting something that has no vfat. Mine looks like: ext2 vfat msdos iso9660 **** I use a timeout of 1 second for removable devices. Create separate maps, separated by the timeout you need. You're thinking 1 second? That wastes a lot of resources - but it doesn't. Remember that the system only unmounts when it's no longer in use. So a 1 second unmount means, as soon as no one is using the device, it's unmounted. Also, be very sure to put 'sync' as an option for the floppy! i.e. floppy -fstype=auto,sync,user,umask=002,gid=floppy :/dev/fd0" That should make clear the answer.
6.4 My filesystem
|
|
This document, LDP HOWTO-INDEX, is copyrighted (c) 1995 - 2002 by Tim Bynum, Guylhem Aznar, Joshua Drake and Greg Ferguson. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is available at http://www.gnu.org/copyleft/fdl.html. If you have questions, please contact the LDP.
Web Design Copyright © 1999-2003. Chrisranjana Software Solutions Pvt Ltd. syndicate rss feed |