Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: User

Auto(un)mount under mdev; release candidate

 

 

Gentoo user RSS feed   Index | Next | Previous | View Threaded


waltdnes at waltdnes

Jul 13, 2012, 5:29 PM

Post #1 of 2 (218 views)
Permalink
Auto(un)mount under mdev; release candidate

For those of you running mdev; I've had auto(un)mounting working and
stable on my machine for a few weeks now. The instructions are on
https://wiki.gentoo.org/wiki/Mdev/Automount_USB and the script file on
https://wiki.gentoo.org/wiki/Mdev/Automount_USB/automount These wiki
pages are still flagged as "a work in progress", and have not been
linked to from the main mdev page. While it seems to work fine on my
system, I'd like some testing by others before calling it finished.

--
Walter Dnes <waltdnes [at] waltdnes>


waltdnes at waltdnes

Jul 15, 2012, 4:14 PM

Post #2 of 2 (200 views)
Permalink
Re: Auto(un)mount under mdev; release candidate [In reply to]

One small change; I've simplified the local-user-unmounting script by
using "pumount" rather than "umount". "pumount" automatically restricts
itself to the /media directory, so the script doesn't have to check for
an attempted bypass with ".." in the path.

--
Walter Dnes <waltdnes [at] waltdnes>

Gentoo user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.