/illumos-gate/usr/src/cmd/initpkg/ |
H A D | vfstab.sh | 43 ">vfstab
|
H A D | Makefile | 26 SHFILES= dfstab vfstab 41 ETCTABS= vfstab inittab nscd.conf security/crypt.conf 58 $(ROOTETC)/vfstab := FILEMODE = 0644
|
H A D | rcS.sh | 56 vfstab=/etc/vfstab
|
H A D | swapadd.sh | 34 # 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 D | vfstab.h | 36 #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 D | mpxio-upgrade | 87 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 D | meta_lib_prv.c | 34 #include <sys/vfstab.h>
|
/illumos-gate/usr/src/cmd/svc/milestone/ |
H A D | fs-usr | 42 readswapdev $DUMPADM_DEVICE < $vfstab 89 readvfstab / < $vfstab 113 readvfstab /usr < $vfstab 144 readvfstab /usr/platform < $vfstab 153 readvfstab /dev/fd < $vfstab
|
H A D | fs-root | 76 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 D | fs_include.sh | 32 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 D | fs_mount_defaults.c | 30 * 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 D | dumpusg.h | 43 #include <sys/vfstab.h> 50 #include <sys/vfstab.h>
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quotaon/ |
H A D | quotaon.c | 66 #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 D | zpool_add.kshlib | 35 # 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 D | volcopy.c | 37 #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 D | ff.c | 38 #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 D | fsck.c | 37 #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 D | getvfsent.c | 36 #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 D | main.c | 47 #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 D | utilities.c | 47 #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 D | zvol_swap_003_pos.ksh | 39 # 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 D | inuse_fs.c | 37 #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 D | update_grub.ksh | 48 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 D | tunefs.c | 69 #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 D | repquota.c | 59 #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)
|