Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Aug 2000 00:22:08 -0400
From:      "James F. Hranicky" <jfh@cise.ufl.edu>
To:        Christopher Stein <stein@eecs.harvard.edu>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: file system type 
Message-ID:  <20000825042208.E43CADCE2@mail.cise.ufl.edu>
In-Reply-To: Message from Christopher Stein <stein@eecs.harvard.edu>  of "Thu, 24 Aug 2000 14:39:10 EDT." <Pine.OSF.4.20.0008241415550.1559-100000@wally> 

next in thread | previous in thread | raw e-mail | index | archive | help
Christopher Stein <stein@eecs.harvard.edu> wrote: 
> 
> Which is the preferred way to identify the fs type?
> Some comments indicate that the vfc_typenum is deprecated,
> but for ops that require frequent identification a strcmp
> call will begin to be expensive.

Is the statfs system call what you're looking for?

----------------------------------------------------------------------
| Jim Hranicky, Senior SysAdmin                   UF/CISE Department |
| E314D CSE Building                            Phone (352) 392-1499 |
| jfh@cise.ufl.edu                      http://www.cise.ufl.edu/~jfh |
----------------------------------------------------------------------
         -  Encryption: its use by criminals is far less  - 
         - frightening than its banishment by governments -
                      - Vote for Privacy -


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-fs" in the body of the message




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