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

/illumos-gate/usr/src/lib/libbc/inc/include/
H A Dfstab.h25 * File system table, see fstab (5)
40 #define FSTAB "/etc/fstab"
48 struct fstab{ struct
56 struct fstab *getfsent();
57 struct fstab *getfsspec();
58 struct fstab *getfsfile();
59 struct fstab *getfstype();
/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/fs.d/nfs/rquotad/
H A Drpc.rquotad.c416 FILE *fstab; local
425 if ((fstab = fopen(MNTTAB, "r")) == NULL) {
430 while ((status = getmntent(fstab, &mntp)) == NULL) {
441 fclose(fstab);
/illumos-gate/usr/src/cmd/fs.d/ufs/repquota/
H A Drepquota.c439 FILE *fstab; local
449 if ((fstab = fopen(MNTTAB, "r")) == NULL) {
455 while ((status = getmntent(fstab, &mntp)) == NULL) {
472 (void) fclose(fstab);
/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/edquota/
H A Dedquota.c819 FILE *fstab; local
838 if ((fstab = fopen(MNTTAB, "r")) == NULL) {
844 while ((status = getmntent(fstab, &mntp)) == NULL) {
872 (void) fclose(fstab);
/illumos-gate/usr/src/cmd/fs.d/ufs/quot/
H A Dquot.c192 FILE *fstab; local
198 fstab = fopen(MNTTAB, "r");
199 if (fstab == NULL) {
203 while (getmntent(fstab, &mntp) == NULL) {
220 (void) fclose(fstab);
226 FILE *fstab; local
250 fstab = fopen(MNTTAB, "r");
251 if (fstab == NULL) {
255 while (getmntent(fstab, &mntp) == NULL) {
469 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)) == NULL) {
703 fclose(fstab);
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c708 FILE *fstab; local
718 if ((fstab = fopen(MNTTAB, "r")) == NULL) {
724 while ((status = getmntent(fstab, &mntp)) == NULL) {
737 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.c2197 verify_fs_special(struct zone_fstab *fstab) argument
2209 if (strcmp(fstab->zone_fs_type, MNTTYPE_ZFS) == 0)
2210 return (verify_fs_zfs(fstab));
2212 if (stat64(fstab->zone_fs_special, &st) != 0) {
2214 "%s: could not access %s: %s\n"), fstab->zone_fs_dir,
2215 fstab->zone_fs_special, strerror(errno));
2228 fstab->zone_fs_special);
2250 struct zone_fstab fstab; local
2264 while (zonecfg_getfsent(handle, &fstab) == Z_OK) {
2265 if (!zonecfg_valid_fs_type(fstab
[all...]
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dvplat.c1608 struct zone_fstab *tmp_ptr, *fs_ptr, *fsp, fstab; local
1618 while (zonecfg_getfsent(handle, &fstab) == Z_OK) {
1625 strcmp(fstab.zone_fs_type, MNTTYPE_ZFS) == 0)
1642 fstab.zone_fs_dir, sizeof (fsp->zone_fs_dir));
1643 (void) strlcpy(fsp->zone_fs_raw, fstab.zone_fs_raw,
1645 (void) strlcpy(fsp->zone_fs_type, fstab.zone_fs_type,
1647 fsp->zone_fs_options = fstab.zone_fs_options;
1664 (void) strlcat(fsp->zone_fs_special, fstab.zone_fs_special,
/illumos-gate/usr/src/cmd/zonecfg/
H A Dzonecfg.c1838 struct zone_fstab fstab; local
1973 while (zonecfg_getfsent(handle, &fstab) == Z_OK) {
1978 export_prop(of, PT_DIR, fstab.zone_fs_dir);
1979 export_prop(of, PT_SPECIAL, fstab.zone_fs_special);
1980 export_prop(of, PT_RAW, fstab.zone_fs_raw);
1981 export_prop(of, PT_TYPE, fstab.zone_fs_type);
1982 for (optptr = fstab.zone_fs_options; optptr != NULL;
2001 zonecfg_free_fs_option_list(fstab.zone_fs_options);
2719 fill_in_fstab(cmd_t *cmd, struct zone_fstab *fstab, boolean_t fill_in_only) argument
2727 bzero(fstab, sizeo
3128 struct zone_fstab fstab; local
5155 output_fs(FILE *fp, struct zone_fstab *fstab) argument
6086 struct zone_fstab fstab; local
[all...]

Completed in 122 milliseconds