void-runit icon indicating copy to clipboard operation
void-runit copied to clipboard

filesystems: include more remote fs types, pass them to fsck

Open CameronNemo opened this issue 5 years ago • 5 comments

CameronNemo avatar Oct 03 '18 04:10 CameronNemo

Can't many of these also be local filesystems?

Vaelatern avatar Oct 03 '18 16:10 Vaelatern

And I don't like the change to fsck -- why?

Vaelatern avatar Oct 03 '18 16:10 Vaelatern

Which ones could be local filesystems? I'm not sure how GlusterFS, or Ceph, could be available that early in the boot sequence. The list was gathered from systemd source code, mountall (Upstart mount helper) source code, and Debian init scripts.

As for the fsck change: I thought it would be best if the fsck and mount commands operate on the same mountpoints and with the same information. Anything less might produce inconsistent results. Is a fsck even useful for remote filesystems?

CameronNemo avatar Oct 03 '18 16:10 CameronNemo

If gluster is started in the ramdisk for some reason, it could very well be running at that point.

Vaelatern avatar Oct 03 '18 19:10 Vaelatern

From what I have seen while digging through dracut, they fsck themselves before mounting anything (typically / or maybe /usr).

CameronNemo avatar Jan 02 '19 00:01 CameronNemo