Searched refs:mnttab (Results 1 - 25 of 165) sorted by relevance

1234567

/illumos-gate/usr/src/cmd/tsol/demo/
H A Dgetmounts.sh28 cut -f2 /etc/mnttab | while read mntpnt; do
/illumos-gate/usr/src/lib/lvm/libmeta/common/hdrs/
H A Dmeta_lib_prv.h34 #include <sys/mnttab.h>
/illumos-gate/usr/src/uts/common/sys/
H A Dmnttab.h41 #define MNTTAB "/etc/mnttab"
56 * The fields in struct extmnttab should match those in struct mnttab until new
60 * The fields in struct mnttab, struct extmnttab and struct mntentbuf must all
63 struct mnttab { struct
89 extern int getmntent(FILE *, struct mnttab *);
91 extern int getmntany(FILE *, struct mnttab *, struct mnttab *);
92 extern char *hasmntopt(struct mnttab *, char *);
/illumos-gate/usr/src/cmd/rexd/
H A Dmntent.c33 #include <sys/mnttab.h>
35 static struct mnttab *mntp = 0;
37 int getmntent(FILE *mnttabp, struct mnttab *mp);
41 struct mnttab *
46 mntp = (struct mnttab *)calloc(1, sizeof (struct mnttab));
97 mnttabscan(FILE *mnttabp, struct mnttab *mnt)
170 * struct mnttab *mp;
193 * struct mnttab *
200 * return ((struct mnttab *)
[all...]
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dauto_mnttab.c32 #include <sys/mnttab.h>
40 * snapshots of the in-kernel mnttab. This function should be removed
/illumos-gate/usr/src/lib/libtsol/common/
H A Dgetpathbylabel.c46 #include <sys/mnttab.h>
54 struct mnttab *mntl_mnt;
104 tsol_mnt_free(struct mnttab *mnt)
125 struct mnttab *mnt = mlp->mntl_mnt;
135 static struct mnttab *
136 mntdup(struct mnttab *mnt)
138 struct mnttab *new;
140 new = (struct mnttab *)malloc(sizeof (*new));
178 struct mnttab mnt;
192 mntl->mntl_mnt = mntdup((struct mnttab *)(
[all...]
/illumos-gate/usr/src/cmd/fs.d/
H A Dfslib.h36 #include <sys/mnttab.h>
40 * mnttab structures from /etc/mnttab.
64 mntlist_t *fsgetmlast(mntlist_t *, struct mnttab *);
H A Dumount.c38 #include <sys/mnttab.h>
72 char mnttab[MAXPATHLEN + 1]; variable
83 * The basic mount struct that describes an mnttab entry.
88 struct mnttab ment; /* the mnttab data */
112 "/etc/mnttab",
129 static void doexec(struct mnttab *);
141 static mountent_t *new_mountent(struct mnttab *);
148 struct mnttab mget;
215 * mnttab ma
[all...]
/illumos-gate/usr/src/cmd/svc/milestone/
H A Dfs-minimal41 readmnttab / < /etc/mnttab
50 mounted $mountp $mntopts $fstype < /etc/mnttab && continue
66 mounted /var/run - tmpfs < /etc/mnttab
79 mounted $mountp - zfs < /etc/mnttab && continue
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs/
H A Dzfs_003_neg.ksh52 MNTTAB=/etc/mnttab
/illumos-gate/usr/src/cmd/fs.d/ufs/df/
H A Ddf.c53 #include <sys/mnttab.h>
83 static void dfreemnt(char *, struct mnttab *);
87 static int mdev(char *, struct mnttab **);
89 static struct mnttab *mntdup(struct mnttab *mnt);
136 struct mnttab *mntl_mnt;
153 struct mnttab mnt;
367 struct mnttab *mp;
558 dfreemnt(char *file, struct mnttab *mnt)
687 struct mnttab mn
688 FILE *mnttab; local
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetmntent.c34 #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...]
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzoneadm.h100 struct mnttab *root_mnttab;
108 extern int zfm_print(const struct mnttab *mntp, void *unused);
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpusg.h49 #include <sys/mnttab.h>
57 * make mnttab look like mtab
60 #define mntent mnttab
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_mount.c34 #include <sys/mnttab.h>
49 struct mnttab m;
57 /* look in mnttab */
H A Dmetagetroot.c36 #include <sys/mnttab.h>
47 struct mnttab mp;
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_add/
H A Dzpool_add.kshlib58 # Find the storage device in /etc/mnttab
62 typeset mnttab="/etc/mnttab"
63 typeset tmpfile="/tmp/mnttab.tmp"
68 cat $mnttab | grep "^/dev/dsk" >$tmpfile
/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones_lofs.c37 #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...]
/illumos-gate/usr/src/cmd/initpkg/
H A DrcS.sh57 mnttab=/etc/mnttab
/illumos-gate/usr/src/cmd/fs.d/ufs/lockfs/
H A Dlockfs.c38 #include <sys/mnttab.h>
425 FILE *mnttab; local
426 struct mnttab mnt, *mntp = &mnt;
430 if ((mnttab = fopen(MNTTAB, "r")) == NULL) {
435 while ((getmntent(mnttab, mntp)) == 0) {
449 fclose(mnttab);
/illumos-gate/usr/src/cmd/iscsid/
H A Discsi-initiator120 /usr/bin/grep " $mountp " /etc/mnttab >/dev/null \
163 /usr/bin/grep " $iscsilun " /etc/mnttab >/dev/null 2>&1
185 /usr/bin/grep " $mountp " /etc/mnttab >/dev/null 2>&1
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dfs_mounts.c30 * 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...]
/illumos-gate/usr/src/cmd/fs.d/ufs/mount/
H A Dmount.c65 #include <sys/mnttab.h>
82 static int largefiles = 0; /* flag - add default nolargefiles to mnttab */
93 static int eatmntopt(struct mnttab *, char *);
95 static void fixopts(struct mnttab *, char *);
96 static void mountfs(struct mnttab *);
99 static void rmopt(struct mnttab *, char *);
129 struct mnttab mntent;
168 struct mnttab mnt;
414 mountfs(struct mnttab *mnt)
531 * so that it shows up in the mnttab o
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/tunefs/
H A Dtunefs.c68 #include <sys/mnttab.h>
126 FILE *mnttab; local
127 struct mnttab mntbuf;
134 if ((mnttab = fopen(MNTTAB, "r")) == NULL)
136 while (getmntent(mnttab, &mntbuf) == NULL)
145 fclose(mnttab);
165 * For performance, don't search mnttab unless necessary
170 * If mounted directory, search mnttab for special
176 * If mounted device, search mnttab for mountpoint
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dmntdata.h30 #include <sys/mnttab.h>
54 timespec_t mnts_last_mtime; /* mnttab modification time. */

Completed in 153 milliseconds

1234567