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

/freebsd-current/stand/libsa/
H A Dglobals.c20 char bootfile[FNAME_SIZE]; /* bootp says to boot this */ variable
H A Dnet.h78 extern char bootfile[FNAME_SIZE];
H A Dbootp.c157 strncpy(bp->bp_file, bootfile, sizeof(bp->bp_file));
218 bcopy(rbootp->bp_file, bootfile, sizeof(bootfile));
219 bootfile[sizeof(bootfile) - 1] = '\0';
601 {67, __TXT, "bootfile-name"},
/freebsd-current/libexec/bootpd/
H A Dbootpd.h94 unsigned bootfile :1, member in struct:flag
144 * The hostname, home directory, and bootfile are all shared strings.
169 struct shared_string *bootfile,
168 struct shared_string *bootfile, member in struct:host
H A Dbootpd.c631 char *homedir, *bootfile;
799 * Fill in the client's proper bootfile.
817 * Yes Yes Null Send home/boot or bootfile
846 * Determine client's requested homedir and bootfile.
849 bootfile = NULL;
852 bootfile = strrchr(homedir, '/');
853 if (bootfile) {
854 if (homedir == bootfile)
856 *bootfile++ = '\0';
859 bootfile
627 char *homedir, *bootfile; local
[all...]
H A Ddumptab.c51 #\tbf -- bootfile\n\
52 #\tbs -- bootfile size in 512-octet blocks\n\
129 if (hp->flags.bootfile) {
130 fprintf(fp, "\\\n\t:bf=%s:", hp->bootfile->string);
H A Dreadfile.c861 PARSE_STR(bootfile);
1430 DUP_LINK(bootfile);
1907 del_string(hostptr->bootfile);
/freebsd-current/stand/defaults/
H A Dloader.conf14 bootfile="kernel" # Kernel name (possibly absolute path)
/freebsd-current/tools/test/stress2/misc/
H A Dzzbuildworld.sh34 kernel=`sysctl -n kern.bootfile`
/freebsd-current/usr.sbin/bhyve/
H A Dlibslirp.h168 const char *bootfile; member in struct:SlirpConfig
236 const char *tftp_path, const char *bootfile,
/freebsd-current/lib/geom/part/
H A Dgeom_part.c1074 gpart_bootfile_read(const char *bootfile, ssize_t *size) argument
1080 if (stat(bootfile, &sb) == -1)
1081 err(EXIT_FAILURE, "%s", bootfile);
1083 errx(EXIT_FAILURE, "%s: not a regular file", bootfile);
1085 errx(EXIT_FAILURE, "%s: empty file", bootfile);
1087 errx(EXIT_FAILURE, "%s: file too big (%zu limit)", bootfile,
1092 fd = open(bootfile, O_RDONLY);
1094 err(EXIT_FAILURE, "%s", bootfile);
1099 err(EXIT_FAILURE, "%s", bootfile);
/freebsd-current/usr.sbin/crashinfo/
H A Dcrashinfo.sh79 for k in `sysctl -n kern.bootfile` $(ls -t /boot/*/kernel); do
/freebsd-current/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_open.c1310 * 'kern.bootfile' sysctl value tells us exactly which file is being
1315 char bootfile[MAXPATHLEN]; local
1318 size_t len = sizeof(bootfile);
1321 if (sysctlbyname("kern.bootfile", bootfile, &len, NULL, 0) != 0)
1322 strlcpy(bootfile, "kernel", sizeof(bootfile));
1324 if ((p = strrchr(bootfile, '/')) != NULL)
1327 p = bootfile;
/freebsd-current/stand/lua/
H A Dconfig.lua743 local bootfile = loader.getenv("bootfile")
746 if bootfile == nil then
747 bootfile = "kernel"
749 bootfile = bootfile .. ";kernel"
752 return tryLoad(bootfile)
/freebsd-current/stand/i386/libi386/
H A Dpxe.h477 uint8_t bootfile[128]; /* boot filename */ member in struct:__anon837
/freebsd-current/sys/conf/
H A Dkern.post.mk411 -thiskernel=`sysctl -n kern.bootfile || echo /boot/kernel/kernel` ; \
427 sysctl kern.bootfile=${DESTDIR}${KODIR}.old/"`basename "$$thiskernel"`" ; \
/freebsd-current/usr.sbin/syslogd/
H A Dsyslogd.c408 static int use_bootfile; /* log entire bootfile for every kern msg */
412 static char bootfile[MAXPATHLEN]; /* booted kernel file */ variable
801 (void)strlcpy(bootfile, getbootfile(), sizeof(bootfile));
2697 "kernel boot file is %s", bootfile);
/freebsd-current/sys/kern/
H A Dkern_mib.c142 SYSCTL_STRING(_kern, KERN_BOOTFILE, bootfile, CTLFLAG_RW,
/freebsd-current/usr.sbin/freebsd-update/
H A Dfreebsd-update.sh789 BOOTFILE=`sysctl -n kern.bootfile`
932 BOOTFILE=`sysctl -n kern.bootfile`
1069 BOOTFILE=`sysctl -n kern.bootfile`
1636 # replaced by ${KERNELDIR} (which is `sysctl -n kern.bootfile` minus the

Completed in 287 milliseconds