Searched refs:bootfile (Results 1 - 17 of 17) sorted by relevance

/freebsd-13-stable/stand/defaults/
H A Dloader.conf15 bootfile="kernel" # Kernel name (possibly absolute path)
/freebsd-13-stable/stand/libsa/
H A Dglobals.c23 char bootfile[FNAME_SIZE]; /* bootp says to boot this */ variable
H A Dnet.h80 extern char bootfile[FNAME_SIZE];
H A Dbootp.c162 strncpy(bp->bp_file, bootfile, sizeof(bp->bp_file));
223 bcopy(rbootp->bp_file, bootfile, sizeof(bootfile));
224 bootfile[sizeof(bootfile) - 1] = '\0';
606 {67, __TXT, "bootfile-name"},
/freebsd-13-stable/libexec/bootpd/
H A Dbootpd.h96 unsigned bootfile :1, member in struct:flag
146 * The hostname, home directory, and bootfile are all shared strings.
171 struct shared_string *bootfile,
170 struct shared_string *bootfile, member in struct:host
H A Dbootpd.c645 char *homedir, *bootfile;
813 * Fill in the client's proper bootfile.
831 * Yes Yes Null Send home/boot or bootfile
860 * Determine client's requested homedir and bootfile.
863 bootfile = NULL;
866 bootfile = strrchr(homedir, '/');
867 if (bootfile) {
868 if (homedir == bootfile)
870 *bootfile++ = '\0';
873 bootfile
641 char *homedir, *bootfile; local
[all...]
H A Ddumptab.c62 #\tbf -- bootfile\n\
63 #\tbs -- bootfile size in 512-octet blocks\n\
142 if (hp->flags.bootfile) {
143 fprintf(fp, "\\\n\t:bf=%s:", hp->bootfile->string);
H A Dreadfile.c880 PARSE_STR(bootfile);
1461 DUP_LINK(bootfile);
1950 del_string(hostptr->bootfile);
/freebsd-13-stable/lib/geom/part/
H A Dgeom_part.c1075 gpart_bootfile_read(const char *bootfile, ssize_t *size) argument
1081 if (stat(bootfile, &sb) == -1)
1082 err(EXIT_FAILURE, "%s", bootfile);
1084 errx(EXIT_FAILURE, "%s: not a regular file", bootfile);
1086 errx(EXIT_FAILURE, "%s: empty file", bootfile);
1088 errx(EXIT_FAILURE, "%s: file too big (%zu limit)", bootfile,
1093 fd = open(bootfile, O_RDONLY);
1095 err(EXIT_FAILURE, "%s", bootfile);
1100 err(EXIT_FAILURE, "%s", bootfile);
/freebsd-13-stable/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-stable/usr.sbin/crashinfo/
H A Dcrashinfo.sh97 for k in `sysctl -n kern.bootfile` $(ls -t /boot/*/kernel); do
/freebsd-13-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_open.c1297 * 'kern.bootfile' sysctl value tells us exactly which file is being
1302 char bootfile[MAXPATHLEN]; local
1305 size_t len = sizeof(bootfile);
1308 if (sysctlbyname("kern.bootfile", bootfile, &len, NULL, 0) != 0)
1309 strlcpy(bootfile, "kernel", sizeof(bootfile));
1311 if ((p = strrchr(bootfile, '/')) != NULL)
1314 p = bootfile;
/freebsd-13-stable/stand/i386/libi386/
H A Dpxe.h480 uint8_t bootfile[128]; /* boot filename */ member in struct:__anon8181
/freebsd-13-stable/sys/conf/
H A Dkern.post.mk398 -thiskernel=`sysctl -n kern.bootfile || echo /boot/kernel/kernel` ; \
414 sysctl kern.bootfile=${DESTDIR}${KODIR}.old/"`basename "$$thiskernel"`" ; \
/freebsd-13-stable/sys/kern/
H A Dkern_mib.c146 SYSCTL_STRING(_kern, KERN_BOOTFILE, bootfile, CTLFLAG_RW | CTLFLAG_MPSAFE,
/freebsd-13-stable/usr.sbin/freebsd-update/
H A Dfreebsd-update.sh702 BOOTFILE=`sysctl -n kern.bootfile`
845 BOOTFILE=`sysctl -n kern.bootfile`
939 BOOTFILE=`sysctl -n kern.bootfile`
1506 # replaced by ${KERNELDIR} (which is `sysctl -n kern.bootfile` minus the
/freebsd-13-stable/usr.sbin/syslogd/
H A Dsyslogd.c393 static int use_bootfile; /* log entire bootfile for every kern msg */
397 static char bootfile[MAXPATHLEN]; /* booted kernel file */ variable
783 (void)strlcpy(bootfile, getbootfile(), sizeof(bootfile));
2749 "kernel boot file is %s", bootfile);

Completed in 267 milliseconds