[systemd-devel] Get rid of /etc/fstab

Andrey Borzenkov arvidjaar at gmail.com
Sat Feb 2 11:39:45 PST 2013


В Sat, 2 Feb 2013 15:24:44 +0100
Sébastien Luttringer <seblu at seblu.net> пишет:

> Hello,
> 
> Looking forward to mount custom partitions I decided to use unit.mount
> files to define my new fs. Everything works perfectly, so I tried to
> do the same with all my mounted filesystems and removing /etc/fstab.
> 
> But unfortunatly, creating a -.mount file in
> /etc/systemd/system/local-fs.target.wants not work as I expected. I
> guess it's because generated file /run/systemd/generator/-.mount take
> precedence.
> 
> Is there any way of removing old fstab to full unit configuration?
> 

One immediate question - do you use initrd? Does mkinitrd (or whatever
is used by your distro) still correctly recognize root mount options in
this case?

> Have a nice FOSDEM,
> 
> Cheers,
> 



More information about the systemd-devel mailing list