reading the documentation, I remember that I red that are some rules to write the auto.xxx files....
(like terminate the rows with "at the head" (crl)) but I didn't pay so much attention and now don't remember these exactly.

Perhaps the problem is there ?

On Sun, Jan 7, 2018 at 8:01 PM, Angelo Moreschini <mrangelo.fedora@gmail.com> wrote:
I set OPTIONS="-v" in /etc/sysconfig/autofs:
I restart the autofs service

and after tried again to look for the mounted partition:

[angelo_dev@localhost ~]$ ls /srv/BKx_programming
ls: cannot access /srv/BKx_programming: No such file or directory

---- still noting to do ....

also the output of journalclt is still null.. :
[angelo_dev@localhost ~]$ journalctl --since 19:57:00 -u autofs.service
-- Logs begin at Thu 2016-12-29 08:03:30 IST, end at Sun 2018-01-07 19:57:31 IST. --





 



[angelo_dev@localhost ~]$ ls /srv/BKx_programming
ls: cannot access /srv/BKx_programming: No such file or directory

On Sun, Jan 7, 2018 at 7:08 PM, <Francis.Montagnac@inria.fr> wrote:

On Sun, 07 Jan 2018 18:38:31 +0200 Angelo Moreschini wrote:

> ====== auto.master -
> /srv/   /etc/auto.ext-usb --timeout=10,defaults
> ====== auto.ext-usb
> BKx_programming   -fstype=ntfs   :/dev/disk/by-uuid/479F99A324FF4D1D
> BKx_data-common   -fstype=ntfs   :/dev/disk/by-uuid/EA8266EA8266BB29
> ===========

Ok.

> *no output in journalctl  :*
> [angelo_dev@localhost ~]$* journalctl --since 17:36:00 -u autofs.service*
> -- Logs begin at Thu 2016-12-29 08:03:30 IST, end at Sun 2018-01-07
> 18:29:19 IST. --
> -------

Try to put autofs in verbose mode. In /etc/sysconfig/autofs:

OPTIONS="-v"

then restart autofs.

> *Jan 05 07:46:15* localhost.pluto gnome-session[1840]:

Gnome (nautilus) is still trying to do the mount, and under /media.

> ... Command-line `mount "/media/BKx_programming"'
>     exited with  non-zero exit

This seems to show that the mounts of /media/BK... are still present
in /etc/fstab.

It it is really the case: umount all the /media/BK... and comment
those mounts in /etc/fstab

Note also that "ls /srv" will show nothing, but "ls /srv/BKx_programming"
will do the (auto)mount and show you the content.

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