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. :) Thanks, -kc
On 9/27/05, Kenneth W Cochran <kwc@theworld.com> 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. :)I dunno about FAQs about this, but check out "/sbin/dumpfs"
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@student.uu.se