Home | History | Annotate | Download | only in sysinst

Lines Matching defs:fstab

49 #include <fstab.h>
1449 /* Create the fstab. */
1451 f = target_fopen("/etc/fstab", "w");
1452 scripting_fprintf(NULL, "cat <<EOF >%s/etc/fstab\n", target_prefix());
1456 "Making %s/etc/fstab (%s).\n", target_prefix(),
1462 (void)fprintf(logfp, "Failed to make /etc/fstab!\n");
1471 scripting_fprintf(f, "# NetBSD /etc/fstab\n# See /usr/share/examples/"
1472 "fstab/ for more examples.\n");
1613 /* Add /kern, /proc and /dev/pts to fstab and make mountpoint. */
1725 /* this fstab entry uses NAME= syntax */
1744 /* this fstab entry uses the plain device name */
1787 /* extract mount options from fstab */
1954 char *fstab;
1966 * for the corresponding fstab(5) entries - all others will be
2074 /* Check the target /etc/fstab exists before trying to parse it. */
2076 target_file_exists_p("/etc/fstab") == 0) {
2083 /* Get fstab entries from the target-root /etc/fstab. */
2084 fstabsize = target_collect_file(T_FILE, &fstab, "/etc/fstab");
2094 * with proper options from /etc/fstab
2099 * Now do all entries in /etc/fstab and mount them if required
2101 error = walk(fstab, (size_t)fstabsize, fstabbuf, num_entries);
2102 free(fstab);