/freebsd/libexec/bootpd/ |
H A D | bootpd.c | 627 char *homedir, *bootfile; in handle_request() local 845 bootfile = NULL; in handle_request() 848 bootfile = strrchr(homedir, '/'); in handle_request() 849 if (bootfile) { in handle_request() 850 if (homedir == bootfile) in handle_request() 852 *bootfile++ = '\0'; in handle_request() 855 bootfile = homedir; in handle_request() 861 (bootfile) ? bootfile : ""); in handle_request() 870 if (hp->flags.bootfile) in handle_request() 871 bootfile = hp->bootfile->string; in handle_request() [all …]
|
H A D | bootpd.h | 94 unsigned bootfile :1, member 168 struct shared_string *bootfile, member
|
H A D | bootptab.mcs | 8 # bf -- bootfile 9 # bs -- bootfile size in 512-octet blocks
|
H A D | dumptab.c | 128 if (hp->flags.bootfile) { in dump_host() 129 fprintf(fp, "\\\n\t:bf=%s:", hp->bootfile->string); in dump_host()
|
H A D | bootptab.cmu | 8 # bf -- bootfile 9 # bs -- bootfile size in 512-octet blocks
|
H A D | Changes | 56 Fix code to build bootfile name based on combination of 57 client requested name and bootfile specifications. 93 Improve logic for building bootfile pathname, so a path 271 Add support for rfc1085 "bootfile size" tag.
|
H A D | readfile.c | 855 PARSE_STR(bootfile); in eval_symbol() 1418 DUP_LINK(bootfile); in fill_defaults() 1887 del_string(hostptr->bootfile); in free_host()
|
/freebsd/stand/lua/ |
H A D | config.lua | 748 local bootfile = loader.getenv("bootfile") 751 if bootfile == nil then 752 bootfile = "kernel" 754 bootfile = bootfile .. ";kernel" 757 return tryLoad(bootfile)
|
/freebsd/stand/libsa/ |
H A D | bootp.c | 157 strncpy(bp->bp_file, bootfile, sizeof(bp->bp_file)); in bootp() 218 bcopy(rbootp->bp_file, bootfile, sizeof(bootfile)); in bootp() 219 bootfile[sizeof(bootfile) - 1] = '\0'; in bootp()
|
H A D | globals.c | 20 char bootfile[FNAME_SIZE]; /* bootp says to boot this */ variable
|
H A D | net.h | 78 extern char bootfile[FNAME_SIZE];
|
/freebsd/lib/geom/part/ |
H A D | geom_part.c | 1074 gpart_bootfile_read(const char *bootfile, ssize_t *size) in gpart_bootfile_read() argument 1080 if (stat(bootfile, &sb) == -1) in gpart_bootfile_read() 1081 err(EXIT_FAILURE, "%s", bootfile); in gpart_bootfile_read() 1083 errx(EXIT_FAILURE, "%s: not a regular file", bootfile); in gpart_bootfile_read() 1085 errx(EXIT_FAILURE, "%s: empty file", bootfile); in gpart_bootfile_read() 1087 errx(EXIT_FAILURE, "%s: file too big (%zu limit)", bootfile, in gpart_bootfile_read() 1092 fd = open(bootfile, O_RDONLY); in gpart_bootfile_read() 1094 err(EXIT_FAILURE, "%s", bootfile); in gpart_bootfile_read() 1099 err(EXIT_FAILURE, "%s", bootfile); in gpart_bootfile_read()
|
/freebsd/usr.sbin/bhyve/ |
H A D | libslirp.h | 168 const char *bootfile; member 236 const char *tftp_path, const char *bootfile,
|
/freebsd/stand/defaults/ |
H A D | loader.conf | 14 bootfile="kernel" # Kernel name (possibly absolute path)
|
/freebsd/tools/test/stress2/misc/ |
H A D | zzbuildworld.sh | 34 kernel=`sysctl -n kern.bootfile`
|
/freebsd/sbin/savecore/tests/ |
H A D | livedump_test.sh | 18 kernel=$(sysctl -n kern.bootfile)
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_open.c | 1321 char bootfile[MAXPATHLEN]; in dt_vopen() local 1324 size_t len = sizeof(bootfile); in dt_vopen() 1327 if (sysctlbyname("kern.bootfile", bootfile, &len, NULL, 0) != 0) in dt_vopen() 1328 strlcpy(bootfile, "kernel", sizeof(bootfile)); in dt_vopen() 1330 if ((p = strrchr(bootfile, '/')) != NULL) in dt_vopen() 1333 p = bootfile; in dt_vopen()
|
/freebsd/usr.sbin/crashinfo/ |
H A D | crashinfo.sh | 79 for k in `sysctl -n kern.bootfile` $(ls -t /boot/*/kernel); do
|
/freebsd/stand/common/ |
H A D | help.common | 149 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/sys/conf/ |
H A D | kern.post.mk | 407 -thiskernel=`sysctl -n kern.bootfile || echo /boot/kernel/kernel` ; \ 423 sysctl kern.bootfile=${DESTDIR}${KODIR}.old/"`basename "$$thiskernel"`" ; \
|
/freebsd/stand/i386/libi386/ |
H A D | pxe.h | 477 uint8_t bootfile[128]; /* boot filename */ member
|
/freebsd/stand/forth/ |
H A D | support.4th | 1368 \ 1. The "bootfile" environment variable 1382 s" bootfile" getenv dup -1 <> if 1403 \ 1. The "bootfile" environment variable 1485 \ 1. The "bootfile" environment variable
|
/freebsd/usr.sbin/syslogd/ |
H A D | syslogd.c | 314 static char bootfile[MAXPATHLEN]; /* booted kernel file */ variable 730 (void)strlcpy(bootfile, getbootfile(), sizeof(bootfile)); in main() 2757 "kernel boot file is %s", bootfile); in init()
|
/freebsd/usr.sbin/freebsd-update/ |
H A D | freebsd-update.sh | 789 BOOTFILE=`sysctl -n kern.bootfile` 932 BOOTFILE=`sysctl -n kern.bootfile` 1069 BOOTFILE=`sysctl -n kern.bootfile`
|
/freebsd/sys/kern/ |
H A D | kern_mib.c | 144 SYSCTL_STRING(_kern, KERN_BOOTFILE, bootfile, CTLFLAG_RW,
|