Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Aug 2000 14:39:10 -0400 (EDT)
From:      Christopher Stein <stein@eecs.harvard.edu>
To:        freebsd-fs@freebsd.org
Subject:   file system type
Message-ID:  <Pine.OSF.4.20.0008241415550.1559-100000@wally>

next in thread | raw e-mail | index | archive | help

Hi,

It seems to me there are 2 ways to discover the file system
type from the mount structure.

Both involve accessing the vfsconf substructure (mp->mnt_vfc).

The first is a numeric identifier mp->mnt_vfc->vfc_typenum
and the second is a string vfc_name, also in vfsconf.

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.

-Chris




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?Pine.OSF.4.20.0008241415550.1559-100000>