Can I easily force fsck on separate sysv ext4 /home ?
"Ken Moffat" ([email protected] via lfs-support Mailing List) <[email protected]> Sat, 12 Apr 2025 09:32:45 +0100
| Newsgroups | gmane.linux.lfs.support |
|---|---|
| Message-ID | <[email protected]> |
Just finished building LFS and my idea of minimal BLFS (nfs, git,
yadda, yadda) for a desktop system. Something among the (desktop)
BLFS packages keeps /dev mounted which prevents me cleanly
unmounting. Seen that in a native build, in that case there seemed
to be a lot of damage to the new filesystem (/etc, /var).
On this occasion I'm fairly sure the new system (for a different
machine) is ok, but /home (nvme0n1p2) got shared (my problem). When
I mounted the new system at /mnt/lfs it reported it was replaying
the journal for nvme0n1p2, then discarded orphaned inodes.
But, trying to be cautious, I'd like to do a forced fsck of it.
The current rootfs was fsck'd during boot, but I cannot see any
obvious way to force fsck for other filesystems before mounting them
? And I'm not sure that even the rootfs had a full fsck -f.
For those who don't read the title, this is sysvinit (and approx
LFS-12.3).
ĸen
--
War is Peace
Freedom is Slavery
Ignorance is Strength
--
http://lists.linuxfromscratch.org/sympa/info/lfs-support
Unsubscribe: See the above information page