Automounting USB drives on GUI-free server
Robert Heller
heller at deepsoft.com
Sun Sep 4 15:21:50 UTC 2016
Look for the "autofs" daemon. I use it all of the time (I *don't* ever using
a pointy-clicky file manager, even when I am using X11 otherwise). I use it
for all sorts of disks, not just USB drives. Anything I don't want mounted
all of the time, but might want to mount "on demand". It is also great for
NFS disks too.
At Sun, 04 Sep 2016 17:32:33 +0300 "Ubuntu user technical support, not for general discussions" <ubuntu-users at lists.ubuntu.com> wrote:
>
>
>
> Once upon a time in the west, we could easily use a daemon called.. 'automount' to do this kind of auto-mounting.
> I didn't use it for a while, but you could maybe do some searches about it. Could be the daemon you need.
>
>
> Le 4 septembre 2016 17:04:10 EAT, Karl Auer <kauer at biplane.com.au> a écrit :
> >I have an application running on a text-mode-only Ubuntu system
> >(16.04).
> >
> >As far as I can tell, USB drives only automount inside Unity, i.e.,
> >when a GUI is running. However, I need USB drives to automount on boot
> >and when inserted, even when no GUI is running and no-one is logged in.
> >
> >So far my googling has turned up only quite complicated solutions
> >involving dozens of lines of udev rules, but most of these solutions
> >are several years old.
> >
> >I'll go the udev route if I have to, I was just hoping there was an
> >easier way these days.
> >
> >When I insert a USB stick, syslog tells me it has been detected and
> >plumbed; a device /dev/sdb becomes available and I can mount it
> >manually.
> >
> >Regards, K.
> >
> >--
> >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >Karl Auer (kauer at biplane.com.au)
> >http://www.biplane.com.au/kauer
> >http://twitter.com/kauer389
> >
> >GPG fingerprint: E00D 64ED 9C6A 8605 21E0 0ED0 EE64 2BEE CBCB C38B
> >Old fingerprint: 3C41 82BE A9E7 99A1 B931 5AE7 7638 0147 2C3C 2AC4
> >
> >
> >
> >
> >--
> >ubuntu-users mailing list
> >ubuntu-users at lists.ubuntu.com
> >Modify settings or unsubscribe at:
> >https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
--
Robert Heller -- 978-544-6933
Deepwoods Software -- Custom Software Services
http://www.deepsoft.com/ -- Linux Administration Services
heller at deepsoft.com -- Webhosting Services
More information about the ubuntu-users
mailing list