Searched refs:MNTTAB (Results 1 - 25 of 80) sorted by relevance

1234

/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs/
H A Dzfs_003_neg.ksh38 # (2) MNTTAB cannot be opened
52 MNTTAB=/etc/mnttab
54 for file in $ZFS_DEV $MNTTAB; do
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_lib_prv.c50 if ((mfp = fopen(MNTTAB, "r")) == NULL)
H A Dmeta_mount.c59 (void) mdsyserror(ep, errno, MNTTAB);
H A Dmetagetroot.c50 (void) mdsyserror(ep, errno, MNTTAB);
/illumos-gate/usr/src/lib/libbc/inc/include/
H A Dmntent.h42 #define MNTTAB "/etc/fstab" macro
/illumos-gate/usr/src/uts/common/sys/
H A Dmnttab.h41 #define MNTTAB "/etc/mnttab" macro
H A Dmntent.h37 #define MNTTAB "/etc/mnttab" macro
/illumos-gate/usr/src/cmd/fs.d/
H A DMakefile37 MNTTAB= mnttab macro
75 ROOTETCMNTTAB= $(MNTTAB:%=$(ROOTETC)/%)
116 all_local: $(PROG) $(ROOTFS_PROG) $(SPPROG) $(MNTTAB) \
179 $(MNTTAB):
180 touch $(MNTTAB)
195 $(RM) $(PROG) $(ROOTFS_PROG) $(SPPROG) $(MNTTAB) $(DEFAULTFILES) \
/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones_lofs.c43 #define MNTTAB "/etc/mnttab" macro
70 fp = fopen(MNTTAB, "r");
72 _z_program_error(ERR_OPEN_READ, MNTTAB, errno,
/illumos-gate/usr/src/cmd/initpkg/
H A Dumountall.sh39 MNTTAB=/etc/mnttab
386 exec < $MNTTAB
398 error=`tail -r $MNTTAB | doumounts`
/illumos-gate/usr/src/cmd/fs.d/smbclnt/umount/
H A Dumount.c168 fp = fopen(MNTTAB, "r");
170 pr_err("%s: %s\n", MNTTAB, strerror(errno));
/illumos-gate/usr/src/cmd/stat/common/
H A Dmnt.c85 if (stat(MNTTAB, &buf) == 0) {
90 if ((mpt = fopen(MNTTAB, "r"))) {
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpusg.h59 #define MOUNTED MNTTAB
/illumos-gate/usr/src/cmd/fs.d/ufs/quot/
H A Dquot.c198 fstab = fopen(MNTTAB, "r");
200 (void) fprintf(stderr, "quot: no %s file\n", MNTTAB);
250 fstab = fopen(MNTTAB, "r");
252 (void) fprintf(stderr, "quot: no %s file\n", MNTTAB);
487 fstab = fopen(MNTTAB, "r");
489 (void) fprintf(stderr, "quot: no %s file\n", MNTTAB);
/illumos-gate/usr/src/cmd/fs.d/ufs/lockfs/
H A Dlockfs.c430 if ((mnttab = fopen(MNTTAB, "r")) == NULL) {
431 fprintf(stderr, "Can't open %s\n", MNTTAB);
432 perror(MNTTAB);
/illumos-gate/usr/src/cmd/fs.d/ufs/df/
H A Ddf.c261 if ((mtabp = fopen(MNTTAB, "r")) == NULL) {
263 perror(MNTTAB);
692 mnttab = fopen(MNTTAB, "r");
728 if ((mntp = fopen(MNTTAB, "r")) == 0) {
730 perror(MNTTAB);
1028 if ((mounted = fopen(MNTTAB, "r")) == NULL) {
1030 perror(MNTTAB);
/illumos-gate/usr/src/cmd/fs.d/nfs/rquotad/
H A Drpc.rquotad.c425 if ((fstab = fopen(MNTTAB, "r")) == NULL) {
426 syslog(LOG_ERR, "can not open %s: %m ", MNTTAB);
488 if (stat(MNTTAB, &sb) < 0) {
489 syslog(LOG_ERR, "can't stat %s: %m", MNTTAB);
552 mt = fopen(MNTTAB, "r");
554 syslog(LOG_ERR, "can't read %s: %m", MNTTAB);
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c231 if ((mtab = fopen(MNTTAB, "r")) == NULL) {
233 perror(MNTTAB);
281 if ((mtab = fopen(MNTTAB, "r")) == NULL) {
283 perror(MNTTAB);
718 if ((fstab = fopen(MNTTAB, "r")) == NULL) {
719 fprintf(stderr, "%s: ", MNTTAB);
/illumos-gate/usr/src/cmd/fs.d/ufs/repquota/
H A Drepquota.c204 if ((mtab = fopen(MNTTAB, "r")) == NULL) {
206 perror(MNTTAB);
449 if ((fstab = fopen(MNTTAB, "r")) == NULL) {
450 (void) fprintf(stderr, "%s: ", MNTTAB);
/illumos-gate/usr/src/cmd/fs.d/nfs/umount/
H A Dumount.c216 fp = fopen(MNTTAB, "r");
218 pr_err("%s: %s\n", MNTTAB, strerror(errno));
/illumos-gate/usr/src/cmd/fs.d/ufs/quotaon/
H A Dquotaon.c204 mtab = fopen(MNTTAB, "r");
206 fprintf(stderr, "Can't open %s\n", MNTTAB);
/illumos-gate/usr/src/cmd/fs.d/ufs/edquota/
H A Dedquota.c132 MNTTAB, QFNAME);
666 if ((mtab = fopen(MNTTAB, "r")) == (FILE *)0) {
838 if ((fstab = fopen(MNTTAB, "r")) == NULL) {
839 (void) fprintf(stderr, "%s: ", MNTTAB);
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Dosspec.c181 if ((mnttab_fd = open (MNTTAB, O_RDONLY)) < 0) {
/illumos-gate/usr/src/cmd/luxadm/
H A Dsetboot.c118 fname = MNTTAB;
/illumos-gate/usr/src/lib/libtsol/common/
H A Dgetpathbylabel.c180 if ((mounted = fopen(MNTTAB, "rF")) == NULL) {
181 perror(MNTTAB);

Completed in 83 milliseconds

1234