On 10-12-06 04:52 PM, Hendrik Boom wrote:
On Mon, Dec 06, 2010 at 03:32:42PM -0500, Jeremy wrote:
On 10-12-06 03:21 PM, Hendrik Boom wrote:
On Mon, Dec 06, 2010 at 07:24:53AM -0800, Leslie S Satenstein wrote:
On boot all other non-essential drives are auto-mounted (XP, W7, Centos
partitions). How can I just have a list of drives that I do want mounted or
none at all.
How to make this happen?
On my system I edit the /etc/fstab file. File systems that are
automounted have 'auto' in their list of options. File systems not to
be automounted have 'noauto' instead.
Don't get this mixed up with auto as the file system, which tells the
system to make an educated guess as to what file system is used --
useful for things like floppy disks.
The file system nake is the third field on a line in /etc/fstab; the
comma-separated options constitute the fourth field.
-- hendrik
What distro are you using? It should only be system volumes in fstab
afaik for debian/ubuntu.
Debian squeeze, Debian Lenny
There's even an option (called user) to allow users to mount specific
volumes in the fstab. Not sure how that counts as a "system volume".
-- hendrik
Out of interest I just installed squeeze with a FAT32 disk attached to
the system and it did not add any stanzas to /etc/fstab except for
system volumes (ie volumes which must be mounted for the system to
operate, root, home, swap, anything you specified in the installer to be
mounted at a certain location), and the CDROM (noauto). However, when in
the GUI this volume is listed in the file explorer (with nothing in
fstab mentioning it) and will mount (after sudo auth) if clicked on.
Perhaps you added these manually, or else you specified them in the
installer at the partitioning step.
The automount thing Leslie is talking about is done by udisks (used to
be HAL which is now deprecated), also called devicekit-disks. gvfs-mount
(the gnome mount program) calls udisks.
Jeremy
_______________________________________________
mlug mailing list
[email protected]
https://listes.koumbit.net/cgi-bin/mailman/listinfo/mlug-listserv.mlug.ca