Subject: Re: in-kernel update(8) and fsck root partition
To: None <email@example.com>
From: Takahiro Kambe <firstname.lastname@example.org>
Date: 12/20/1999 11:13:44
This is my understanding, not by reading kernel source.
In message <email@example.com>
on Mon, 20 Dec 1999 09:56:50 +0900,
> - make sure in single user mode, no update(8) running
When the system booted in single user mode, the root filesystem mounted
as read-only. So after fsck(8), we could simply reboot.
When the system went into single user mode from multi user mode, the
root filesystem mounted as read-write. So after unmounting all file
systems (after stop accounting), re-mount the root file system
# mount -u -o ro /
And after fsck(8), we could simply reboot.
But when I enabled soft dependency in the root filesystem, I need to the
1. Go into single user mode.
2. Remount the root filesystem read-only.
3. Enable soft dependency with tunefs(8).
4. Restart the system with reboot(8) using "-n" and "-q" option.
It might not need to both "-n" and "-q" option.
Since these are my experience, something might be wrong.
Takahiro Kambe <firstname.lastname@example.org>