mntent
extern struct mntent *mnttabsearch(char *, int);
extern struct mntent *getmnttab(void);
extern struct mntent *mnttabsearch();
extern struct mntent *getmnttab();
static struct mntent *
struct mntent *mnt;
struct mntent *new;
new = (struct mntent *)xmalloc(sizeof (*mnt));
struct mntent *mnt;
struct mntent *
struct mntent *mnt;
struct mntent *first = (struct mntent *)0;
else if (first == (struct mntent *)0)
return ((struct mntent *)0);
struct mntent *
return ((struct mntent *)0);
struct mntent *pm_mnt;
static struct mntent *mygetmntent(FILE *, char *);
static struct mntent *allocmntent(struct mntent *);
static struct mntent *mygetmntent();
static struct mntent *allocmntent();
static struct mntent *
static struct mntent mt;
struct mntent *dt;
static dev_t devfromopts(struct mntent *);
struct mntent *mnt;
devfromopts(struct mntent *mnt)
struct mnttab mntent;
while (getmntent(file, &mntent) == 0) {
if (mntent.mnt_mountp != NULL &&
strcmp(mntent.mnt_mountp, mountp) == 0 &&
mntent.mnt_fstype != NULL &&
strcmp(mntent.mnt_fstype, MNTTYPE_TMPFS) == 0) {
struct mnttab *mntent;
mntent = search_mnttab(NULL, unrawname(name), devstr, str_size);
if (mntent == NULL)
if (hasmntopt(mntent, MNTOPT_RO) != 0)
mount_point = strdup(mntent->mnt_mountp);
(void) strlcpy(devstr, mntent->mnt_special, str_size);
struct mnttab *mntent;
mntent = search_mnttab(NULL, fs, NULL, 0);
if (mntent == NULL)
mountp = mntent->mnt_mountp;
struct mnttab mntent;
while (getmntent(file, &mntent) == 0) {
if (mntent.mnt_mountp != NULL &&
strcmp(mntent.mnt_mountp, mountp) == 0 &&
mntent.mnt_fstype != NULL &&
strcmp(mntent.mnt_fstype, MNTTYPE_UFS) == 0) {
struct mntent *mnt;
struct mntent *mnt;