sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: Casey Harkins <charkins AT upl.cs.wisc.edu>
- To: evraire AT tuwg.com
- Cc: sm-discuss AT lists.ibiblio.org
- Subject: Re: [SM-Discuss] Automounters
- Date: Thu, 26 Feb 2004 12:42:36 -0600 (CST)
Using autofs here (enable autofs in kernel, cast autofs).
/etc/auto.master:
/mnt /etc/auto.mnt --timeout 10
/etc/auto.mnt:
cdrom -fstype=iso9660,ro,users :/dev/cdroms/cdrom0
memstick -fstype=vfat,rw,users,sync :/dev/sda1
usb -fstype=vfat,rw,users,sync :/dev/sdb1
Accessing /mnt/cdrom, /mnt/memstick or /mnt/usb triggers the automount. It
is automatically unmounted after the timeout (10 seconds in this case).
The two vfat mounts actually have more options to force certain file
permissions: noexec,umask=000,fmask=111
Unfortunately, handling various hot-pluggable devices is a pain right now.
Depending on the order they are connected or their modules or inserted,
the /dev/sd* entries will be different. In my configuration, my memstick
mount is always /dev/sda1 (built into laptop). The usb mount works for any
of the usb-storage devices I plug in (Neuros, camera, etc).
-casey
On Wed, 25 Feb 2004 evraire AT tuwg.com wrote:
> Hey everyone!
> I've been looking into setting up an automounter for my g/f (who's
> non-technical) and was wondering who's using what in SMGL, and how that's
> working out for you? In particular I'm interested in using an automounter
> for removable media (USB flash drive, CDs, floppies, etc.) to avoid the
> need to manually mount/unmount them.
>
> When I brought it up in #sourcemage I discovered I wasn't the only one
> who lacked information on the subject, so maybe this will help:
> http://www.linux.com/article.pl?sid=04/02/23/2033245
>
> Thanks for the info!
>
> Jonathan Evraire
> evraire at tuwg.com
>
>
> -------------------------------------------------------------
> Message sent via http://toad-mail.net
> Anti-spam notice, this message originated from IP Address: 199.212.215.11
> -------------------------------------------------------------
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>
-
[SM-Discuss] Automounters,
evraire, 02/25/2004
- Re: [SM-Discuss] Automounters, Arwed von Merkatz, 02/25/2004
- Re: [SM-Discuss] Automounters, Casey Harkins, 02/26/2004
- <Possible follow-up(s)>
- RE: [SM-Discuss] Automounters, dkowis AT shlrm.org, 02/25/2004
Archive powered by MHonArc 2.6.24.