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

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Mon Jan 10 20:50:25 UTC 2022


On Mon, Jan 10, 2022 at 12:15:22PM +0100, Ulrich Windl wrote:
> >>> "Manuel Wagesreither" <ManWag at FastMail.FM> schrieb am 10.01.2022 um 11:43 in
> Nachricht <759bd805-ab37-4dc9-93cd-137668acf324 at 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


More information about the systemd-devel mailing list