[systemd-devel] Patches to use -.mount without /etc/fstab

Karel Zak kzak at redhat.com
Tue Oct 1 06:26:38 PDT 2013


On Tue, Oct 01, 2013 at 04:15:16AM +0200, Lennart Poettering wrote:
> On Tue, 24.09.13 13:53, Kelly Anderson (kelly at xilka.com) wrote:
> 
> > Hello,
> > 
> > If I'm not mistaken, the intent way back in the early stages of systemd was to 
> > eliminate /etc/fstab and use .mount files exclusively.  Since it was never 
> > fully implemented I took the prerogative to make it work on my systems.
> > I've been using the setup for quite some time and it works without
> > problem.
> 
> So, I am not really convinced that we really want to get rid of /etc/fstab...

 +1 ;-)

> > 2.  If /etc/fstab is missing, systemd must create a valid fstab (in this case 
> > /run/fstab) so that fsck runs properly.
> 
> Not following on this one really... If fsck fails if it doesn't find any
> fstab, then this is really something to fix in util-linux I am sure. It

 I didn't tests it, but according to code fsck prints warning only and
 continue as usually.

    Karel

-- 
 Karel Zak  <kzak at redhat.com>
 http://karelzak.blogspot.com


More information about the systemd-devel mailing list