[systemd-devel] [PATCH] Re: fstab mounts get unmounted during boot (.device unit bouncing?) -- solution

Martin Pitt martin.pitt at ubuntu.com
Thu Feb 12 03:52:40 PST 2015


Martin Pitt [2015-02-12 12:40 +0100]:
> Can you please explain why?

Nevermind, I see it now. So what actually would work is to call it
with a nonexisting file, a directory, a symlink, or just about
anything else which isn't a regular file. Thus
mnt_table_parse_mtab(tb, "/") would actually work equally well and
would read utab again, but it's of course an ugly workaround..

Thanks for the IRC explanation!

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


More information about the systemd-devel mailing list