UFS2 vs UFS1 determination

Erik Trulsson ertr1013 at student.uu.se
Tue Sep 27 13:06:09 PDT 2005


On Tue, Sep 27, 2005 at 03:37:42PM -0400, Kenneth W Cochran wrote:
> Hello -stable:
> 
> How can I determine a filesystem's type in FreeBSD?
> More specifically, how can I determine whether a filesystem is UFS1
> or UFS2 (assuming, of course, that UFS2 is supported by the OS)?
> FAQ/doc/RTFM pointers are welcome.  :)

Run dumpfs(8) on the filesystem and look at the first line of the output.


-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013 at student.uu.se


More information about the freebsd-stable mailing list