[sclug] sclug Digest, Vol 62, Issue 12

Neil Haughton haughtonomous at googlemail.com
Sat Nov 22 07:21:26 UTC 2008


2008/11/21 <sclug-request at sclug.org.uk>

> Send sclug mailing list submissions to
>        sclug at sclug.org.uk
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://sclug.org.uk/mailman/listinfo/sclug
> or, via email, send a message with subject or body 'help' to
>        sclug-request at sclug.org.uk
>
> You can reach the person managing the list at
>        sclug-owner at sclug.org.uk
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of sclug digest..."
>
> Today's Topics:
>
>   1. Ubuntu Automount + Eee PC 901 responses (Matthew Cox)
>
>
> ---------- Forwarded message ----------
> From: "Matthew Cox" <spudgun79 at gmail.com>
> To: sclug at sclug.org.uk
> Date: Thu, 20 Nov 2008 23:03:48 +0000
> Subject: [sclug] Ubuntu Automount + Eee PC 901 responses
> Hi all,
>
> I've had quite a few responses to my Ubuntu Automount...As for the
> suggestion to write some shell script to unmount it on
> shutdown, that was a 'Doh! Why didn't I think of that?' moment.



I made the suggestion half thinking: this is too easy; I'm going to be made
a complete fool of by a deluge of cries that it can't be done for this or
that blindingly obvious reason which I should know about. I'm glad it didn't
work out that way! In fact I think it must be doable in a single line in the
appropriate shutdown script - just a simple umount <pathtomountdirectory>
should do it, perhaps with some extra arguments such as -l or maybe -f. Lazy
umount might be the best idea.

Alternatively, why not put it in your /etc/fstab, to be mounted on startup?
I believe everything in fstab is unmounted on shutdown anyway.


Neil



More information about the Sclug mailing list