Home
last modified time | relevance | path

Searched refs:bootfile (Results 1 – 23 of 23) sorted by relevance

/freebsd-12-stable/libexec/bootpd/
Dbootpd.c633 char *homedir, *bootfile; in handle_request() local
851 bootfile = NULL; in handle_request()
854 bootfile = strrchr(homedir, '/'); in handle_request()
855 if (bootfile) { in handle_request()
856 if (homedir == bootfile) in handle_request()
858 *bootfile++ = '\0'; in handle_request()
861 bootfile = homedir; in handle_request()
867 (bootfile) ? bootfile : ""); in handle_request()
876 if (hp->flags.bootfile) in handle_request()
877 bootfile = hp->bootfile->string; in handle_request()
[all …]
Dbootpd.h96 unsigned bootfile :1, member
170 struct shared_string *bootfile, member
Dbootptab.mcs9 # bf -- bootfile
10 # bs -- bootfile size in 512-octet blocks
Ddumptab.c134 if (hp->flags.bootfile) {
135 fprintf(fp, "\\\n\t:bf=%s:", hp->bootfile->string);
Dbootptab.cmu8 # bf -- bootfile
9 # bs -- bootfile size in 512-octet blocks
DChanges57 Fix code to build bootfile name based on combination of
58 client requested name and bootfile specifications.
94 Improve logic for building bootfile pathname, so a path
272 Add support for rfc1085 "bootfile size" tag.
Dreadfile.c866 PARSE_STR(bootfile);
1441 DUP_LINK(bootfile);
1922 del_string(hostptr->bootfile);
/freebsd-12-stable/stand/lua/
Dconfig.lua628 local bootfile = loader.getenv("bootfile")
631 if bootfile == nil then
632 bootfile = "kernel"
634 bootfile = bootfile .. ";kernel"
637 return tryLoad(bootfile)
/freebsd-12-stable/stand/libsa/
Dbootp.c162 strncpy(bp->bp_file, bootfile, sizeof(bp->bp_file)); in bootp()
223 bcopy(rbootp->bp_file, bootfile, sizeof(bootfile)); in bootp()
224 bootfile[sizeof(bootfile) - 1] = '\0'; in bootp()
Dglobals.c23 char bootfile[FNAME_SIZE]; /* bootp says to boot this */ variable
Dnet.h80 extern char bootfile[FNAME_SIZE];
/freebsd-12-stable/lib/geom/part/
Dgeom_part.c1073 gpart_bootfile_read(const char *bootfile, ssize_t *size) in gpart_bootfile_read() argument
1079 if (stat(bootfile, &sb) == -1) in gpart_bootfile_read()
1080 err(EXIT_FAILURE, "%s", bootfile); in gpart_bootfile_read()
1082 errx(EXIT_FAILURE, "%s: not a regular file", bootfile); in gpart_bootfile_read()
1084 errx(EXIT_FAILURE, "%s: empty file", bootfile); in gpart_bootfile_read()
1086 errx(EXIT_FAILURE, "%s: file too big (%zu limit)", bootfile, in gpart_bootfile_read()
1091 fd = open(bootfile, O_RDONLY); in gpart_bootfile_read()
1093 err(EXIT_FAILURE, "%s", bootfile); in gpart_bootfile_read()
1098 err(EXIT_FAILURE, "%s", bootfile); in gpart_bootfile_read()
/freebsd-12-stable/stand/defaults/
Dloader.conf15 bootfile="kernel" # Kernel name (possibly absolute path)
/freebsd-12-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
Ddt_open.c1302 char bootfile[MAXPATHLEN]; in dt_vopen() local
1305 size_t len = sizeof(bootfile); in dt_vopen()
1308 if (sysctlbyname("kern.bootfile", bootfile, &len, NULL, 0) != 0) in dt_vopen()
1309 strlcpy(bootfile, "kernel", sizeof(bootfile)); in dt_vopen()
1311 if ((p = strrchr(bootfile, '/')) != NULL) in dt_vopen()
1314 p = bootfile; in dt_vopen()
/freebsd-12-stable/usr.sbin/crashinfo/
Dcrashinfo.sh97 for k in `sysctl -n kern.bootfile` $(ls -t /boot/*/kernel); do
/freebsd-12-stable/stand/common/
Dhelp.common149 set bootfile=<filename>[;<filename>...]
152 by setting the bootfile variable to a semicolon-separated list of
154 directories. The default bootfile set is "kernel".
/freebsd-12-stable/sys/conf/
Dkern.post.mk367 -thiskernel=`sysctl -n kern.bootfile` ; \
383 sysctl kern.bootfile=${DESTDIR}${KODIR}.old/"`basename "$$thiskernel"`" ; \
/freebsd-12-stable/stand/i386/libi386/
Dpxe.h480 uint8_t bootfile[128]; /* boot filename */ member
/freebsd-12-stable/stand/forth/
Dsupport.4th1285 \ 1. The "bootfile" environment variable
1299 s" bootfile" getenv dup -1 <> if
1320 \ 1. The "bootfile" environment variable
1402 \ 1. The "bootfile" environment variable
/freebsd-12-stable/usr.sbin/syslogd/
Dsyslogd.c392 static char bootfile[MAXLINE+1]; /* booted kernel file */ variable
762 (void)strlcpy(bootfile, getbootfile(), sizeof(bootfile)); in main()
2659 "kernel boot file is %s", bootfile); in init()
/freebsd-12-stable/sys/kern/
Dkern_mib.c144 SYSCTL_STRING(_kern, KERN_BOOTFILE, bootfile, CTLFLAG_RW | CTLFLAG_MPSAFE,
/freebsd-12-stable/usr.sbin/freebsd-update/
Dfreebsd-update.sh738 BOOTFILE=`sysctl -n kern.bootfile`
881 BOOTFILE=`sysctl -n kern.bootfile`
1018 BOOTFILE=`sysctl -n kern.bootfile`
/freebsd-12-stable/tools/tools/sysdoc/
Dtunables.mdoc551 kern.bootfile