Searched refs:vfstab (Results 26 - 50 of 63) sorted by relevance

123

/illumos-gate/usr/src/cmd/iscsid/
H A Discsi-initiator98 exec < /etc/vfstab
174 # Generate iscsi mountp list from /etc/vfstab
175 exec < /etc/vfstab
218 echo "lun in /etc/vfstab fail."
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/
H A Dsetup.c51 #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) {
137 while (getvfsent(vfstab, &vfsbuf) == NULL) {
145 (void) fclose(vfstab);
157 (void) fclose(vfstab);
/illumos-gate/usr/src/lib/brand/solaris10/zone/
H A Dp2v.ksh190 if [[ -h $ZONEROOT/etc/vfstab || ! -f $ZONEROOT/etc/vfstab ]]; then
191 error "$e_badfile" "/etc/vfstab"
220 }' $ZONEROOT/etc/vfstab >>$tmpfile
223 if [[ ! -f $ZONEROOT/etc/vfstab.pre_p2v ]]; then
224 safe_copy $ZONEROOT/etc/vfstab \
225 $ZONEROOT/etc/vfstab.pre_p2v
227 safe_copy $tmpfile $ZONEROOT/etc/vfstab
228 chown root:sys $ZONEROOT/etc/vfstab || \
229 fail_fatal "$f_chown" "$ZONEROOT/etc/vfstab"
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dmain.c129 #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)
H A Dutilities.c52 #include <sys/vfstab.h>
70 static struct vfstab *search_vfstab(caddr_t, caddr_t, caddr_t, size_t);
1084 * Check to see if name corresponds to an entry in vfstab, and that the entry
1091 struct vfstab vfsbuf, vfskey;
1092 FILE *vfstab; local
1094 vfstab = fopen(VFSTAB, "r");
1095 if (vfstab == NULL) {
1103 if ((getvfsany(vfstab, &vfsbuf, &vfskey) == 0) &&
1107 (void) fclose(vfstab);
1515 * in the vfstab
[all...]
H A Dfsck.h43 #include <sys/vfstab.h>
499 * Filesystems that are `magical' - if they exist in vfstab,
576 caddr_t hasvfsopt(struct vfstab *, caddr_t);
/illumos-gate/usr/src/cmd/fs.d/
H A Dmount.c50 #include <sys/vfstab.h>
125 * the /etc/vfstab file.
130 char *vfstab = VFSTAB; variable
146 * Each vfsent_t describes a vfstab entry. It is used to manage and cleanup
151 struct vfstab v; /* the vfstab entry */
154 int order; /* vfstab serial order of this vfs */
170 /* linked list of vfstab entries */
187 static vfsent_t *new_vfsent(struct vfstab *, int);
218 * /etc/vfstab i
[all...]
H A Dswitchout.c39 #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"),
H A Ddf.xcl61 msgid "/etc/vfstab"
113 msgid "/etc/vfstab"
/illumos-gate/usr/src/cmd/acct/
H A Ddodisk.sh67 DEVLIST=/etc/vfstab
/illumos-gate/usr/src/cmd/svc/milestone/
H A Dfs-local55 # vlist is the non-global filesystems in vfstab requesting quotas
58 match($7, "(^|,)global(,|$)") == 0) print $1; }' /etc/vfstab`
H A Dfs-minimal48 readvfstab $fs < $vfstab
/illumos-gate/usr/src/lib/libadm/common/
H A Dfulldevnm.c39 #include <sys/vfstab.h>
66 * Third if an entry is found in /etc/vfstab which matches the given name
81 * the '/etc/vfstab' file to over-ride this checking.
306 struct vfstab vp;
307 struct vfstab ref_vp;
309 if ((fp = fopen("/etc/vfstab", "r")) == NULL)
312 (void) memset(&ref_vp, 0, sizeof (struct vfstab));
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c64 #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) {
197 while (getvfsent(vfstab, &vfsbuf) == NULL) {
221 fclose(vfstab);
771 hasvfsopt(struct vfstab *vfs, char *opt)
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dmntinfo.c55 #include <sys/vfstab.h>
271 already_mounted(struct vfstab *vfs, int is_local_host, char *client_path,
760 mod_existing(struct vfstab *vfsent, int fstab_entry, int is_remote)
773 * an /etc/vfstab entry. When it returns, the new entry has been inserted
777 construct_vfs(struct vfstab *vfsent, char *client_path, char *link_name,
883 * the client's vfstab to determine what filesystems are
884 * inappropriate to write to. This simply adds the vfstab entries
893 struct vfstab vfsbuf;
894 struct vfstab *vfs = &vfsbuf;
905 * Here's where the vfstab fo
[all...]
/illumos-gate/usr/src/lib/lvm/libsvm/common/
H A Dmetainterfaces.c30 #include <sys/vfstab.h>
155 * parses the vfstab to return the metadevice
172 struct vfstab v;
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_utils.c45 #include <sys/vfstab.h>
2142 * Description: This function digs into a BE's vfstab and updates all
2153 * file systems to look for in vfstab.
2185 /* Get string for vfstab in the mounted BE. */
2186 (void) snprintf(alt_vfstab, sizeof (alt_vfstab), "%s/etc/vfstab",
2189 /* Update the vfstab */
2214 * Description: This function digs into a zone BE's vfstab and updates all
2226 * file systems to look for in vfstab.
2266 /* Get string from vfstab in the mounted zone BE */
2267 (void) snprintf(alt_vfstab, sizeof (alt_vfstab), "%s/etc/vfstab",
3434 _update_vfstab(char *vfstab, char *be_name, char *old_rc_loc, char *new_rc_loc, be_fs_list_data_t *fld) argument
[all...]
H A Dbe_zones.c46 #include <sys/vfstab.h>
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal-storage-unmount.c44 #include <sys/vfstab.h>
H A Dhal-storage-shared.c44 #include <sys/vfstab.h>
173 static struct vfstab v;
/illumos-gate/usr/src/cmd/initpkg/
H A Dmountall.sh43 FSTAB=/etc/vfstab
197 # if an alternate vfstab file is used or serial mode is specified, then
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpfstab.c34 * to explicitly read the SVR4 vfstab file and using
91 * Read in SVR4 vfstab-format table.
99 struct vfstab vfs;
190 * We try fstab or vfstab first, then mtab or mnttab.
/illumos-gate/usr/src/man/man4/
H A DMakefile205 vfstab.4 \
/illumos-gate/usr/src/cmd/prtvtoc/
H A Dprtvtoc.c51 #include <sys/vfstab.h>
245 struct vfstab vtab;
294 * Look for the disk in the vfstab so that we can report its mount
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_scsi.h61 #include <sys/vfstab.h>

Completed in 116 milliseconds

123