/illumos-gate/usr/src/lib/libbc/inc/include/ |
H A D | fstab.h | 25 * 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/lib/libbc/libc/gen/common/ |
H A D | fstab.c | 29 #include <fstab.h> 34 static struct fstab *pfs; 38 fstabscan(struct fstab *fs) 93 struct fstab * 99 return ((struct fstab *)0); 101 pfs = (struct fstab *)malloc(sizeof (struct fstab)); 107 return ((struct fstab *)0); 111 struct fstab * 114 struct fstab *fs [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/quot/ |
H A D | quot.c | 192 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/hal/tools/ |
H A D | hal-storage-shared.c | 35 #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;
|
H A D | hal-storage-unmount.c | 35 #include <fstab.h>
|
H A D | hal-storage-mount.c | 35 #include <fstab.h> 94 fprintf (stderr, "Device %s is listed in /etc/fstab. Refusing to mount.\n", device); 307 /* check if /etc/fstab mentions this device... (with symlinks etc) */ 309 printf ("cannot open /etc/fstab\n"); 310 unknown_error ("Cannot open /etc/fstab"); 316 printf ("Looking at /etc/fstab entry '%s'\n", entry); 327 * /etc/fstab has 331 * in /etc/fstab as most Red Hat systems do? Bugger, this is a very common use 338 * To work around this, check if the listed entry in /etc/fstab is already mounted, 355 printf ("Wanting to mount %s that has label %s, but /etc/fstab say [all...] |
/illumos-gate/usr/src/cmd/zoneadm/ |
H A D | zoneadm.h | 130 extern int verify_fs_zfs(struct zone_fstab *fstab);
|
H A D | zoneadm.c | 2197 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...] |
H A D | zfs.c | 1246 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);
|
/illumos-gate/usr/src/cmd/fs.d/ufs/repquota/ |
H A D | repquota.c | 439 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/lib/libxcurses/h/posix/ |
H A D | mkslocal.h | 813 #define M_FSALL "/etc/fstab"
|
/illumos-gate/usr/src/cmd/prtvtoc/ |
H A D | prtvtoc.c | 102 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 D | rpc.rquotad.c | 416 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/edquota/ |
H A D | edquota.c | 819 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/quota/ |
H A D | quota.c | 671 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 D | quotacheck.c | 708 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/zonecfg/ |
H A D | zonecfg.c | 1838 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...] |
/illumos-gate/usr/src/lib/libxcurses/h/ |
H A D | mks.h | 244 #define M_FSALL M_ETCDIR(fstab)
|
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | vplat.c | 1608 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/lib/libbc/sparc/ |
H A D | Makefile | 62 fstab.o ftok.o ftw.o getauid.o getauditflags.o \
|