On Mon, Dec 06, 2010 at 05:21:33PM -0500, Jeremy wrote: > 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.
Of course I added them manually. That was maybe five Debian releases ago, whne that was still the normal way of doing things. I find the automounting o finsertable media rather a nuisance, since usually there are several of us logged in, and it usually n=automounts things with the wrong user's permissions. If it would use the user ID of the person who currently has a screen open (via gdm), it would be a lot more useful. > 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. So now I have an idea where the cuplrit is... -- hendrik _______________________________________________ mlug mailing list [email protected] https://listes.koumbit.net/cgi-bin/mailman/listinfo/mlug-listserv.mlug.ca
