/freebsd-10.2-release/sbin/fsck_msdosfs/ |
H A D | boot.c | 29 __RCSID("$NetBSD: boot.c,v 1.11 2006/06/05 16:51:18 christos Exp "); 31 "$FreeBSD: releng/10.2/sbin/fsck_msdosfs/boot.c 241807 2012-10-21 12:01:19Z uqs $"; 43 readboot(int dosfs, struct bootblock *boot) argument 52 perr("could not read boot block"); 57 pfatal("Invalid signature in boot block: %02x%02x", 62 memset(boot, 0, sizeof *boot); 63 boot->ValidFat = -1; 66 boot->bpbBytesPerSec = block[11] + (block[12] << 8); 67 boot 238 writefsinfo(int dosfs, struct bootblock *boot) argument [all...] |
H A D | check.c | 47 struct bootblock boot; local 75 if (readboot(dosfs, &boot) != FSOK) { 81 if (skipclean && preen && checkdirty(dosfs, &boot)) { 89 if (boot.ValidFat < 0) 95 mod |= readfat(dosfs, &boot, boot.ValidFat >= 0 ? boot.ValidFat : 0, &fat); 101 if (boot.ValidFat < 0) 102 for (i = 1; i < boot.bpbFATs; i++) { 105 mod |= readfat(dosfs, &boot, [all...] |
H A D | fat.c | 67 checkdirty(int fs, struct bootblock *boot) argument 74 if (boot->ClustMask != CLUST16_MASK && boot->ClustMask != CLUST32_MASK) 77 off = boot->bpbResSectors; 78 off *= boot->bpbBytesPerSec; 80 buffer = malloc(len = boot->bpbBytesPerSec); 91 if ((size_t)read(fs, buffer, boot->bpbBytesPerSec) != 92 boot->bpbBytesPerSec) { 101 if (buffer[0] != boot->bpbMedia || buffer[1] != 0xff) 103 if (boot 133 checkclnum(struct bootblock *boot, u_int fat, cl_t cl, cl_t *next) argument 164 _readfat(int fs, struct bootblock *boot, u_int no, u_char **buffer) argument 200 readfat(int fs, struct bootblock *boot, u_int no, struct fatEntry **fp) argument 406 comparefat(struct bootblock *boot, struct fatEntry *first, struct fatEntry *second, u_int fatnum) argument 419 clearchain(struct bootblock *boot, struct fatEntry *fat, cl_t head) argument 433 tryclear(struct bootblock *boot, struct fatEntry *fat, cl_t head, cl_t *truncp) argument 457 checkfat(struct bootblock *boot, struct fatEntry *fat) argument 558 writefat(int fs, struct bootblock *boot, struct fatEntry *fat, int correct_fat) argument 668 checklost(int dosfs, struct bootblock *boot, struct fatEntry *fat) argument [all...] |
H A D | dir.c | 216 resetDosDirSection(struct bootblock *boot, struct fatEntry *fat) argument 223 b1 = boot->bpbRootDirEnts * 32; 224 b2 = boot->bpbSecPerClust * boot->bpbBytesPerSec; 245 if (boot->flags & FAT32) { 246 if (boot->bpbRootClust < CLUST_FIRST || 247 boot->bpbRootClust >= boot->NumClusters) { 249 boot->bpbRootClust); 252 cl = fat[boot 313 delete(int f, struct bootblock *boot, struct fatEntry *fat, cl_t startcl, int startoff, cl_t endcl, int endoff, int notlast) argument 353 removede(int f, struct bootblock *boot, struct fatEntry *fat, u_char *start, u_char *end, cl_t startcl, cl_t endcl, cl_t curcl, char *path, int type) argument 390 checksize(struct bootblock *boot, struct fatEntry *fat, u_char *p, struct dosDirEntry *dir) argument 444 readDosDirSection(int f, struct bootblock *boot, struct fatEntry *fat, struct dosDirEntry *dir) argument 884 handleDirTree(int dosfs, struct bootblock *boot, struct fatEntry *fat) argument 925 reconnect(int dosfs, struct bootblock *boot, struct fatEntry *fat, cl_t head) argument [all...] |
H A D | Makefile | 9 SRCS= main.c check.c boot.c fat.c dir.c fsutil.c
|
/freebsd-10.2-release/sys/boot/sparc64/ |
H A D | Makefile.inc | 1 # $FreeBSD: releng/10.2/sys/boot/sparc64/Makefile.inc 180012 2008-06-25 21:33:28Z ru $ 3 BINDIR?= /boot
|
/freebsd-10.2-release/release/ia64/ |
H A D | mkisoimages.sh | 46 # To create a bootable CD under EFI, the boot image should be an EFI 55 mkdir -p $MNT/efi/boot $MNT/boot $MNT/boot/kernel 56 cp -R $BASE/boot/defaults $MNT/boot 57 cp $BASE/boot/kernel/kernel $MNT/boot/kernel 58 if [ -s $BASE/boot/kernel/ispfw.ko ]; then 59 cp $BASE/boot/kerne [all...] |
/freebsd-10.2-release/sys/boot/ia64/ |
H A D | Makefile.inc | 1 # $FreeBSD: releng/10.2/sys/boot/ia64/Makefile.inc 180012 2008-06-25 21:33:28Z ru $ 3 BINDIR?= /boot
|
/freebsd-10.2-release/release/powerpc/ |
H A D | mkisoimages.sh | 27 # Apple boot code 28 uudecode -o /tmp/hfs-boot-block.bz2 `dirname $0`/hfs-boot.bz2.uu 29 bzip2 -d /tmp/hfs-boot-block.bz2 30 OFFSET=$(hd /tmp/hfs-boot-block | grep 'Loader START' | cut -f 1 -d ' ') 32 dd if=$4/boot/loader of=/tmp/hfs-boot-block seek=$OFFSET conv=notrunc 34 bootable="-o bootimage=macppc;/tmp/hfs-boot-block -o no-emul-boot" 36 # pSeries/PAPR boot cod [all...] |
H A D | make-memstick.sh | 44 mkimg -s apm -p freebsd-boot:=${1}/boot/boot1.hfs -p freebsd-ufs/FreeBSD_Install:=${tempfile} -o ${2}
|
/freebsd-10.2-release/sys/boot/i386/kgzldr/ |
H A D | kgzldr.h | 26 * $FreeBSD: releng/10.2/sys/boot/i386/kgzldr/kgzldr.h 50477 1999-08-28 01:08:13Z peter $ 34 int boot(int);
|
/freebsd-10.2-release/release/amd64/ |
H A D | make-uefi-memstick.sh | 39 mkimg -s gpt -b ${1}/boot/pmbr -p efi:=${1}/boot/boot1.efifat -p freebsd-boot:=${1}/boot/gptboot -p freebsd-ufs:=${2}.part -p freebsd-swap::1M -o ${2}
|
H A D | make-memstick.sh | 45 gpart bootcode -b ${1}/boot/boot ${unit}
|
/freebsd-10.2-release/contrib/bmake/ |
H A D | makefile.in | 12 ${srcdir}/boot-strap --prefix=${prefix} -o . op=$@
|
/freebsd-10.2-release/sys/boot/efi/ |
H A D | Makefile.inc | 1 # $FreeBSD: releng/10.2/sys/boot/efi/Makefile.inc 271135 2014-09-04 21:01:10Z emaste $ 3 BINDIR?= /boot
|
/freebsd-10.2-release/tools/tools/zfsboottest/ |
H A D | Makefile | 3 .PATH: ${.CURDIR}/../../../sys/boot/zfs ${.CURDIR}/../../../sys/cddl/boot/zfs 14 -I${.CURDIR}/../../../sys/boot/zfs \ 15 -I${.CURDIR}/../../../sys/cddl/boot/zfs \
|
/freebsd-10.2-release/release/tools/ |
H A D | ec2.conf | 34 # them from the image allows it to boot faster. 61 # The console is not interactive, so we might as well boot quickly. 62 echo 'autoboot_delay="-1"' >> ${DESTDIR}/boot/loader.conf 63 echo 'beastie_disable="YES"' >> ${DESTDIR}/boot/loader.conf 66 echo 'console="comconsole"' >> ${DESTDIR}/boot/loader.conf 71 echo 'hw.broken_txfifo="1"' >> ${DESTDIR}/boot/loader.conf 73 # The first time the AMI boots, the installed "first boot" scripts
|
H A D | azure.conf | 23 echo 'console="comconsole vidconsole"' >> ${DESTDIR}/boot/loader.conf 24 echo 'comconsole_speed="115200"' >> ${DESTDIR}/boot/loader.conf
|
/freebsd-10.2-release/sys/boot/amd64/ |
H A D | Makefile.inc | 1 # Common defines for all of /sys/boot/amd64/ 3 # $FreeBSD: releng/10.2/sys/boot/amd64/Makefile.inc 281321 2015-04-09 19:36:06Z jhb $ 5 BINDIR?= /boot
|
/freebsd-10.2-release/release/i386/ |
H A D | make-memstick.sh | 39 mkimg -s gpt -b ${1}/boot/pmbr -p freebsd-boot:=${1}/boot/gptboot -p freebsd-ufs:=${2}.part -p freebsd-swap::1M -o ${2}
|
/freebsd-10.2-release/sbin/reboot/ |
H A D | Makefile | 10 MLINKS+= boot_${MACHINE}.8 boot.8 14 MLINKS+= boot_i386.8 boot.8
|
/freebsd-10.2-release/tools/tools/bootparttest/ |
H A D | Makefile | 3 .PATH: ${.CURDIR}/../../../sys/boot/common 12 CFLAGS= -I${.CURDIR}/../../../sys/boot/common -I. \
|
/freebsd-10.2-release/tools/tools/nanobsd/pcengines/ |
H A D | common.conf | 62 echo "-S9600 -h" > boot.config 63 echo "console=\"comconsole\"" > boot/loader.conf 64 echo "comconsole_speed=\"9600\"" >> boot/loader.conf 65 echo "hint.acpi.0.disabled=\"1\"" >> boot/loader.conf
|
/freebsd-10.2-release/usr.sbin/pc-sysinstall/backend/ |
H A D | functions-cleanup.sh | 48 # Make sure we haven't already added the zfs boot line when 49 # Creating a dedicated "/boot" partition 50 cat ${FSMNT}/boot/loader.conf 2>/dev/null | grep -q "vfs.root.mountfrom=" 2>/dev/null 52 echo "vfs.root.mountfrom=\"zfs:${ZPOOLNAME}/ROOT/default\"" >> ${FSMNT}/boot/loader.conf 64 cat ${FSMNT}/boot/loader.conf 2>/dev/null | grep -q 'zfs_load="YES"' 2>/dev/null 67 echo 'zfs_load="YES"' >>${FSMNT}/boot/loader.conf 77 cp /boot/zfs/* ${FSMNT}/boot/zfs/ 124 # Function which performs the specific setup for using a /boot partition 133 echo "vfs.root.mountfrom=\"${ROOTFSTYPE}:${ROOTFS}\"" >> ${FSMNT}/boot/loade [all...] |
/freebsd-10.2-release/usr.sbin/bhyveload/ |
H A D | Makefile | 12 CFLAGS+=-I${.CURDIR}/../../sys/boot/userboot
|