On Tue, Sep 11, 2012 at 5:55 PM, Walter Dnes <waltd...@waltdnes.org> wrote:
> 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 > > I didn't know about that. That's...awesome. And it'll save me trouble. This is why I like this list; I learn stuff just by listening in. -- :wq