Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Mar 2005 08:54:27 -0600
From:      Kevin Kinsey <kdk@daleco.biz>
To:        Robert Munn <munn@umd.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: file system type
Message-ID:  <423C3D23.4090600@daleco.biz>
In-Reply-To: <423C36ED.4060207@umd.edu>
References:  <423C36ED.4060207@umd.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Robert Munn wrote:

> Is there any way of detecting the type of file system on a disk,  
> specifically UFS2 or UFS1?
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?423C3D23.4090600>