tool for detecting filesystem?

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Tue Jan 27 11:04:05 PST 2009


> Later, in a different city, I played it on my MacBook.  It was a slideshow
> with music that had been created using a Roxio product.  I did a right-click
> on the CD's icon and selected "Get Info", where I learned that the CD was
> formatted for UDF.
>
> What would have been the best/easiest way to determine the filesystem
> present on a CD or hard drive partition from within FreeBSD?

[root at wojtek ~]# file -s /dev/ad0a
/dev/ad0a: Unix Fast File system [v2] (little-endian) last mounted on 
/mnt3, last written at Tue Dec 30 00:29:21 2008, clean flag 1, readonly 
flag 0, number of blocks 49992, number of data blocks 49439, number of 
cylinder groups 4, block size 8192, fragment size 1024, average file size 
16384, average number of files in dir 64, pending blocks to free 0, 
pending inodes to free 0, system-wide uuid 0, minimum percentage of free 
blocks 0, SPACE optimization



More information about the freebsd-questions mailing list