| /freebsd-14.2/usr.sbin/bsdinstall/partedit/ |
| H A D | partedit.c | 329 if (a->fstab == NULL && b->fstab == NULL) in mountpoint_sorter() 450 md->fstab->fs_spec, md->fstab->fs_file, in apply_changes() 452 md->fstab->fs_freq, md->fstab->fs_passno); in apply_changes() 587 struct fstab *fstab; in init_fstab_metadata() local 598 md->fstab = malloc(sizeof(struct fstab)); in init_fstab_metadata() 599 md->fstab->fs_spec = strdup(fstab->fs_spec); in init_fstab_metadata() 600 md->fstab->fs_file = strdup(fstab->fs_file); in init_fstab_metadata() 602 md->fstab->fs_mntops = strdup(fstab->fs_mntops); in init_fstab_metadata() 603 md->fstab->fs_type = strdup(fstab->fs_type); in init_fstab_metadata() 604 md->fstab->fs_freq = fstab->fs_freq; in init_fstab_metadata() [all …]
|
| H A D | gpart_ops.c | 645 if (md->fstab != NULL) in gpart_edit() 766 if (md->fstab != NULL) { in set_default_part_metadata() 772 free(md->fstab); in set_default_part_metadata() 773 md->fstab = NULL; in set_default_part_metadata() 776 if (md->fstab == NULL) { in set_default_part_metadata() 777 md->fstab = malloc(sizeof(struct fstab)); in set_default_part_metadata() 801 md->fstab->fs_freq = 0; in set_default_part_metadata() 805 md->fstab->fs_freq = 0; in set_default_part_metadata() 810 md->fstab->fs_freq = 1; in set_default_part_metadata() 817 md->fstab->fs_mntops = strdup(md->fstab->fs_type); in set_default_part_metadata() [all …]
|
| H A D | partedit.h | 48 struct fstab *fstab; /* fstab data for this partition */ member
|
| /freebsd-14.2/include/ |
| H A D | fstab.h | 57 struct fstab { struct 70 struct fstab *getfsent(void); argument 71 struct fstab *getfsspec(const char *); 72 struct fstab *getfsfile(const char *);
|
| /freebsd-14.2/libexec/rc/rc.d/ |
| H A D | gbde | 33 fstab="/etc/fstab" 36 fstab=$(mktemp /tmp/mtab.XXXXXX) 37 mount -p >${fstab} 68 done <${fstab} 72 rm -f ${fstab}
|
| H A D | growfs_fstab | 50 ' < /etc/fstab 52 printf "/dev/label/growfs_swap\tnone\t\tswap\tsw\t\t0\t0\n" >>/etc/fstab
|
| /freebsd-14.2/tools/tools/nanobsd/rescue/ |
| H A D | common | 81 echo "/dev/ufs/${NANO_LABEL}s1a / ufs ro,noatime 0 0" > etc/fstab 82 echo "/dev/${NANO_DRIVE}s3 /cfg ufs rw,noauto 2 2" >> etc/fstab 83 echo "tmpfs /boot/zfs tmpfs rw,size=1048576,mode=777 0 0" >> etc/fstab 84 echo "ports:/usr/ports /usr/ports nfs rw,noauto,noatime,bg,soft,intr,nfsv3 0 0" >> etc/fstab 85 # echo "/dev/ad1s1a /scratch ufs rw,noauto,noatime 0 0" >> etc/fstab 109 echo "/dev/iso9660/${BIGLABEL} / cd9660 ro,noatime 0 0" > etc/fstab 110 echo "tmpfs /boot/zfs tmpfs rw,size=1048576,mode=777 0 0" >> etc/fstab 111 echo "ports:/usr/ports /usr/ports nfs rw,noauto,noatime,bg,soft,intr,nfsv3 0 0" >> etc/fstab 112 # echo "/dev/ad1s1a /scratch ufs rw,noauto,noatime 0 0" >> etc/fstab
|
| /freebsd-14.2/sbin/dump/ |
| H A D | optr.c | 286 struct fstab * 287 allocfsent(const struct fstab *fs) in allocfsent() 289 struct fstab *new; in allocfsent() 291 new = (struct fstab *)malloc(sizeof (*fs)); in allocfsent() 304 struct fstab *pf_fstab; 312 struct fstab *fs; in dump_getfstab() 341 struct fstab * 345 struct fstab *fs; in fstabsearch() 375 struct fstab *dt; in lastdump()
|
| /freebsd-14.2/tools/tools/nanobsd/pcengines/ |
| H A D | common.conf | 67 echo "fs:/usr/ports /usr/ports nfs rw,noauto,noatime,bg,soft,intr,nfsv3 0 0" >> etc/fstab 68 echo "fs:/mnt/Backup /mnt/Backup nfs rw,noauto,noatime,bg,soft,intr,nfsv3 0 0" >> etc/fstab 69 echo "fs:/mnt/Ablage /mnt/Ablage nfs rw,noauto,noatime,bg,soft,intr,nfsv3 0 0" >> etc/fstab 70 echo "/dev/ad1s1a /z/scratch ufs rw,noauto,noatime 0 0" >> etc/fstab
|
| /freebsd-14.2/sbin/fsck/ |
| H A D | fsutil.h | 29 struct fstab; 30 int checkfstab(int, int (*)(struct fstab *), 32 int getfsopt(struct fstab *, const char *);
|
| /freebsd-14.2/usr.sbin/autofs/autofs/ |
| H A D | special_noauto | 6 sed 's/#.*//' /etc/fstab | awk '$4 ~ /noauto/ { print $2 }' 14 sed 's/#.*//' /etc/fstab | awk '
|
| /freebsd-14.2/usr.sbin/quotaon/ |
| H A D | quotaon.c | 70 static int quotaonoff(struct fstab *fs, int, int); 76 struct fstab *fs; in main() 153 quotaonoff(struct fstab *fs, int offmode, int type) in quotaonoff()
|
| /freebsd-14.2/lib/libc/gen/ |
| H A D | fstab.c | 50 static struct fstab _fs_fstab; 221 struct fstab * 230 struct fstab * 241 struct fstab *
|
| /freebsd-14.2/tools/tools/nanobsd/pcengines/Files/root/ |
| H A D | updatep2 | 56 sed -i "" "s/${NANO_DRIVE}s1/${NANO_DRIVE}s2/" /mnt/conf/base/etc/fstab 57 sed -i "" "s/${NANO_DRIVE}s1/${NANO_DRIVE}s2/" /mnt/etc/fstab
|
| /freebsd-14.2/tools/tools/nanobsd/Files/root/ |
| H A D | updatep2 | 56 sed -i "" "s/${NANO_DRIVE}s1/${NANO_DRIVE}s2/" /mnt/conf/base/etc/fstab 57 sed -i "" "s/${NANO_DRIVE}s1/${NANO_DRIVE}s2/" /mnt/etc/fstab
|
| /freebsd-14.2/release/i386/ |
| H A D | make-memstick.sh | 42 echo '/dev/ufs/FreeBSD_Install / ufs ro,noatime 1 1' > ${BASEBITSDIR}/etc/fstab 52 rm ${BASEBITSDIR}/etc/fstab
|
| /freebsd-14.2/tests/sys/cddl/zfs/tests/cli_root/zpool_create/ |
| H A D | zpool_create.kshlib | 99 typeset fstab="/etc/fstab" 105 $CAT $fstab | $GREP "^/dev" >$tmpfile
|
| /freebsd-14.2/tools/test/stress2/misc/ |
| H A D | quota4.sh | 48 /etc/fstab 53 sed -i -e "/md$mdstart/d" /etc/fstab # clean up before any panics
|
| H A D | quota8.sh | 52 /etc/fstab 65 sed -i -e "/md$mdstart/d" /etc/fstab
|
| /freebsd-14.2/release/riscv/ |
| H A D | make-memstick.sh | 45 echo '/dev/ufs/FreeBSD_Install / ufs ro,noatime 1 1' > ${BASEBITSDIR}/etc/fstab 55 rm ${BASEBITSDIR}/etc/fstab
|
| /freebsd-14.2/release/amd64/ |
| H A D | make-memstick.sh | 45 echo '/dev/ufs/FreeBSD_Install / ufs ro,noatime 1 1' > ${BASEBITSDIR}/etc/fstab 55 rm ${BASEBITSDIR}/etc/fstab
|
| /freebsd-14.2/release/arm64/ |
| H A D | make-memstick.sh | 45 echo '/dev/ufs/FreeBSD_Install / ufs ro,noatime 1 1' > ${BASEBITSDIR}/etc/fstab 55 rm ${BASEBITSDIR}/etc/fstab
|
| /freebsd-14.2/share/examples/jails/ |
| H A D | rc.conf.jails | 41 #jail_{name}_mount_enable="YES" # mount /etc/fstab.{name} 54 #jail_{name}_mount_enable="YES" # mount /etc/fstab.{name} 71 #jail_XXX_mount_enable="YES" # mount /etc/fstab.XXX
|
| /freebsd-14.2/sbin/mount/ |
| H A D | mount.c | 87 int ismounted(struct fstab *, struct statfs *, int); 216 struct fstab *fs; in main() 461 ismounted(struct fstab *fs, struct statfs *mntbuf, int mntsize) in ismounted() 813 update_options(char *opts, char *fstab, int curflags) in update_options() argument 823 remopt(fstab, MOUNT_META_OPTION_FSTAB); in update_options() 824 remopt(fstab, MOUNT_META_OPTION_CURRENT); in update_options() 833 expopt = catopt(expopt, fstab); in update_options() 903 struct fstab *fst; in putfsent()
|
| /freebsd-14.2/release/tools/ |
| H A D | vmimage.subr | 69 > ${DESTDIR}/etc/fstab 72 >> ${DESTDIR}/etc/fstab 76 >> ${DESTDIR}/etc/fstab 311 >> ${DESTDIR}/etc/fstab
|