 | | The getvfsent function reads the next entry from the file referenced by fp, and stores the broken-out fields of the entry in the area pointed to by vfs. The getvfsfile function searches the file for an entry whose vfs_mountp field is the same as file and stores the broken-out fields of the entry in the area pointed to by vfs. The getvfsspec function searches the file for an entry whose vfs_special field is the same as spec and stores the broken-out fields of the entry in the area pointed to by vfs. The getvfsany function searches the file referenced by fp for an entry that matches the non-null fields of vfsref, and stores the broken-out fields of the entry in the area pointed to by vfs. Note that none of these functions opens, closes, or rewinds the /etc/vfstab file. | |
|