I have problem to configure autofs, in order to use  the partitions that I made on my USB HD - for backing up the data of the computer.

----------
(I am thinking that, perhaps, the names to indicate the "mounting point" and the "automounter map" are not the same that are used in sftab file <for the fix mounting>).

I found an article: (Automatically mount USB external drive with autofs -https://linuxconfig.org/automatically-mount-usb-external-drive-with-autofs )
There the problem is seriously explained ... (differently than in other articles there is explicitly considerate the mounting of an USB HD).
And there is suggested to use "udev" to create a "USB device base name permanent" for the device... (and this look to me to be advisable).

But following this procedure the complexity of the problem is growing exponentially (I need also install udev ?).
----------

So I would like ask some help, before to give up... :-).

What are the correct steps to do the automatically mounting of a HD in order to use it for backing up data on USB Hard Disk ?

Thank you

Angelo


On Fri, Jan 5, 2018 at 10:40 AM, Samuel Sieb <samuel@sieb.net> wrote:
On 01/05/2018 12:37 AM, Samuel Sieb wrote:
On 01/05/2018 12:13 AM, Angelo Moreschini wrote:
Nov 12 11:02:54 localhost.pluto ntfs-3g[691]: Mounted /dev/sdb2 (Read-Write, label "PRTZ_programming", NTFS 3.1)
Nov 12 19:59:58 localhost.pluto ntfs-3g[691]: Unmounting /dev/sdb2 (PRTZ_programming)

I assume the mounting time is when you run your find command.  I have no idea what is unmounting it unless systemd is using something like autofs.

I forgot to mention that each time this gets mounted, Nautilus will be notified that a new device is available and so it will popup the notification for you.  If you can figure out what is unmounting the drive, you won't get the notifications any more.

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-leave@lists.fedoraproject.org