| /onnv/onnv-gate/usr/src/cmd/initpkg/ |
| 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 74 done <$VFSTAB 92 [ $# -gt 0 ] && VFSTAB="$1" 95 # If $VFSTAB is not "-" (stdin), re-open stdin as the specified file 97 if [ "x$VFSTAB" != x- ]; then 98 [ -s "$VFSTAB" ] || die "swapadd: file system table ($VFSTAB) not found" 99 exec <$VFSTAB [all...] |
| /onnv/onnv-gate/usr/src/lib/lvm/libsvm/common/hdrs/ |
| svm.h | 50 #define VFSTAB "/etc/vfstab"
|
| /onnv/onnv-gate/usr/src/uts/common/sys/ |
| mntent.h | 37 #define VFSTAB "/etc/vfstab"
|
| vfstab.h | 35 #define VFSTAB "/etc/vfstab" 57 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 *);
|
| /onnv/onnv-gate/usr/src/cmd/fs.d/ |
| ff.c | 38 #include <sys/vfstab.h> 53 char vfstab[] = VFSTAB; variable 80 struct vfstab vfsbuf; 100 * reads the VFSTAB and executes the specific module of 106 /* open VFSTAB */ 107 if ((fp = fopen(VFSTAB, "r")) == NULL) { 108 fprintf(stderr, "%s: cannot open vfstab\n", 183 /* open VFSTAB */ 184 if ((fp = fopen(VFSTAB, "r")) == NULL) [all...] |
| 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");
|
| switchout.c | 39 #include <sys/vfstab.h> 62 char vfstab[] = VFSTAB; variable 354 * This looks up the /etc/vfstab entry given the device 'special'. 366 struct vfstab vget, vref; 368 if ((fd = fopen(vfstab, "r")) == NULL) { 369 (void) fprintf(stderr, gettext("%s: cannot open vfstab\n"), 393 gettext("%s: line in vfstab exceeds %d characters\n"), 399 gettext("%s: line in vfstab has too few entries\n"),
|
| /onnv/onnv-gate/usr/src/cmd/fs.d/ufs/quotaon/ |
| 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) { 164 fprintf(stderr, "Can't open %s\n", VFSTAB); 165 perror(VFSTAB); 169 while ((status = getvfsent(vfstab, &vfsbuf)) == NULL) [all...] |
| /onnv/onnv-gate/usr/src/lib/libfsmgt/common/ |
| 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 *); 106 if ((fp = fopen(VFSTAB, "r")) != NULL) { 107 struct vfstab vfstab_entry; 108 struct vfstab *search_entry [all...] |
| /onnv/onnv-gate/usr/src/cmd/stmsboot/ |
| stmsboot.sh | 37 VFSTAB=/etc/vfstab 160 echo "\tcp /mnt${SAVEDIR}/vfstab.$cmd.$NOW /mnt$VFSTAB" >> $RECOVERFILE 181 # Arrange for /etc/vfstab and dump configuration to be updated 588 backup_lastsaved $KDRVCONF $VFSTAB 590 backup_lastsaved $KDRVCONF $VFSTAB /boot/solaris/$BOOTENV_FILE
|
| /onnv/onnv-gate/usr/src/pkgdefs/SUNWcsr/ |
| postinstall | 90 VFSTAB=$BASEDIR/etc/vfstab 91 if [ -f $VFSTAB -a -n "$SUNW_PKG_INSTALL_ZONENAME" -a \ 93 sed '/^\/devices[ ]/d' $VFSTAB > /tmp/v.$$ 94 cp /tmp/v.$$ $VFSTAB
|
| /onnv/onnv-gate/usr/src/cmd/fs.d/cachefs/cfsd/ |
| cfsd_subr.c | 50 #include <sys/vfstab.h> 260 struct vfstab vinfo; 261 struct vfstab vpref; 372 /* read the vfstab file looking for caches we may have missed */ 373 fin = fopen(VFSTAB, "r"); 375 dbug_print(("info", "%s does not exist", VFSTAB)); 396 dbug_print(("info", "vfstab cache \"%s\"", cp)); 414 VFSTAB, errno));
|
| /onnv/onnv-gate/usr/src/tools/fastfs/ |
| fastfs.c | 46 * make vfstab look like fstab 50 #define fstab vfstab 51 #define FSTAB VFSTAB
|
| /onnv/onnv-gate/usr/src/cmd/fs.d/ufs/tunefs/ |
| tunefs.c | 69 #include <sys/vfstab.h> 99 FILE *vfstab; local 100 struct vfstab vfsbuf; 107 if ((vfstab = fopen(VFSTAB, "r")) == NULL) { 108 fprintf(stderr, "%s: ", VFSTAB); 111 while (getvfsent(vfstab, &vfsbuf) == NULL) 120 fclose(vfstab);
|
| /onnv/onnv-gate/usr/src/cmd/fs.d/udfs/fsck/ |
| setup.c | 51 #include <sys/vfstab.h> 107 * match entries in the /etc/vfstab. 128 FILE *vfstab; local 129 struct vfstab vfsbuf; 131 * Check vfstab for a mount point with this name 133 if ((vfstab = fopen(VFSTAB, "r")) == NULL) { 135 VFSTAB); 137 while (getvfsent(vfstab, &vfsbuf) == NULL) { 145 (void) fclose(vfstab); [all...] |
| utilities.c | 50 #include <sys/vfstab.h> 60 extern char *hasvfsopt(struct vfstab *, char *); 552 * Check to see if name corresponds to an entry in vfstab, and that the entry 559 struct vfstab vfsbuf; 560 FILE *vfstab; local 563 vfstab = fopen(VFSTAB, "r"); 564 if (vfstab == NULL) { 565 (void) printf(gettext("can't open %s\n"), VFSTAB); 569 if ((getvfsspec(vfstab, &vfsbuf, blkname) == 0) & [all...] |
| 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)
|
| /onnv/onnv-gate/usr/src/cmd/fs.d/ufs/repquota/ |
| 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) { 168 perror(VFSTAB); 171 while (getvfsent(vfstab, &vfsbuf) == 0) { 197 (void) fclose(vfstab); [all...] |
| /onnv/onnv-gate/usr/src/cmd/backup/dump/ |
| dumpfstab.c | 34 * to explicitly read the SVR4 vfstab file and using 91 * Read in SVR4 vfstab-format table. 99 struct vfstab vfs; 106 * No need to secure this, as tablename is hard-coded to VFSTAB, 190 * We try fstab or vfstab first, then mtab or mnttab. 192 pm = addvfstab(VFSTAB, pm);
|
| /onnv/onnv-gate/usr/src/lib/libdiskmgt/common/ |
| 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; 288 fp = fopen(VFSTAB, "r"); 290 (void) memset(&vp, 0, sizeof (struct vfstab)); 297 (void) memset(&vp, 0, sizeof (struct vfstab)); 307 add_use_record(struct vfstab *vp)
|
| /onnv/onnv-gate/usr/src/lib/lvm/libsvm/common/ |
| metainterfaces.c | 30 #include <sys/vfstab.h> 155 * parses the vfstab to return the metadevice 172 struct vfstab v; 183 if (snprintf(vfstab_name, PATH_MAX + 1, "%s%s", mntpath, VFSTAB) < 0)
|
| /onnv/onnv-gate/usr/src/cmd/fs.d/ufs/quotacheck/ |
| quotacheck.c | 64 #include <sys/vfstab.h> 122 struct vfstab vfsbuf; 127 FILE *mtab, *vfstab; local 187 * Go through vfstab and make a list of appropriate 192 if ((vfstab = fopen(VFSTAB, "r")) == NULL) { 194 perror(VFSTAB); 197 while (getvfsent(vfstab, &vfsbuf) == NULL) { 221 fclose(vfstab); 771 hasvfsopt(struct vfstab *vfs, char *opt [all...] |
| /onnv/onnv-gate/usr/src/cmd/rcm_daemon/common/ |
| filesys_rcm.c | 559 #define VFSTAB "/etc/vfstab" 572 vfp = fopen(VFSTAB, "r"); 574 rcm_log_message(RCM_ERROR, "FILESYS: failed to open /etc/vfstab" 579 (void) snprintf(tmp, sizeof (tmp), "/etc/vfstab.retire.%lu", getpid()); 584 "/etc/vfstab.retire for writing: %s\n", strerror(errno)); 620 "new vfstab: %s\n", strerror(errno)); 633 if (rename(tmp, VFSTAB) != 0) { 634 rcm_log_message(RCM_ERROR, "FILESYS: vfstab rename " [all...] |
| /onnv/onnv-gate/usr/src/cmd/hal/tools/ |
| hal-storage-shared.c | 44 #include <sys/vfstab.h> 150 *handle = fopen (VFSTAB, "r"); 173 static struct vfstab v;
|
| /onnv/onnv-gate/usr/src/cmd/fs.d/ufs/fsck/ |
| main.c | 129 #include <sys/vfstab.h> 166 * Filesystems that are `magical' - if they exist in vfstab, 691 struct vfstab vfsbuf; 692 FILE *vfstab; local 717 * Determine if this is the root file system via vfstab. Give up 721 if (!is_file && (vfstab = fopen(VFSTAB, "r")) != NULL) { 725 if (getvfsfile(vfstab, &vfsbuf, 801 hasvfsopt(struct vfstab *vfs, char *opt)
|