Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

vfs(9) [debian man page]

VFS(9)							   BSD Kernel Developer's Manual						    VFS(9)

NAME
VFS -- kernel interface to file systems DESCRIPTION
Calls used to set or query file systems for settings or information. File systems that do not implement a VFS operation should use the appropriate vfs_std function from src/sys/kern/vfs_default.c rather than implementing empty functions or casting to eopnotsupp. SEE ALSO
VFS_CHECKEXP(9), VFS_FHTOVP(9), VFS_INIT(9), VFS_MOUNT(9), VFS_QUOTACTL(9), VFS_STATFS(9), VFS_SYNC(9), VFS_UNMOUNT(9), VFS_VGET(9), VOP_VPTOFH(9), vnode(9) AUTHORS
This manual page was written by Doug Rabson. BSD
January 4, 2010 BSD

Check Out this Related Man Page

VFS_FHTOVP(9)						   BSD Kernel Developer's Manual					     VFS_FHTOVP(9)

NAME
VFS_FHTOVP -- turn an NFS filehandle into a vnode SYNOPSIS
#include <sys/param.h> #include <sys/mount.h> #include <sys/vnode.h> int VFS_FHTOVP(struct mount *mp, struct fid *fhp, struct vnode **vpp); DESCRIPTION
The VFS_FHTOVP() macro is used by the NFS server to turn an NFS filehandle into a vnode. The arguments it expects are: mp The file system. fhp The filehandle to convert. vpp Return parameter for the new locked vnode. The contents of the filehandle are defined by the file system and are not examined by any other part of the system. It should contain enough information to uniquely identify a file within the file system as well as noticing when a file has been removed and the file system resources have been reused for a new file. For instance, UFS file system stores the inode number and inode generation counter in its filehandle. A call to VFS_FHTOVP() should generally be preceded by a call to VFS_CHECKEXP(9) to check if the file is accessible to the client. RETURN VALUES
The locked vnode for the file will be returned in *vpp. SEE ALSO
VFS(9), VFS_CHECKEXP(9), VOP_VPTOFH(9), vnode(9) AUTHORS
This manual page was written by Doug Rabson. BSD
January 4, 2010 BSD
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Booting in read-only

I just got a couple of Solaris boxes (real old, but free) and one of them is booting and says it is in read only mode. I ran fsck but with no change is there some option on fsck I need to use or what could this be? Thanks for any help (6 Replies)
Discussion started by: jwbrown
6 Replies

2. UNIX for Dummies Questions & Answers

creating swap space under Solaris 2.6

I just finished installing Solaris 2.6 and several applications just to realize that I made a bonehead mistake during the install. When setting up the filesystems, I entered /tmp and no swap! Is it possible to permanantly declare the entire /tmp partition as swap? I am guessing an entry in the... (4 Replies)
Discussion started by: 98_1LE
4 Replies

3. UNIX for Dummies Questions & Answers

AdvFS Filesets

I created an AdvFS fileset which consisted of 3 volumes. Well one of the disks has failed and I was wondering how I should handle this. I want to try to recover the data on the other two disks, but I'm not sure if this is even possible. Any suggestions? (4 Replies)
Discussion started by: Moca4444
4 Replies

4. Solaris

mounting file system /etc/vfstab

Hello. When I use format command - It shows: /dev/dsk/c0d0s4 is normally mounted on /u02 according to /etc/vfstab. Please remove this entry to use this device. What does it mean? (4 Replies)
Discussion started by: panchpan
4 Replies

5. Solaris

how to edit /etc/vfstab

I created a file system earth in /earthpool (zpool). I mounted the file system on a directory /earth. But, when I reboot my machine it doesn't load the file systems and the zpool and zfs shows no pools available and no datasets respectively. I am using Solaris 10 running on X4500. Could you... (5 Replies)
Discussion started by: bharu_sri
5 Replies

6. Solaris

T2000 - devfsadm problem

Hi everyone, I am having a problem when running devfsadm. We have many T2000, but on one of them, that is connected to our SAN, devfsadm reports no new disks. If a reconfiguration reboot is done, the system reports the new disk. But only with a reboot. We have Solaris10 installed and Veritas... (13 Replies)
Discussion started by: jfotop
13 Replies

7. Solaris

How can i edit /etc/vfstab in single user mode

Hi Experts /etc/vfstab is corrupted as while editing it i forgot to comment some of the line. how can i edit the file in single in user mod? also, i have some problem in CD drive , so i cant boot it from CD and do the changes. i tried mounding the root file system as rw, however no... (10 Replies)
Discussion started by: kumarmani
10 Replies

8. Solaris

Help changing /etc/vfstab - can't boot

I have Solaris 10 Express that I installed on a PC with two drives. It was on drive 1 (with the boot drive being drive 0). Linux was in a different parition and my boot options where managed by grub. The Solaris parition's /etc/vfstab referenced the root, user, etc.. disks as c0d1sX. But... (6 Replies)
Discussion started by: lyonsd
6 Replies

9. Shell Programming and Scripting

Using sed to comment out line in /etc/vfstab

I am running a script remotely to do the following 1. Kill all processes by a user 2. Uninstall certain packages 3. FTP over a new file 4. Kill a ldap process that is not allowing my /devdsk/c0t0d0s7 slice to un-mount 5. Unmount /h 6. comment out the slice in vfstab 7. newfs the... (9 Replies)
Discussion started by: deaconf19
9 Replies

10. Solaris

Unknown fstype?

Dear all I have formatted/labeled/partitioned my new disk but when trying to mount it is returning 'unknown fstype' .Can you please let me know how to solve this problem? Thank you (37 Replies)
Discussion started by: hadimotamedi
37 Replies

11. Solaris

fsck entire hard drive?

ho do you check filesystem on entire hard disk? (9 Replies)
Discussion started by: orange47
9 Replies

12. Solaris

what is the difference between /etc/mnttab and /etc/vfstab

what is the difference between /etc/mnttab and /etc/vfstab???? what are these files used for one time i removed mnttab file from my solaris box. infact i renamed it and my solaris box was not booting properly. (12 Replies)
Discussion started by: chidori
12 Replies

13. Solaris

Specifying file system mount order

Does anyone know if it's possible to specify the mount order of local and remote file systems? I'd like to mount a local ZFS file system on top of an NFS mount automatically and have that repeated on every reboot. I've checked man pages and Google, but can't find anything that addresses,... (6 Replies)
Discussion started by: Monty51
6 Replies

14. Solaris

Sun Fire 480 - devfsadm -C not working after replacing one of the boot disks

Our SunFire 480 - one of the boot disks failed. It is mirrored with VxVm. I followed the exact steps that is detailed in the veritas and sun guides (I can not post the URL since I don't have 5 posts yet.) After removing the failed disk, I ran devfsadm -C -c disk and it still shows the device... (7 Replies)
Discussion started by: jtamminen
7 Replies

15. Solaris

Understanding fsck pass in /etc/vfstab

hi all, On reading the docs, on fsck pass in /etc/vfstab -> q1) how do we specify the to run the fsck in preen mode ( -o p ) inside /etc/vfstab ? q2) if this parameter is use to determine whether fsck on the mount point / raw device is needed during boot time, how does the system bootup... (5 Replies)
Discussion started by: javanoob
5 Replies