Searched refs:vfstab (Results 1 - 25 of 63) sorted by relevance

123

/illumos-gate/usr/src/cmd/initpkg/
H A Dvfstab.sh43 ">vfstab
H A DMakefile26 SHFILES= dfstab vfstab
41 ETCTABS= vfstab inittab nscd.conf security/crypt.conf
58 $(ROOTETC)/vfstab := FILEMODE = 0644
H A DrcS.sh56 vfstab=/etc/vfstab
H A Dswapadd.sh34 # so that normal swap use, such as specified in /etc/vfstab, will not cause
41 VFSTAB=/etc/vfstab # Default file system table
/illumos-gate/usr/src/uts/common/sys/
H A Dvfstab.h36 #define VFSTAB "/etc/vfstab"
58 struct vfstab { struct
68 extern int getvfsent(FILE *, struct vfstab *);
69 extern int getvfsspec(FILE *, struct vfstab *, char *);
70 extern int getvfsfile(FILE *, struct vfstab *, char *);
71 extern int getvfsany(FILE *, struct vfstab *, struct vfstab *);
/illumos-gate/usr/src/cmd/stmsboot/
H A Dmpxio-upgrade87 exec < $vfstab; readvfstab /
89 # in their /etc/vfstab.
91 # sanity check for ZFSRoot _and_ / in /etc/vfstab
96 cecho "stmsboot: System has ZFS Root *and* an entry for / in /etc/vfstab\nstmsboot: Please remove the / entry from /etc/vfstab and then run\n# svcadm clear mpxio-upgrade"
162 exec < $vfstab; readvfstab "/usr"
324 # update /etc/vfstab to reflect device name changes
327 $CP /etc/vfstab /etc/vfstab.old
332 ROOTDEVCHK=`grep $ISROOTDEV /etc/vfstab`
[all...]
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_lib_prv.c34 #include <sys/vfstab.h>
/illumos-gate/usr/src/cmd/svc/milestone/
H A Dfs-usr42 readswapdev $DUMPADM_DEVICE < $vfstab
89 readvfstab / < $vfstab
113 readvfstab /usr < $vfstab
144 readvfstab /usr/platform < $vfstab
153 readvfstab /dev/fd < $vfstab
H A Dfs-root76 readvfstab "/usr" < $vfstab
146 # disk. So what's in vfstab is fine as it stands; just look to see
149 readvfstab "/boot" < $vfstab
/illumos-gate/usr/src/cmd/svc/shell/
H A Dfs_include.sh32 vfstab=${vfstab:=/etc/vfstab}
38 # A vfstab-like input stream is scanned for the mount point specified
39 # as $1. Returns the fields of vfstab in the following shell
52 # stdin is already set /etc/vfstab (or other appropriate input
218 # separated list gotten from vfstab.
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dfs_mount_defaults.c30 * Traverses /etc/vfstab in order to find default mount information about
36 #include <sys/vfstab.h>
59 static fs_mntdefaults_t *create_mntdefaults_entry(struct vfstab vfstab_entry,
61 static struct vfstab *create_vfstab_filter(fs_mntdefaults_t *filter,
63 static void free_vfstab_entry(struct vfstab *vfstab_entry);
64 static char *create_vfstab_entry_line(struct vfstab *, int *);
65 static int vfstab_line_cmp(fs_mntdefaults_t *, struct vfstab *);
107 struct vfstab vfstab_entry;
108 struct vfstab *search_entry;
170 struct vfstab vfstab_entr
[all...]
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpusg.h43 #include <sys/vfstab.h>
50 #include <sys/vfstab.h>
/illumos-gate/usr/src/cmd/fs.d/ufs/quotaon/
H A Dquotaon.c66 #include <sys/vfstab.h>
91 struct vfstab vfsbuf;
94 FILE *mtab, *vfstab, *tmp; local
154 * If aflag go through vfstab and make a list of appropriate
162 vfstab = fopen(VFSTAB, "r");
163 if (vfstab == NULL) {
169 while ((status = getvfsent(vfstab, &vfsbuf)) == NULL) {
193 fclose(vfstab);
329 hasvfsopt(struct vfstab *vfs, char *opt)
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_add/
H A Dzpool_add.kshlib35 # Find the storage device in /etc/vfstab
39 typeset vfstab="/etc/vfstab"
40 typeset tmpfile="/tmp/vfstab.tmp"
45 cat $vfstab | grep "^/dev/dsk" >$tmpfile
/illumos-gate/usr/src/cmd/fs.d/
H A Dvolcopy.c37 #include <sys/vfstab.h>
58 char vfstab[] = VFSTAB; variable
69 struct vfstab vget, vref;
191 if ((fd = fopen(vfstab, "r")) == NULL)
192 perr("volcopy: cannot open %s.\n", vfstab);
214 perr("volcopy: line in vfstab exceeds "
218 perr("volcopy: line in vfstab has too few entries\n");
221 perr("volcopy: line in vfstab has too many entries\n");
H A Dff.c38 #include <sys/vfstab.h>
53 char vfstab[] = VFSTAB; variable
80 struct vfstab vfsbuf;
108 fprintf(stderr, "%s: cannot open vfstab\n",
185 fprintf(stderr, "%s: cannot open vfstab\n", cbasename);
270 * This looks up the /etc/vfstab entry given the device 'special'.
282 struct vfstab vget, vref;
284 if ((fd = fopen(vfstab, "r")) == NULL) {
285 fprintf(stderr, "%s: cannot open vfstab\n", cbasename);
307 fprintf(stderr, "%s: line in vfstab exceed
[all...]
H A Dfsck.c37 #include <sys/vfstab.h>
83 char vfstab[] = VFSTAB; variable
90 * help speed vfstab lookups.
103 * private copy vfstab functions
105 static struct vfstab vfsave = {NULL, NULL, NULL, NULL, NULL, NULL, NULL};
117 vfdup(struct vfstab *vp)
194 mygetvfsent(FILE *fp, struct vfstab *vp)
204 mygetvfsany(FILE *fp, struct vfstab *vp, struct vfstab *vrefp)
221 struct vfstab vge
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetvfsent.c36 #include <sys/vfstab.h>
69 getvfsspec(FILE *fd, struct vfstab *vgetp, char *special)
99 getvfsfile(FILE *fd, struct vfstab *vp, char *mountp)
101 struct vfstab vv;
109 getvfsany(FILE *fd, struct vfstab *vgetp, struct vfstab *vrefp)
169 getvfsent(FILE *fd, struct vfstab *vp)
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/
H A Dmain.c47 #include <sys/vfstab.h>
291 struct vfstab vfsbuf;
292 FILE *vfstab; local
316 * Determine if this is the root file system via vfstab. Give up
323 if ((vfstab = fopen(VFSTAB, "r")) != 0) {
324 if (getvfsfile(vfstab, &vfsbuf, "/") == 0) {
333 if (getvfsfile(vfstab, &vfsbuf, "/usr") == 0) {
391 hasvfsopt(struct vfstab *vfs, char *opt)
H A Dutilities.c47 #include <sys/vfstab.h>
57 extern char *hasvfsopt(struct vfstab *, char *);
549 * Check to see if name corresponds to an entry in vfstab, and that the entry
556 struct vfstab vfsbuf;
557 FILE *vfstab; local
560 vfstab = fopen(VFSTAB, "r");
561 if (vfstab == NULL) {
566 if ((getvfsspec(vfstab, &vfsbuf, blkname) == 0) &&
572 (void) fclose(vfstab);
/illumos-gate/usr/src/test/zfs-tests/tests/functional/zvol/zvol_swap/
H A Dzvol_swap_003_pos.ksh39 # through /etc/vfstab configuration.
42 # 1. Modify /etc/vfstab to add the test zvol as swap device.
43 # 2. Use /sbin/swapadd to add zvol as swap device throuth /etc/vfstab
66 "through /etc/vfstab configuration."
71 VFSTAB_FILE=/etc/vfstab
77 awk '{if ($4 != "swap") print $1}' /etc/vfstab > $NEW_VFSTAB_FILE
80 # Copy off the original vfstab, and run swapadd on the newly constructed one.
96 log_pass "Successfully added a zvol to swap area through /etc/vfstab."
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dinuse_fs.c37 #include <sys/vfstab.h>
71 static int add_use_record(struct vfstab *vp);
118 * Second heuristic used is the check for an entry in vfstab
285 struct vfstab vp;
290 (void) memset(&vp, 0, sizeof (struct vfstab));
297 (void) memset(&vp, 0, sizeof (struct vfstab));
307 add_use_record(struct vfstab *vp)
/illumos-gate/usr/src/cmd/boot/scripts/
H A Dupdate_grub.ksh48 bootdev=`grep -v "^#" "$ALT_ROOT"/etc/vfstab | grep pcfs \
93 metadev=`grep -v "^#" "$ALT_ROOT"/etc/vfstab | \
124 bootdev=`grep -v "^#" "$ALT_ROOT"/etc/vfstab | grep pcfs | \
/illumos-gate/usr/src/cmd/fs.d/ufs/tunefs/
H A Dtunefs.c69 #include <sys/vfstab.h>
99 FILE *vfstab; local
100 struct vfstab vfsbuf;
107 if ((vfstab = fopen(VFSTAB, "r")) == NULL) {
111 while (getvfsent(vfstab, &vfsbuf) == NULL)
120 fclose(vfstab);
/illumos-gate/usr/src/cmd/fs.d/ufs/repquota/
H A Drepquota.c59 #include <sys/vfstab.h>
78 static char *hasvfsopt(struct vfstab *, char *);
102 struct vfstab vfsbuf;
107 FILE *mtab, *vfstab; local
160 * If aflag go through vfstab and make a list of appropriate
166 if ((vfstab = fopen(VFSTAB, "r")) == NULL) {
171 while (getvfsent(vfstab, &vfsbuf) == 0) {
197 (void) fclose(vfstab);
489 hasvfsopt(struct vfstab *vfs, char *opt)

Completed in 86 milliseconds

123