[systemd-devel] [PATCH 0/2] support stateless systems on real hardware

Tobias Hunger tobias.hunger at gmail.com
Mon Mar 23 16:52:58 PDT 2015


This patch set does add support for stateless systems on real hardware
to the fstab-generator. To do so deviceless filesystems (tmpfs) need to
be supported. At this time those get skipped.

The first patch enables this in fstab-generator. The list of deviceless
filesystems is taken from /proc/filesystems on my system, so I hope it
is complete.

The second patch just silences a warning about not checking something
that is not a device node.

With this patch set applied my test system boots past the switch to
the real root filesystem. It then fails, but I think that is a somewhat
unrelated issue due to /etc not being populated in time for dbus to
pick up its settings.

Best Regards,
Tobias

Tobias Hunger (2):
  fstab-generator: Support root on tmpfs (or other deviceless FS)
  fstab-generator: Do not check deviceless filesystems

 src/fstab-generator/fstab-generator.c | 21 +++++++++++++--------
 src/shared/generator.c                |  5 +++++
 src/shared/util.c                     | 30 ++++++++++++++++++++++++++++++
 src/shared/util.h                     |  1 +
 4 files changed, 49 insertions(+), 8 deletions(-)

-- 
2.3.3



More information about the systemd-devel mailing list