[oclug]mount when folder opens, umount when folder closes.
jeb at burkby.com
Sat Oct 19 20:25:19 EDT 2002
On Sat, Oct 19, 2002 at 01:14:28PM -0400, Bart Trojanowski wrote:
> * Bob Lockie <bjlockie at lockie.ca> [021019 00:00]:
> > I want to setup it up so that when a uses opens a certain directory in
> > Konqueror that it mounts that directory first.
> > When the folder is closed I want the directory unmounted.
> > This for a Windows user that has a Smart Media reader that I want to
> > mount and umount for him.
> > If I can't do this in KDE, can I do it in GNOME?
> It is possible to do the first (ie mounting automagically) with
> am-utils. The unmounting happens after some inactivity (probably
> The way I have been using it is with a /net directory for NFS mounts.
> Simply entering the directory /net/hostname/export will mount
> hostname:/export on your local machine.
FWIW autofs is also ok for that kind of thing on nfs, smbfs, cdrom, etc.
Not as fancy as amd I gather, but works for me.
Joseph E. Burpee
GPG Fingerprint: 9188 AB4F A7B6 4AE5 9FB7 EF30 BE9B B1A2 9F6C BB8B
More information about the OCLUG