Re: systemd-automount

2025-05-31 Thread Francis . Montagnac
On Sat, 31 May 2025 10:12:17 +0200 François Patte wrote: > Le 31/05/2025 à 09:52, francis.montag...@inria.fr a écrit: Why do you want that to be done when you log-in ? >> No answer to this question :-( > Just to be sure that everything is working as in the previous install... > so as not to

Re: systemd-automount

2025-05-31 Thread François Patte
Le 31/05/2025 à 09:52, francis.montag...@inria.fr a écrit : On Sat, 31 May 2025 09:34:12 +0200 François Patte wrote: Le 30/05/2025 à 21:46,francis.montag...@inria.fr a écrit : On Fri, 30 May 2025 17:52:06 +0200 François Patte wrote: I would like that the directory should be automounted when I

Re: systemd-automount

2025-05-31 Thread Francis . Montagnac
On Sat, 31 May 2025 09:34:12 +0200 François Patte wrote: > Le 30/05/2025 à 21:46, francis.montag...@inria.fr a écrit : >> On Fri, 30 May 2025 17:52:06 +0200 François Patte wrote: >>> I would like that the directory should be automounted when I log-in >> The goal of automount, with autofs as well

Re: systemd-automount

2025-05-31 Thread François Patte
Le 30/05/2025 à 21:46, francis.montag...@inria.fr a écrit : On Fri, 30 May 2025 17:52:06 +0200 François Patte wrote: I would like that the directory should be automounted when I log-in The goal of automount, with autofs as well as with systemd.automount, is to do the mount only when you access

Re: systemd-automount

2025-05-31 Thread François Patte
Le 31/05/2025 à 04:35, Tim via users a écrit : Barry: The options include noauto François Patte: Thank you for this remark! I changed to auto and and it doesn't go up either I wonder if your network is up and ready for use by this stage. Do you mean network 192.168 ? Yes it is. F.P

Re: systemd-automount

2025-05-30 Thread Tim via users
Barry: >> The options include noauto François Patte: > Thank you for this remark! I changed to auto and and it doesn't go up > either I wonder if your network is up and ready for use by this stage. -- uname -rsvp Linux 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_6

Re: systemd-automount

2025-05-30 Thread Francis . Montagnac
On Fri, 30 May 2025 17:52:06 +0200 François Patte wrote: > I would like that the directory should be automounted when I log-in The goal of automount, with autofs as well as with systemd.automount, is to do the mount only when you access the mountpoint. Why do you want that to be done when you lo

Re: systemd-automount

2025-05-30 Thread Bob Marčan via users
On Fri, 30 May 2025 17:52:06 +0200 François Patte wrote: > Le 30/05/2025 à 17:46, Patrick O'Callaghan a écrit : > On Fri, 2025-05-30 at 16:20 +0100, Barry wrote: > > > >> On 30 May 2025, at 14:05, François Patte wrote: > >>> > >>> Why it is not automaticlly mounted when I loggin? > >>> > >> T

Re: systemd-automount

2025-05-30 Thread François Patte
Le 30/05/2025 à 17:46, Patrick O'Callaghan a écrit : On Fri, 2025-05-30 at 16:20 +0100, Barry wrote: On 30 May 2025, at 14:05, François Patte wrote: Why it is not automaticlly mounted when I loggin? The options include noauto I was about to say that, but 'noauto' (according to the fstab man p

Re: systemd-automount

2025-05-30 Thread Patrick O'Callaghan
On Fri, 2025-05-30 at 16:20 +0100, Barry wrote: > > > On 30 May 2025, at 14:05, François Patte wrote: > > > > Why it is not automaticlly mounted when I loggin? > > The options include noauto I was about to say that, but 'noauto' (according to the fstab man page) means "don't include in 'mount

Re: systemd-automount

2025-05-30 Thread Barry Scott
> On 30 May 2025, at 16:37, François Patte wrote: > > Thank you for this remark! I changed to auto and and it doesn't go up > either > > Did you reboot to test? I have a less complex line in my /etc/fstab to mount a NFS share. Maybe one of the other options is the problem? ser

Re: systemd-automount

2025-05-30 Thread François Patte
Le 30/05/2025 à 17:20, Barry a écrit : On 30 May 2025, at 14:05, François Patte wrote: Why it is not automaticlly mounted when I loggin? The options include noauto Thank you for this remark! I changed to auto and and it doesn't go up either F.P. -- _

Re: systemd-automount

2025-05-30 Thread Barry
> On 30 May 2025, at 14:05, François Patte wrote: > > Why it is not automaticlly mounted when I loggin? The options include noauto Barry -- ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.

systemd-automount

2025-05-30 Thread François Patte
Bonjour, I added in /etc/fstab this line: 192.168.1.16:/data /home/myself/bertuccio nfs noauto,rw,user,nofail,soft,x-systemd.automount,x-systemd.mount-timeout=30 0 0 I expected that the folder /data from 192.168.1.16 would be mounted automatically but it is not the case... it is mounted onl

Re: systemd automount

2021-01-01 Thread Jonathan Billings
On Jan 1, 2021, at 12:10, Jorge Fábregas wrote: > > Is there a reason why Anaconda create /etc/fstab entries on a fresh > installation of Fedora 33? > > Food for thought. Probably because OS-related mountpoints need to be in the fstab for the initrd and other related boot services. An automou

Re: systemd automount

2021-01-01 Thread Jorge Fábregas
On 1/1/21 12:52 PM, Jonathan Billings wrote: > Is there a reason why people are using fstab entries with long and > hard to read arguments instead of using .automount and .mount systemd > units? Is there a reason why Anaconda create /etc/fstab entries on a fresh installation of Fedora 33? Food fo

Re: systemd automount

2021-01-01 Thread Matthew Miller
On Fri, Jan 01, 2021 at 11:52:52AM -0500, Jonathan Billings wrote: > Is there a reason why people are using fstab entries with long and hard to > read arguments instead of using .automount and .mount systemd units? > Systemd is just dynamically generating the units from the fstab entries > every bo

Re: systemd automount

2021-01-01 Thread Jonathan Billings
On Dec 31, 2020, at 22:49, Ed Greshko wrote: > > I have no idea of the history. But, being the curious type, I just booted an > F18 live iso and > the man page for systemd.mount only specified x-systemd.device-timeout. I > have no idea > if the other options actually existed and this was just

Re: systemd automount

2021-01-01 Thread Francis . Montagnac
Hi. On Fri, 01 Jan 2021 11:48:21 +0800 Ed Greshko wrote: > On 01/01/2021 10:44, Tim via users wrote: >> francis.montag...@inria.fr: >>>> Using autofs instead of systemd-automount would have the advantage >>>> to unmount automatically after some delay. >>

Re: systemd automount

2020-12-31 Thread Ed Greshko
On 01/01/2021 10:44, Tim via users wrote: francis.montag...@inria.fr: Using autofs instead of systemd-automount would have the advantage to unmount automatically after some delay. Ed Greshko: Not true. When did that change? That's how it's behaved for me, for many years. I wen

Re: systemd automount

2020-12-31 Thread Tim via users
francis.montag...@inria.fr: >> Using autofs instead of systemd-automount would have the advantage >> to unmount automatically after some delay. Ed Greshko: > Not true. When did that change? That's how it's behaved for me, for many years. I went to using autofs to au

Re: systemd automount

2020-12-31 Thread Ed Greshko
On 01/01/2021 04:49, francis.montag...@inria.fr wrote: I admit to not have re-read the man of systemd.automount since F17 LOL! --- The key to getting good answers is to ask good questions. ___ users mailing list -- users@lists.fedoraproject.org To un

Re: systemd automount

2020-12-31 Thread Francis . Montagnac
Hi On Fri, 01 Jan 2021 03:26:07 +0800 Ed Greshko wrote: > On 01/01/2021 00:24, francis.montag...@inria.fr wrote: >> Using autofs instead of systemd-automount would have the advantage to >> unmount automatically after some delay. > Not true. > Just use something like x-sy

Re: systemd automount

2020-12-31 Thread Ed Greshko
On 01/01/2021 00:24, francis.montag...@inria.fr wrote: Using autofs instead of systemd-automount would have the advantage to unmount automatically after some delay. Not true. Just use something like x-systemd.idle-timeout=60,x-systemd.mount-timeout=30 in the fstab entry. --- The key to

Re: systemd automount

2020-12-31 Thread Francis . Montagnac
now) follow symlinks. gvfsd (the gnome virtual filesystem) used to do its mount under ~/.gfvs, but do it now under /run/user/$UID/gvfs Using autofs instead of systemd-automount would have the advantage to unmount automatically after some delay. You can

Re: systemd automount

2020-12-30 Thread Ed Greshko
On 30/12/2020 22:09, François Patte wrote: Bonjour, I configured an automount of directories located on a server on my local network: in the fstab of a computer on the network  I put the line: 192.168.1.16:/data /home/patte/data nfs noauto,rw,user,nofail,x-systemd.automount,x-systemd.mount-ti

systemd automount

2020-12-30 Thread François Patte
Bonjour, I configured an automount of directories located on a server on my local network: in the fstab of a computer on the network I put the line: 192.168.1.16:/data /home/patte/data nfs noauto,rw,user,nofail,x-systemd.automount,x-systemd.mount-timeout=30 0 0 It works. If the server is