01-25-2010
Guys, on output from /etc/vfstab you can see that this server is using Veritas file system.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello everyone I am new to unix. I would like to install solaris or freebsd on my pc. I have found zip files to download at the sun.com website. From there on out, I am stumped.
I want to download to OS file, put it on a CD and install the OS from the CD.
Is there a step by step guide out... (2 Replies)
Discussion started by: astro
2 Replies
2. Solaris
I want to install solaris 10
Hello everyone I am new to unix. I would like to install solaris on my pc. I have found zip files to download at the sun.com website. From there on out, I am stumped.
I want to download to a IOS file, put it on a CD and install the OS from the CD.
Is there a step by... (1 Reply)
Discussion started by: astro
1 Replies
3. Solaris
Hi everyone, i been trying to get my hands on a sun microsystem computer for a very long time, but for some reason i end up with microsucks, sorry, microsoft, well to the point.
Finally i bought a sunblade 100 with no OS, i download the Solaris 10 .iso files and burn them into cd-r, sytem =... (10 Replies)
Discussion started by: deamon
10 Replies
4. Solaris
All -
do any one know the procedure or document of install Solaris 8 on the new server?
I would like to have one to reference during install OS.
Thanks :confused: (1 Reply)
Discussion started by: March_2007
1 Replies
5. Solaris
Hello everyone,
Background:
I'm having an issue with booting a clone of hard drive with Solaris 8 installation.
For cloning process I have used g4l, running under click'n'clone option. As far as I know the actual operation ran behind g4l's interface was dd, though I do not have any information... (12 Replies)
Discussion started by: johnny994
12 Replies
6. Solaris
I am trying to build a Sun Ultra 10 with solaris 10. This computer is one of a collection that was donated to the non-profic company I work for. All media was wiped before I recieved them, so I am starting from stratch.
I downloaded the Solaris 10 ISO and burned a DVD. The computer came with a... (4 Replies)
Discussion started by: gwillhight
4 Replies
7. Solaris
Hi,
I am a beginner user for Solaris
i have downloaded Oracle Solaris 11.2 Live Media USB (x86) (V46249-01)
from the web site
I have tried many ways to install it as secondary OS to learn how to use it
But , i could not
please any one can help me and show how to install it using a... (5 Replies)
Discussion started by: atm3010
5 Replies
8. Solaris
Dear All:
I am trying to install JRE 1.6 on Solaris 7. But it's failed.
error message:
ld.so.1 symbo1 __1cH__Climpkcplus_init6F_v_: referenced symbol not found (2 Replies)
Discussion started by: jaychen
2 Replies
9. Solaris
I want to migrate a solaris 10 os to solaris 11.4 zone.
I did this
a)Collect some data like id sysid,disks,ip,etc..on solaris10
OK
b)Create this file.cfg with this command on solaris 10
zonep2vchk -c > /migration/sol10.cfg
OK
c)Create the archive flash on Solaris10 (1 Reply)
Discussion started by: Linusolaradm1
1 Replies
LEARN ABOUT SUNOS
getvfsany
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)