[systemd-devel] systemd-fsck-root semantics

Andrey Borzenkov arvidjaar at gmail.com
Wed Jul 2 19:19:59 PDT 2014


В Wed, 2 Jul 2014 12:33:01 -0600
Chris Murphy <lists at colorremedies.com> пишет:

> 
> On Jul 2, 2014, at 5:39 AM, Daniel Drake <drake at endlessm.com> wrote:
> 
> > Hi,
> > 
> > I'm trying to understand dracut/systemd fsck behaviour, in the context
> > of an ext4 filesystem root mounted read-only from dracut, remaining
> > read-only even when the system is fully booted (kiosk-style).
> > 
> > I see that systemd's fstab-generator rightly creates a mount unit for
> > /sysroot from the initramfs, and causes e2fsck to be run on it from
> > inside the dracut initramfs, before it is mounted. So far so good.
> 
> It's not wrong, but it seems unnecessary to fsck an ro file system. How is it becoming inconsistent if it's read only?
> 

How do you know it was not mounted rw last time?


More information about the systemd-devel mailing list