Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #195852

Re: setting up a drive automount in systemd?

From Mark Fletcher <mark27q1@gmail.com>
Newsgroups linux.debian.user
Subject Re: setting up a drive automount in systemd?
Date 2018-05-18 01:40 +0200
Message-ID <vQAF3-3Dv-1@gated-at.bofh.it> (permalink)
References <vQ7MJ-3wk-3@gated-at.bofh.it> <vQ9Ye-4XA-11@gated-at.bofh.it> <vQahA-53T-13@gated-at.bofh.it> <vQaAW-5at-11@gated-at.bofh.it> <vQoNB-51H-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, May 17, 2018 at 11:36:01AM +0100, Darac Marjal wrote:

> However, before you go doing that, consider that systemd ALSO comes with a
> program called "systemd-fstab-generator". Contrary to its name, this
> generates unit files FROM an fstab (rather than generating an fstab).
> Therefore, following the Principle of Least Surprise, the current thinking
> is to continue to maintain your mountpoints in /etc/fstab and let systemd do
> the translation on the fly.
> 
> In summary, then, while you CAN run systemd without /etc/fstab, that file is
> still recommnded as the expected configuration file for mountpoints.
> 

That has the ring of good advice. Especially since there could easily be 
other programs on your system that expect to find information about the 
mountpoints on the system by looking in fstab -- it's a file on the 
system, it's a long-standing standard, people are allowed to look at it 
and it's not unreasonable to imagine some piece of software will.

Mark

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

setting up a drive automount in systemd? dep <dep@drippingwithirony.com> - 2018-05-16 18:50 +0200
  Re: setting up a drive automount in systemd? Joe <joe@jretrading.com> - 2018-05-16 21:00 +0200
    Re: setting up a drive automount in systemd? dep <dep@drippingwithirony.com> - 2018-05-16 21:10 +0200
  Re: setting up a drive automount in systemd? john doe <johndoe65534@mail.com> - 2018-05-16 21:10 +0200
    Re: setting up a drive automount in systemd? dep <dep@drippingwithirony.com> - 2018-05-16 21:30 +0200
      Re: setting up a drive automount in systemd? john doe <johndoe65534@mail.com> - 2018-05-16 21:50 +0200
        Re: setting up a drive automount in systemd? Darac Marjal <mailinglist@darac.org.uk> - 2018-05-17 13:00 +0200
          Re: setting up a drive automount in systemd? Mark Fletcher <mark27q1@gmail.com> - 2018-05-18 01:40 +0200

csiph-web