NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Check if file system is clean
On Mon, Sep 15, 2025 at 1:58 PM Jose Luis Rodriguez Garcia
<joseyluis%gmail.com@localhost> wrote:
>
> You can check if it was unmounted cleanly the filesystem: with dumpfs
> and looking for the flag clean.
Thanks, that's exactly what I was looking for!
> But if you want to check if it is clean or consistent you must do a fsck.
I know. What I want to do is this: my CI machines have a "scratch"
file system used for temporary files. After a crash, the FS is usually
corrupted, so I just run newfs during boot. However, on a clean
shutdown, I should be able to skip newfs.
--
Benny
Home |
Main Index |
Thread Index |
Old Index