On Tue, Sep 11, 2012 at 10:41:22AM +0100, Neil Bothwick wrote

> > I goto the root console which is always open on one of my desktops
> > & enter 'musb', which is a Bash alias for a 'mount' command;
> 
> Leaving aside the implications of leaving open a root console,

  My scripts use pmount and pumount, which are hard-coded to only
mount/unmount devices in directory /media.

> that mounts the stick as root. That's fine for a FAT filesystem as
> you can specify mount options to make it world-readable, but what
> about an external drive formatted with ext? What about an external
> drive with multiple partitions?

  pmount/pumount to the rescue.  See...
http://manpages.ubuntu.com/manpages/natty/man1/pmount.1.html

-- 
Walter Dnes <waltd...@waltdnes.org>
I don't run "desktop environments"; I run useful applications

Reply via email to