file system type
Kevin Kinsey
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
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> 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
HTH,
Kevin Kinsey
More information about the freebsd-questions
mailing list