file system type
kdk at daleco.biz
Sat Mar 19 06:54:34 PST 2005
Robert Munn wrote:
> Is there any way of detecting the type of file system on a disk,
> specifically UFS2 or UFS1?
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
You mean as an operator, or as a programmer?
Obviously, as an operator, mount(8) gives you this information
after a brief visual parsing.
I'm not a C programmer, but a quick lookup with apropos(1)
yields the following:
getvfsbyname(3) - get information about a file system
More information about the freebsd-questions