Searched defs:fstab (Results 1 - 12 of 12) sorted by relevance

/illumos-gate/usr/src/cmd/prtvtoc/
H A Dprtvtoc.c102 static char *fstab = VFSTAB; /* Fstab pathname */ variable
127 fstab = optarg;
233 * from the fstab or mnttab. Returns a pointer to an array of pointers to
288 if ((file = fopen(fstab, "r")) == NULL) {
289 (void) warn(fstab, strerror(errno));
665 (void) fprintf(stderr, "Usage:\t%s [ -fhs ] [ -t fstab ] [ -m mnttab ] "
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal-storage-shared.c35 #include <fstab.h>
153 *handle = fopen ("/etc/fstab", "r");
162 struct fstab *fstab; local
164 fstab = getfsent ();
167 if (mount_point != NULL && fstab != NULL) {
168 *mount_point = fstab->fs_file;
171 return fstab ? fstab->fs_spec : NULL;
/illumos-gate/usr/src/cmd/fs.d/ufs/repquota/
H A Drepquota.c437 FILE *fstab; local
447 if ((fstab = fopen(MNTTAB, "r")) == NULL) {
453 while ((status = getmntent(fstab, &mntp)) == 0) {
470 (void) fclose(fstab);
/illumos-gate/usr/src/cmd/fs.d/nfs/rquotad/
H A Drpc.rquotad.c415 FILE *fstab; local
424 if ((fstab = fopen(MNTTAB, "r")) == NULL) {
429 while ((status = getmntent(fstab, &mntp)) == 0) {
440 fclose(fstab);
/illumos-gate/usr/src/cmd/fs.d/ufs/edquota/
H A Dedquota.c818 FILE *fstab; local
837 if ((fstab = fopen(MNTTAB, "r")) == NULL) {
843 while ((status = getmntent(fstab, &mntp)) == 0) {
871 (void) fclose(fstab);
/illumos-gate/usr/src/cmd/fs.d/ufs/quot/
H A Dquot.c190 FILE *fstab; local
196 fstab = fopen(MNTTAB, "r");
197 if (fstab == NULL) {
201 while (getmntent(fstab, &mntp) == 0) {
218 (void) fclose(fstab);
224 FILE *fstab; local
248 fstab = fopen(MNTTAB, "r");
249 if (fstab == NULL) {
253 while (getmntent(fstab, &mntp) == 0) {
467 FILE *fstab; local
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/quota/
H A Dquota.c671 FILE *fstab; local
681 if ((fstab = fopen(MNTTAB, "r")) == NULL) {
687 while ((status = getmntent(fstab, &mnt)) == 0) {
703 fclose(fstab);
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c706 FILE *fstab; local
716 if ((fstab = fopen(MNTTAB, "r")) == NULL) {
722 while ((status = getmntent(fstab, &mntp)) == 0) {
735 fclose(fstab);
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzfs.c1246 verify_fs_zfs(struct zone_fstab *fstab) argument
1251 if ((zhp = zfs_open(g_zfs, fstab->zone_fs_special,
1255 fstab->zone_fs_dir, fstab->zone_fs_special);
1262 fstab->zone_fs_dir, fstab->zone_fs_special);
1271 fstab->zone_fs_dir, fstab->zone_fs_special);
H A Dzoneadm.c2206 verify_fs_special(struct zone_fstab *fstab) argument
2218 if (strcmp(fstab->zone_fs_type, MNTTYPE_ZFS) == 0)
2219 return (verify_fs_zfs(fstab));
2221 if (stat64(fstab->zone_fs_special, &st) != 0) {
2223 "%s: could not access %s: %s\n"), fstab->zone_fs_dir,
2224 fstab->zone_fs_special, strerror(errno));
2237 fstab->zone_fs_special);
2259 struct zone_fstab fstab; local
2273 while (zonecfg_getfsent(handle, &fstab) == Z_OK) {
2274 if (!zonecfg_valid_fs_type(fstab
[all...]
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dvplat.c1610 struct zone_fstab *tmp_ptr, *fs_ptr, *fsp, fstab; local
1620 while (zonecfg_getfsent(handle, &fstab) == Z_OK) {
1627 strcmp(fstab.zone_fs_type, MNTTYPE_ZFS) == 0)
1644 fstab.zone_fs_dir, sizeof (fsp->zone_fs_dir));
1645 (void) strlcpy(fsp->zone_fs_raw, fstab.zone_fs_raw,
1647 (void) strlcpy(fsp->zone_fs_type, fstab.zone_fs_type,
1649 fsp->zone_fs_options = fstab.zone_fs_options;
1666 (void) strlcat(fsp->zone_fs_special, fstab.zone_fs_special,
/illumos-gate/usr/src/cmd/zonecfg/
H A Dzonecfg.c1842 struct zone_fstab fstab; local
1977 while (zonecfg_getfsent(handle, &fstab) == Z_OK) {
1982 export_prop(of, PT_DIR, fstab.zone_fs_dir);
1983 export_prop(of, PT_SPECIAL, fstab.zone_fs_special);
1984 export_prop(of, PT_RAW, fstab.zone_fs_raw);
1985 export_prop(of, PT_TYPE, fstab.zone_fs_type);
1986 for (optptr = fstab.zone_fs_options; optptr != NULL;
2005 zonecfg_free_fs_option_list(fstab.zone_fs_options);
2723 fill_in_fstab(cmd_t *cmd, struct zone_fstab *fstab, boolean_t fill_in_only) argument
2731 bzero(fstab, sizeo
3132 struct zone_fstab fstab; local
5159 output_fs(FILE *fp, struct zone_fstab *fstab) argument
6090 struct zone_fstab fstab; local
[all...]

Completed in 99 milliseconds