[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: no floppy dir in /media ? bug ????



On Mon, Mar 13, 2006 at 04:00:00PM +1100, David Timms wrote:
> 
> If you wanted the (u)mount stuff on a minimal router/firewall install of 
> fedora where you are not willing to install gnome-mount (~80k and its 
> 18MB of requires), then the solution could be:
> - create the folder manually (or in the script)
> - add an entry to fstab (just to save on typing) (or give the full 
> command in your script - then the script would be portable to another 
> machine)

Entries in /etc/fstab are not there to really save you some typing.
You do not care much about that in a script anyway.  But only root
can issue "full", i.e with extra options, mount/umount command while
with corresponding /etc/fstab entries with one of options 'user' or
'owner' you can do '[u]mount /some/device' from a non-root account.
Makes a difference.

In your script you can conditionally create missing mount points
as well - assuming that that script runs with priviledges sufficient
for that.

> - rest as previously performed / scripted

More or less.  Do not create such mount points in /media/.  That
may collide with what 'gnome-mount' expects.  It is not critical
but things may become messy.

If you are not root 'gnome-mount' also will not work from a remote
login.  This may or may not be exactly what you desire.

   Michal


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]