/osnet-11/usr/src/lib/lvm/libmeta/common/hdrs/ |
H A D | meta_lib_prv.h | 34 #include <sys/mnttab.h>
|
/osnet-11/usr/src/lib/libshadowfs/common/ |
H A D | shadow_open.c | 37 FILE *mnttab = NULL; local 38 struct mnttab mntent, search; 47 if ((mnttab = fopen(MNTTAB, "r")) == NULL) { 49 dgettext(TEXT_DOMAIN, "failed to open /etc/mnttab")); 55 if (getmntany(mnttab, &mntent, &search) != 0) { 90 (void) fclose(mnttab); 100 if (mnttab != NULL) 101 (void) fclose(mnttab);
|
H A D | shadow_migrate.c | 380 FILE *mnttab = NULL; local 381 struct mnttab mntent, search; 387 if ((mnttab = fopen(MNTTAB, "r")) == NULL) 389 dgettext(TEXT_DOMAIN, "failed to open /etc/mnttab"))); 393 if (getmntany(mnttab, &mntent, &search) != 0) { 395 (void) fclose(mnttab); 403 (void) fclose(mnttab); 408 (void) fclose(mnttab);
|
H A D | shadow_impl.h | 50 #include <sys/mnttab.h>
|
/osnet-11/usr/src/lib/libtsol/common/ |
H A D | getpathbylabel.c | 42 #include <sys/mnttab.h> 50 struct mnttab *mntl_mnt; 100 tsol_mnt_free(struct mnttab *mnt) 121 struct mnttab *mnt = mlp->mntl_mnt; 131 static struct mnttab * 132 mntdup(struct mnttab *mnt) 134 struct mnttab *new; 136 new = (struct mnttab *)malloc(sizeof (*new)); 174 struct mnttab mnt; 188 mntl->mntl_mnt = mntdup((struct mnttab *)( [all...] |
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | getmntent.c | 34 #include <sys/mnttab.h> 48 static int getmntent_compat(FILE *fp, struct mnttab *mp); 107 getmntany_compat(FILE *fp, struct mnttab *mgetp, struct mnttab *mrefp) 141 getmntany(FILE *fp, struct mnttab *mgetp, struct mnttab *mrefp) 160 bzero(mgetp, sizeof (struct mnttab)); 212 * to both struct mnttab and struct extmnttab is a set of pointers to the 213 * individual text fields that form an entry in /etc/mnttab. We arrange for the 265 return (getmntent_compat(fp, (struct mnttab *)em [all...] |
/osnet-11/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_mount.c | 31 #include <sys/mnttab.h> 46 struct mnttab m; 54 /* look in mnttab */
|
H A D | metagetroot.c | 36 #include <sys/mnttab.h> 47 struct mnttab mp;
|
/osnet-11/usr/src/lib/libinstzones/common/ |
H A D | zones_lofs.c | 37 #include <sys/mnttab.h> 43 #define MNTTAB "/etc/mnttab" 47 static struct mnttab *mountTable; 53 * Description : Populate the mountTable Array with mnttab entries 63 struct mnttab ent; 64 struct mnttab *entp; 107 * Description : Check whether the given path is an mnttab entry 110 * -1: The Path is NOT present in the table (mnttab) 161 * mnttab. Once found, it returns the rw status of that file system. 238 struct mnttab *mn [all...] |
/osnet-11/usr/src/lib/brand/solaris10/cmd/ |
H A D | s10_fs_minimal.sh | 54 mounted /var/run - lofs < /etc/mnttab
|
H A D | s10_umountall.sh | 38 MNTTAB=/etc/mnttab 228 # fstype=nfs line in mnttab (eg, "host:/export) extract the host 253 /etc/mnttab | \ 380 # /etc/mnttab has the most recent mounts last. Reverse it so that we
|
/osnet-11/usr/src/lib/libfsmgt/common/ |
H A D | fs_mounts.c | 30 * Traverses /etc/mnttab in order to find mounted file systems. 36 #include <sys/mnttab.h> 50 static fs_mntlist_t *create_mntlist_entry(struct mnttab mnttab_entry); 52 static struct mnttab *create_mnttab_filter(char *resource, char *mountp, 56 static void free_mnttab_entry(struct mnttab *mnttab_entry); 172 struct mnttab mnttab_entry; 173 struct mnttab *search_entry; 286 struct mnttab mnttab_entry; 532 create_mntlist_entry(struct mnttab mnttab_entry) { 655 static struct mnttab * [all...] |
/osnet-11/usr/src/lib/libsmb/common/ |
H A D | smb_util.c | 37 #include <sys/mnttab.h> 87 static int smb_getzfsmount(const char *, struct mnttab *); 738 struct mnttab mnttab; local 742 if ((rc = smb_getzfsmount(path, &mnttab)) == 0) { 743 resource = mnttab.mnt_special; 759 * mnttab entry. 764 struct mnttab mnttab; local 767 if ((rc = smb_getzfsmount(path, &mnttab)) 781 smb_getzfsmount(const char *path, struct mnttab *mnttab) argument [all...] |
/osnet-11/usr/src/lib/libshare_plugins/legacy/ |
H A D | libshare_legacy.c | 35 #include <sys/mnttab.h> 711 FILE *mnttab; local 712 struct mnttab entry, result; 723 mnttab = fopen(MNTTAB, "r"); 724 if (mnttab == NULL) 730 if (getmntany(mnttab, &result, &entry) == 0) { 731 (void) fclose(mnttab); 757 * lookup mnttab entry for "/" 775 (void) fclose(mnttab); 859 FILE *mnttab; local [all...] |
/osnet-11/usr/src/lib/libvolmgt/common/ |
H A D | volmgt_on_private.c | 49 #include <sys/mnttab.h> 56 static int vol_getmntdev(FILE *, struct mnttab *, dev_t, 76 static FILE *fp = NULL; /* mnttab file pointer */ 77 struct mnttab mnt; /* set bug not used */ 257 * find a mnttab entry that has the same dev as the supplied dev, 265 vol_getmntdev(FILE *fp, struct mnttab *mp, dev_t dev, struct dk_cinfo *ip) 281 /* reset the mnttab -- just in case */ 284 /* scan each entry in mnttab */ 405 static int vol_getmntdev(FILE *, struct mnttab *, dev_t, 416 struct mnttab mn [all...] |
/osnet-11/usr/src/lib/libshare/common/ |
H A D | libshare.h | 38 #include <sys/mnttab.h> 135 extern int sa_mntent_is_shareable(libshare_handle_t *, struct mnttab *);
|
/osnet-11/usr/src/lib/libpkg/common/ |
H A D | pkgserv.c | 44 #include <sys/mnttab.h> 157 FILE *mnttab = NULL; local 175 * search the mnttab and find our mountpoint and the underlying 196 if (mnttab == NULL) 197 mnttab = fopen(MNTTAB, "r"); 199 resetmnttab(mnttab); 201 while (getextmntent(mnttab, &xmnt, 0) == 0) { 236 if (mnttab != NULL) { 238 (void) fclose(mnttab);
|
/osnet-11/usr/src/lib/brand/solaris/zone/ |
H A D | p2v.ksh | 256 if [[ ! -h $ZONEROOT/etc && ! -f $ZONEROOT/etc/mnttab ]]; then 257 touch $ZONEROOT/etc/mnttab || exit $EXIT_CODE 258 chmod 444 $ZONEROOT/etc/mnttab || exit $EXIT_CODE
|
/osnet-11/usr/src/cmd/hal/addons/storage/ |
H A D | addon-storage.c | 28 #include <sys/mnttab.h> 243 struct mnttab mp; 244 struct mnttab mpref; 246 if ((f = fopen ("/etc/mnttab", "r")) == NULL)
|
/osnet-11/usr/src/lib/libdiskmgt/common/ |
H A D | inuse_mnt.c | 41 #include <sys/mnttab.h> 48 * The list of mount point entries in /etc/mnttab 71 * Search the list of devices from /etc/mnttab to find the mount point 93 /* start a thread to monitor the mnttab */ 161 * Free the list of metadevices from /etc/mnttab. 197 * Create a list of devices from /etc/mnttab and swap. 217 /* get the mnttab entries */ 218 if ((fp = fopen("/etc/mnttab", "r")) != NULL) { 220 struct mnttab entry; 358 * This is a thread that runs forever, watching for changes in the mnttab [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/kern/emu/ |
H A D | misc.c | 38 # include <sys/mnttab.h> 69 # include <stdio.h> /* Needed by sys/mnttab.h. */ 70 # include <sys/mnttab.h>
|
/osnet-11/usr/src/cmd/sendmail/lib/ |
H A D | smtp-sendmail | 104 $4 !~ /noac/{s = 0} END{exit s}' /etc/mnttab; then
|
/osnet-11/usr/src/lib/librdc/common/ |
H A D | rdcrules.c | 61 #include <sys/mnttab.h> 417 struct mnttab mntref; 418 struct mnttab mntent;
|
/osnet-11/usr/src/lib/brand/solaris10/zone/ |
H A D | common.ksh | 249 if [[ ! -h $ZONEROOT/etc && ! -f $ZONEROOT/etc/mnttab ]]; then 250 /usr/bin/touch $ZONEROOT/etc/mnttab || exit $EXIT_CODE 251 /usr/bin/chmod 444 $ZONEROOT/etc/mnttab || exit $EXIT_CODE
|
/osnet-11/usr/src/cmd/hal/probing/storage/ |
H A D | probe-storage.c | 26 #include <sys/mnttab.h> 48 struct mnttab mp; 49 struct mnttab mpref; 51 if ((f = fopen ("/etc/mnttab", "r")) == NULL)
|