10-26-2012
It is /etc/vfstab, isn't it?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi friends,
In my case, there are serveral PCs running Linux in a LAN.
I would like to to mount the directory /A_river of machine-A to the file system of another machine machine-B so that I can access files in that directory.
I do not know how to do this. The situation is complicated by... (2 Replies)
Discussion started by: cy163
2 Replies
2. Solaris
Hello All
Well i m using sun fire and I want to view file system on each disc mount then what will be the commands?...like i want to get each disc like c0t0d0s0 and others and i want to see directories and files distributed on each discs....
with heartiest greetings
nilanjan (7 Replies)
Discussion started by: ailnilanjan
7 Replies
3. Solaris
Hello,
I'm having troubles with sharing a filesystem across 2 machines...
Machine A, running Solaris 10, is sharian via NFS the filesystem /sp.
Machine B, running Solaris 10, is mounting /sp shared by A in /tm/sp and shares via NFS the /tm folder.
Machine C, running HP-UX, is mounting... (4 Replies)
Discussion started by: mirciulicai
4 Replies
4. UNIX and Linux Applications
There is a file system in server1 which is mounted on different file system on server2.
Filesystem kbytes used avail capacity Mounted on
server1:/users/user1
7047581 5994192 982914 86% /u01
/data/datafiles/user1
The data in... (1 Reply)
Discussion started by: vamshikrishnab
1 Replies
5. HP-UX
Hi all
I wonder if its possible to mount on a hp-ux server a file system that was previously mounted on a solaris 10 server. The LUN is on NetApp stoarge.
The problem on hp-ux I cannot do pvcreate on the lun (disk) because contains data.
Any help will be appreciated
FR (2 Replies)
Discussion started by: fretagi
2 Replies
6. HP-UX
Hello,
We just got a rx4640 that is running on:
HP-UX B.11.31 U ia64 2426088954 unlimited-user license
There is a plenty of space in it and we would like to use it for storage. I can access with ftp and place the files in there but i need to mount the file system in every PC that is running... (7 Replies)
Discussion started by: gjk
7 Replies
7. AIX
Hi ,
We i try to mount aix filesystem i am getting the following error
mount: 0506-324 Cannot mount /dev/fslv11 on /testdir: A system call received a parameter that is not valid.
Please help me out (2 Replies)
Discussion started by: chidori
2 Replies
8. HP-UX
Hi Folks,
Could anyone please assist me with the what could be the scenarios to test the file system mount/umount performance check in HPUX.
Thanks in advance,
Vaishey (5 Replies)
Discussion started by: Vaishey
5 Replies
9. Red Hat
Hi
I have the following difficulty:
the NetApp admin has clone one file system from one red hatserver and presented this cloned LUN into another redhat server.
I can see the LUN as:
fdisk -l
Disk /dev/sda: 64.4 GB, 64424509440 bytes
255 heads, 63 sectors/track, 7832 cylinders
Units =... (1 Reply)
Discussion started by: fretagi
1 Replies
LEARN ABOUT OSX
getvfsent
getvfsent(3C) Standard C Library Functions getvfsent(3C)
NAME
getvfsent, getvfsfile, getvfsspec, getvfsany - get vfstab file entry
SYNOPSIS
#include <stdio.h>
#include <sys/vfstab.h>
int getvfsent(FILE *fp, struct vfstab *vp);
int getvfsfile(FILE *fp, struct vfstab *vp, char *file);
int getvfsspec(FILE *, struct vfstab *vp, char *spec);
int getvfsany(FILE *, struct vfstab *vp, struct vfstab *vref);
DESCRIPTION
The getvfsent(), getvfsfile(), getvfsspec(), and getvfsany() functions each fill in the structure pointed to by vp with the broken-out
fields of a line in the /etc/vfstab file. Each line in the file contains a vfstab structure, declared in the <sys/vfstab.h> header, whose
following members are described on the vfstab(4) manual page:
char *vfs_special;
char *vfs_fsckdev;
char *vfs_mountp;
char *vfs_fstype;
char *vfs_fsckpass;
char *vfs_automnt;
char *vfs_mntopts;
The getvfsent() function returns a pointer to the next vfstab structure in the file; so successive calls can be used to search the entire
file.
The getvfsfile() function searches the file referenced by fp until a mount point matching file is found and fills vp with the fields from
the line in the file.
The getvfsspec() function searches the file referenced by fp until a special device matching spec is found and fills vp with the fields
from the line in the file. The spec argument will try to match on device type (block or character special) and major and minor device num-
bers. If it cannot match in this manner, then it compares the strings.
The getvfsany() function searches the file referenced by fp until a match is found between a line in the file and vref. A match occurrs if
all non-null entries in vref match the corresponding fields in the file.
Note that these functions do not open, close, or rewind the file.
RETURN VALUES
If the next entry is successfully read by getvfsent() or a match is found with getvfsfile(), getvfsspec(), or getvfsany(), 0 is returned.
If an end-of-file is encountered on reading, these functions return -1. If an error is encountered, a value greater than 0 is returned. The
possible error values are:
VFS_TOOLONG A line in the file exceeded the internal buffer size of VFS_LINE_MAX.
VFS_TOOMANY A line in the file contains too many fields.
VFS_TOOFEW A line in the file contains too few fields.
FILES
/etc/vfstab
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO
vfstab(4), attributes(5)
NOTES
The members of the vfstab structure point to information contained in a static area, so it must be copied if it is to be saved.
SunOS 5.10 12 Mar 1997 getvfsent(3C)