Home
last modified time | relevance | path

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

/freebsd-13.1/libexec/bootpd/
H A Dbootpd.c633 char *homedir, *bootfile; in handle_request() local
851 bootfile = NULL; in handle_request()
855 if (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()
888 if (bootfile) { in handle_request()
889 if (bootfile[0] != '/') in handle_request()
[all …]
H A Dbootpd.h96 unsigned bootfile :1, member
170 struct shared_string *bootfile, member
H A Dbootptab.mcs9 # bf -- bootfile
10 # bs -- bootfile size in 512-octet blocks
H A Ddumptab.c134 if (hp->flags.bootfile) {
135 fprintf(fp, "\\\n\t:bf=%s:", hp->bootfile->string);
H A Dbootptab.cmu8 # bf -- bootfile
9 # bs -- bootfile size in 512-octet blocks
H A 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.
H A Dreadfile.c866 PARSE_STR(bootfile);
1441 DUP_LINK(bootfile);
1922 del_string(hostptr->bootfile);
/freebsd-13.1/stand/lua/
H A Dconfig.lua637 local bootfile = loader.getenv("bootfile")
640 if bootfile == nil then
641 bootfile = "kernel"
643 bootfile = bootfile .. ";kernel"
646 return tryLoad(bootfile)
/freebsd-13.1/stand/libsa/
H A 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()
H A Dglobals.c23 char bootfile[FNAME_SIZE]; /* bootp says to boot this */ variable
H A Dnet.h80 extern char bootfile[FNAME_SIZE];
/freebsd-13.1/stand/defaults/
H A Dloader.conf15 bootfile="kernel" # Kernel name (possibly absolute path)
/freebsd-13.1/lib/geom/part/
H A Dgeom_part.c1075 gpart_bootfile_read(const char *bootfile, ssize_t *size) in gpart_bootfile_read() argument
1081 if (stat(bootfile, &sb) == -1) in gpart_bootfile_read()
1082 err(EXIT_FAILURE, "%s", bootfile); in gpart_bootfile_read()
1084 errx(EXIT_FAILURE, "%s: not a regular file", bootfile); in gpart_bootfile_read()
1086 errx(EXIT_FAILURE, "%s: empty file", bootfile); in gpart_bootfile_read()
1088 errx(EXIT_FAILURE, "%s: file too big (%zu limit)", bootfile, in gpart_bootfile_read()
1093 fd = open(bootfile, O_RDONLY); in gpart_bootfile_read()
1095 err(EXIT_FAILURE, "%s", bootfile); in gpart_bootfile_read()
1100 err(EXIT_FAILURE, "%s", bootfile); in gpart_bootfile_read()
/freebsd-13.1/cddl/contrib/opensolaris/lib/libdtrace/common/
H A 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-13.1/usr.sbin/crashinfo/
H A Dcrashinfo.sh97 for k in `sysctl -n kern.bootfile` $(ls -t /boot/*/kernel); do
/freebsd-13.1/stand/common/
H A 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-13.1/sys/conf/
H A Dkern.post.mk402 -thiskernel=`sysctl -n kern.bootfile || echo /boot/kernel/kernel` ; \
418 sysctl kern.bootfile=${DESTDIR}${KODIR}.old/"`basename "$$thiskernel"`" ; \
/freebsd-13.1/stand/i386/libi386/
H A Dpxe.h480 uint8_t bootfile[128]; /* boot filename */ member
/freebsd-13.1/stand/forth/
H A Dsupport.4th1369 \ 1. The "bootfile" environment variable
1383 s" bootfile" getenv dup -1 <> if
1404 \ 1. The "bootfile" environment variable
1486 \ 1. The "bootfile" environment variable
/freebsd-13.1/usr.sbin/syslogd/
H A Dsyslogd.c397 static char bootfile[MAXPATHLEN]; /* booted kernel file */ variable
784 (void)strlcpy(bootfile, getbootfile(), sizeof(bootfile)); in main()
2745 "kernel boot file is %s", bootfile); in init()
/freebsd-13.1/usr.sbin/freebsd-update/
H A Dfreebsd-update.sh738 BOOTFILE=`sysctl -n kern.bootfile`
881 BOOTFILE=`sysctl -n kern.bootfile`
1018 BOOTFILE=`sysctl -n kern.bootfile`
/freebsd-13.1/sys/kern/
H A Dkern_mib.c146 SYSCTL_STRING(_kern, KERN_BOOTFILE, bootfile, CTLFLAG_RW | CTLFLAG_MPSAFE,
/freebsd-13.1/tools/tools/sysdoc/
H A Dtunables.mdoc551 kern.bootfile