Systemd and fstab
kay.sievers at vrfy.org
Wed Dec 14 13:20:34 UTC 2011
On Wed, Dec 14, 2011 at 14:01, Lennart Poettering <mzerqung at 0pointer.de> wrote:
> On Wed, 14.12.11 12:25, Andrew Price (anprice at redhat.com) wrote:
>> From the systemd.mount(5) man page:
>> "Mount units may either be configured via unit files, or via /etc/fstab"
>> This makes me wonder - to what extent will systemd replace fstab in
>> future Fedoras? Will fstab disappear in favour of systemd mount
> I see no reason why we should drop fstab. I only see reasons against
> dropping it, for example in the fact that glibc kinda hardcodes its
> existance in the setmntent() API.
> There are a couple of things you can do if you configure a mount unit
> via systemd, instead of fstab, which you can't do with fstab (for
> example, defining manual dependencies), which is why we added support
> for that, but thtat doesn't mean it's supposed to replace fstab.
Might be worth noting, that today fstab should only contain 'real
system mounts'. No virtual filesystem should be added by default to
fstab, they all are managed by systemd natively or with additional
And yeah, it's very unlikely that fstab will go away anytime soon, we
surely don't aim for that at the moment.
More information about the devel