thank you  Bob,

I wont try your suggestion, but I have not installed autoff on Fedora 21 :
------
[angelo_dev@localhost ~]$ sudo systemctl status autofs.service
[sudo] password for angelo_dev:
● autofs.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)
-----

So before to do something wrong I would ask you how I can install it (I didn't find help in this way..)
It is a autofs repository for Fedora ?

thank you

Angelo


On Wed, Dec 27, 2017 at 5:38 PM, Bob Marcan <bob.marcan@gmail.com> wrote:
On Wed, 27 Dec 2017 11:24:06 +0200
Angelo Moreschini <mrangelo.fedora@gmail.com> wrote:

> hi,
>
>
> in order to backing up of the data , I wrote a script that uses the rsync
> command.
>
> This script have to be launched manually, and the data are saved on a USB
> Hard Disk, which (obviously) must be mounted.
>
> The mounting  of the partitions for the back up on the USB HD is  made
> permantly at boot of the computer (the name of the backup-partitions is
> wrote in the file / etc / fstab) :
>
> UUID=376214F24CC07CE0 /media/BKx_data-personal ntfs defaults 0 0
>
> UUID=479F99A324FF4D1D /media/BKx_programming ntfs defaults 0 0
>
> UUID=EA8266EA8266BB29 /media/BKx_data-common ntfs defaults 0 0
>
>
> This script works fine.
>
> However, this solution for backing up the data is problematic, because *I
> always receive messages with the request of access to the partitions ** of
> the “backup-partitions”** by "nautilus"* - every time that I use the "find"
> command.
>
>
> I can consider that this problem is connected with the *permanent *
> *mounting* of the partitions on the HD-USB (on the file /etc/fstab).
>
>
> To avoid these problems I actually removed the permanent mounting of the
> partitions by registering them on the file fstab and now I'm looking for an
> alternative solution for the back up the data.
>
> I think this solution can go in the following directions:
>
>
>
>    -
>
>    mounting the partitions (commanded by the script) before executing the
>    rsync command and unmounting them immediately afterwards.
>    -
>
>    alternatively, giving appropriate orders to the “udev feature” about the
>    backup partitions (I think this is possible to do, but I do not know how to
>    do it).
>
>
>
> I would like to have some suggestions and advice about it.
> Regards
> Angelo

man autofs
I'm using it.
BR, Bob
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-leave@lists.fedoraproject.org