NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Check if file system is clean



Hi,

On Mon Sep 15, 2025 at 1:36 PM CEST, Benny Siegert wrote:
> Hi!
>
> I would like to run a command to check if a file system is clean, 
> WITHOUT also running fsck on it. Is there a way to do this?

Interesting question... maybe fsdump?

```
northstar# dumpfs /dev/ccd0a  | grep clean
cgrotor 0       fmod    0       ronly   0       clean   0x02
```

The unfiltered output is pretty verbose, also needs good
understanding of the meaning of the fields...

Best regards
Matthias


Home | Main Index | Thread Index | Old Index