Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Dec 2008 01:04:18 +0300
From:      pluknet <pluknet@gmail.com>
To:        "Carlos A. M. dos Santos" <unixmania@gmail.com>
Cc:        hackers@freebsd.org
Subject:   Re: How to quickly determine if UFS2 FS is "clean" from command line?
Message-ID:  <a31046fc0812261404r789df982i5cc5d2ea3f5d2ed8@mail.gmail.com>
In-Reply-To: <e71790db0812260532h33b1cc2bn963048c79282c1ca@mail.gmail.com>
References:  <20081226011402.GP4100@albert.catwhisker.org> <20081226012224.2fbd579a@gluon> <20081226014956.GR4100@albert.catwhisker.org> <20081226063542.GA20518@shark.localdomain> <20081226063946.GX4100@albert.catwhisker.org> <e71790db0812260331x3c166de2u80db2f6aa7e2f8fa@mail.gmail.com> <4954DA22.5000904@gothic.net.au> <e71790db0812260532h33b1cc2bn963048c79282c1ca@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2008/12/26 Carlos A. M. dos Santos <unixmania@gmail.com>:
> On Fri, Dec 26, 2008 at 11:20 AM, Sean <sean@gothic.net.au> wrote:
>> Carlos A. M. dos Santos wrote:
>>>
>>> Be warned that file(1) resides at /usr/bin and depends on
>>> /usr/share/misc/magic*, so it may not be available in early boot
>>> stages, when /usr is not mounted yet. The following combination will
>>> suffice, and depends only on /sbin and /stand:
>>>
>>>     /sbin/ffsinfo -l 1 /usr/local | /rescue/sed -n 's/^clean *int8_t
>>> *\(.*\)/\1/p'
>>>
>>
>> Except FreeBSD hasn't had /stand for a long while, and there's no
>> /rescue/sed (at least on 6.x and 7.x). Also, /stand was only ever populated
>> on install and there's no guarantees it was ever up to date.
>
> Humm, 8.0 has /rescue/sed.
>

It's was added there over a year ago, but not in stable.

-- 
wbr,
pluknet



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a31046fc0812261404r789df982i5cc5d2ea3f5d2ed8>