On Mon, 2005-12-05 at 11:01 -0500, Paul Winkler wrote:
On Mon, Dec 05, 2005 at 10:35:17AM -0500, Paul Winkler
wrote:
So put this in /etc/init.d/local:
/bin/umount /my/ntfs/mount/path
Oops, more explicitly for those who haven't messed with init.d
scripts...
more specifically, you would put the above line EITHER
in the "stop" function within /etc/inid.d/local, or (PREFERRED)
put it wherever your distribution's existing init.d/local looks
for stuff to run. In my case, I run gentoo, and init.d/local
looks for scripts at /etc/conf.d/local.start (for startup)
and /etc/conf.d/local.stop (for shutdown).
So I'd put the above line in /etc/conf.d/local.stop.
I was infuriated to find that the latest version of Ubuntu does not
AUTOMATICALLY mount a USB drive as soon as it's plugged it. It does
appear on the Gnome desktop, with a nice descriptive icon, but as soon
as the user clicks it they get PERMISSION DENIED.
Christ, it's 2005, do they still expect us to fuck with config files?
Lee