Home
last modified time | relevance | path

Searched refs:fstab (Results 1 – 20 of 20) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/ufs/quot/
H A Dquot.c190 FILE *fstab; in quotall() local
196 fstab = fopen(MNTTAB, "r"); in quotall()
197 if (fstab == NULL) { in quotall()
201 while (getmntent(fstab, &mntp) == 0) { in quotall()
218 (void) fclose(fstab); in quotall()
224 FILE *fstab; in check() local
248 fstab = fopen(MNTTAB, "r"); in check()
249 if (fstab == NULL) { in check()
253 while (getmntent(fstab, &mntp) == 0) { in check()
467 FILE *fstab; in getdev() local
[all …]
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal-storage-shared.c162 struct fstab *fstab; in fstab_next() local
164 fstab = getfsent (); in fstab_next()
167 if (mount_point != NULL && fstab != NULL) { in fstab_next()
168 *mount_point = fstab->fs_file; in fstab_next()
171 return fstab ? fstab->fs_spec : NULL; in fstab_next()
/illumos-gate/usr/src/cmd/fs.d/ufs/repquota/
H A Drepquota.c437 FILE *fstab; in quotactl() local
447 if ((fstab = fopen(MNTTAB, "r")) == NULL) { in quotactl()
453 while ((status = getmntent(fstab, &mntp)) == 0) { in quotactl()
470 (void) fclose(fstab); in quotactl()
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzoneadm.c2206 verify_fs_special(struct zone_fstab *fstab) in verify_fs_special() argument
2218 if (strcmp(fstab->zone_fs_type, MNTTYPE_ZFS) == 0) in verify_fs_special()
2219 return (verify_fs_zfs(fstab)); in verify_fs_special()
2221 if (stat64(fstab->zone_fs_special, &st) != 0) { in verify_fs_special()
2223 "%s: could not access %s: %s\n"), fstab->zone_fs_dir, in verify_fs_special()
2224 fstab->zone_fs_special, strerror(errno)); in verify_fs_special()
2237 fstab->zone_fs_special); in verify_fs_special()
2259 struct zone_fstab fstab; in verify_filesystems() local
2273 while (zonecfg_getfsent(handle, &fstab) == Z_OK) { in verify_filesystems()
2274 if (!zonecfg_valid_fs_type(fstab.zone_fs_type)) { in verify_filesystems()
[all …]
H A Dzfs.c1253 verify_fs_zfs(struct zone_fstab *fstab) in verify_fs_zfs() argument
1258 if ((zhp = zfs_open(g_zfs, fstab->zone_fs_special, in verify_fs_zfs()
1262 fstab->zone_fs_dir, fstab->zone_fs_special); in verify_fs_zfs()
1269 fstab->zone_fs_dir, fstab->zone_fs_special); in verify_fs_zfs()
1278 fstab->zone_fs_dir, fstab->zone_fs_special); in verify_fs_zfs()
H A Dzoneadm.h130 extern int verify_fs_zfs(struct zone_fstab *fstab);
/illumos-gate/usr/src/cmd/zonecfg/
H A Dzonecfg.c1842 struct zone_fstab fstab; in export_func() local
1977 while (zonecfg_getfsent(handle, &fstab) == Z_OK) { in export_func()
1982 export_prop(of, PT_DIR, fstab.zone_fs_dir); in export_func()
1983 export_prop(of, PT_SPECIAL, fstab.zone_fs_special); in export_func()
1984 export_prop(of, PT_RAW, fstab.zone_fs_raw); in export_func()
1985 export_prop(of, PT_TYPE, fstab.zone_fs_type); in export_func()
1986 for (optptr = fstab.zone_fs_options; optptr != NULL; in export_func()
2005 zonecfg_free_fs_option_list(fstab.zone_fs_options); in export_func()
2723 fill_in_fstab(cmd_t *cmd, struct zone_fstab *fstab, boolean_t fill_in_only) in fill_in_fstab() argument
2731 bzero(fstab, sizeof (*fstab)); in fill_in_fstab()
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/rquotad/
H A Drpc.rquotad.c415 FILE *fstab; in quotactl() local
424 if ((fstab = fopen(MNTTAB, "r")) == NULL) { in quotactl()
429 while ((status = getmntent(fstab, &mntp)) == 0) { in quotactl()
440 fclose(fstab); in quotactl()
/illumos-gate/usr/src/cmd/prtvtoc/
H A Dprtvtoc.c107 static char *fstab = VFSTAB; /* Fstab pathname */ variable
128 fstab = optarg; in main()
298 if ((file = fopen(fstab, "r")) == NULL) { in getmntpt()
299 warn("failed to open %s", fstab); in getmntpt()
/illumos-gate/usr/src/cmd/fs.d/ufs/edquota/
H A Dedquota.c818 FILE *fstab; in quotactl() local
837 if ((fstab = fopen(MNTTAB, "r")) == NULL) { in quotactl()
843 while ((status = getmntent(fstab, &mntp)) == 0) { in quotactl()
871 (void) fclose(fstab); in quotactl()
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c706 FILE *fstab; in quotactl() local
716 if ((fstab = fopen(MNTTAB, "r")) == NULL) { in quotactl()
722 while ((status = getmntent(fstab, &mntp)) == 0) { in quotactl()
735 fclose(fstab); in quotactl()
/illumos-gate/usr/src/cmd/fs.d/ufs/quota/
H A Dquota.c671 FILE *fstab; in quotactl() local
681 if ((fstab = fopen(MNTTAB, "r")) == NULL) { in quotactl()
687 while ((status = getmntent(fstab, &mnt)) == 0) { in quotactl()
703 fclose(fstab); in quotactl()
/illumos-gate/usr/src/lib/libxcurses/h/posix/
H A Dmkslocal.h811 #define M_FSALL "/etc/fstab"
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dvplat.c1626 struct zone_fstab *tmp_ptr, *fs_ptr, *fsp, fstab; in mount_filesystems_fsent() local
1636 while (zonecfg_getfsent(handle, &fstab) == Z_OK) { in mount_filesystems_fsent()
1643 strcmp(fstab.zone_fs_type, MNTTYPE_ZFS) == 0) in mount_filesystems_fsent()
1660 fstab.zone_fs_dir, sizeof (fsp->zone_fs_dir)); in mount_filesystems_fsent()
1661 (void) strlcpy(fsp->zone_fs_raw, fstab.zone_fs_raw, in mount_filesystems_fsent()
1663 (void) strlcpy(fsp->zone_fs_type, fstab.zone_fs_type, in mount_filesystems_fsent()
1665 fsp->zone_fs_options = fstab.zone_fs_options; in mount_filesystems_fsent()
1682 (void) strlcat(fsp->zone_fs_special, fstab.zone_fs_special, in mount_filesystems_fsent()
/illumos-gate/usr/src/lib/libxcurses/h/
H A Dmks.h244 #define M_FSALL M_ETCDIR(fstab)
/illumos-gate/usr/src/contrib/ast/src/lib/libast/
H A DRELEASE573 05-02-11 port/mnt.c: handle lynxos MOUNTED=/etc/fstab
1231 00-12-25 mnt.c: handle " and ' quoting for fstab
/illumos-gate/usr/src/grub/grub-0.97/docs/
H A Dgrub.info-21243 grub> cat /etc/fstab
H A Dgrub.texi2732 grub> @kbd{cat /etc/fstab}
H A Dgrub.info2547 grub> cat /etc/fstab
/illumos-gate/usr/src/grub/grub-0.97/
H A DChangeLog1723 problem on Linux with devfs and old device names in /etc/fstab.