Re: [systemd-devel] Antw: [EXT] [systemd‑devel] Why is using fstab the preferred approach according to systemd.mount man page?

2022-02-07 Thread Thomas HUMMEL




On 10/01/2022 21:50, Zbigniew Jędrzejewski-Szmek wrote:


Pretty much. There isn't any big benefit to using mount units (since the
fstab syntax supports all the important use cases), and people are familiar
with fstab. More tools support it too.


Hello,

well although I'm not currently using it, I can see one :

it may be easier to configure .mount units independently (like dropping 
a config file into a .d/ directory) instead of editing one single file 
when done with tools like ansible for instance where you have to regexp 
match lines to edit or use blockinfile like strategies ?


Thanks

--
Thomas HUMMEL


Re: [systemd-devel] Antw: [EXT] [systemd‑devel] Why is using fstab the preferred approach according to systemd.mount man page?

2022-01-10 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Jan 10, 2022 at 12:15:22PM +0100, Ulrich Windl wrote:
> >>> "Manuel Wagesreither"  schrieb am 10.01.2022 um 11:43 
> >>> in
> Nachricht <759bd805-ab37-4dc9-93cd-137668acf...@www.fastmail.com>:
> > Hi all,
> > 
> > currently, the systemd.mount man page [1] claims that "In general, 
> > configuring mount points through /etc/fstab is the preferred approach". Why 
> > is that? One would assume systemd proposing use of systemd.mount units over 
> > /etc/fstab.
> 
> Because it's much easier to configure?

Pretty much. There isn't any big benefit to using mount units (since the
fstab syntax supports all the important use cases), and people are familiar
with fstab. More tools support it too.

Zbyszek


[systemd-devel] Antw: [EXT] [systemd‑devel] Why is using fstab the preferred approach according to systemd.mount man page?

2022-01-10 Thread Ulrich Windl
>>> "Manuel Wagesreither"  schrieb am 10.01.2022 um 11:43 in
Nachricht <759bd805-ab37-4dc9-93cd-137668acf...@www.fastmail.com>:
> Hi all,
> 
> currently, the systemd.mount man page [1] claims that "In general, 
> configuring mount points through /etc/fstab is the preferred approach". Why 
> is that? One would assume systemd proposing use of systemd.mount units over 
> /etc/fstab.

Because it's much easier to configure?

> 
> [1] 
> https://www.freedesktop.org/software/systemd/man/systemd.mount.html#fstab 
> 
> Regards, Manuel