Searched refs:boot (Results 1 - 25 of 255) sorted by relevance

1234567891011

/freebsd-10-stable/sbin/fsck_msdosfs/
H A Dboot.c29 __RCSID("$NetBSD: boot.c,v 1.11 2006/06/05 16:51:18 christos Exp ");
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->bpbSecPerClust = block[13];
68 boot
238 writefsinfo(int dosfs, struct bootblock *boot) argument
[all...]
H A Dcheck.c47 struct bootblock boot; local
75 if (readboot(dosfs, &boot) == FSFATAL) {
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 Dfat.c67 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 Ddir.c216 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 DMakefile9 SRCS= main.c check.c boot.c fat.c dir.c fsutil.c
/freebsd-10-stable/release/ia64/
H A Dmkisoimages.sh46 # 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-stable/release/powerpc/
H A Dmkisoimages.sh27 # 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...]
/freebsd-10-stable/sys/boot/i386/kgzldr/
H A Dkgzldr.h34 int boot(int);
/freebsd-10-stable/release/amd64/
H A Dmake-uefi-memstick.sh41 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}
/freebsd-10-stable/release/arm/
H A DBEAGLEBONE.conf8 EMBEDDEDPORTS="sysutils/u-boot-beaglebone"
20 UBOOT_DIR="/usr/local/share/u-boot/u-boot-beaglebone"
27 chroot ${CHROOTDIR} cp -p ${UBOOT_DIR}/u-boot.img ${FATMOUNT}/u-boot.img
28 chroot ${CHROOTDIR} cp ${UBOOT_DIR}/boot.scr ${FATMOUNT}/boot.scr
29 chroot ${CHROOTDIR} cp -p ${UFSMOUNT}/boot/ubldr.bin \
31 chroot ${CHROOTDIR} ln ${UFSMOUNT}/boot/dtb/beaglebone.dtb \
32 ${UFSMOUNT}/boot/dt
[all...]
H A DPANDABOARD.conf8 EMBEDDEDPORTS="sysutils/u-boot-pandaboard"
20 UBOOT_DIR="/usr/local/share/u-boot/u-boot-pandaboard"
27 chroot ${CHROOTDIR} cp -p ${UBOOT_DIR}/u-boot.img ${FATMOUNT}/u-boot.img
28 chroot ${CHROOTDIR} cp ${UBOOT_DIR}/boot.scr ${FATMOUNT}/boot.scr
29 chroot ${CHROOTDIR} cp -p ${UFSMOUNT}/boot/ubldr.bin \
H A DGUMSTIX.conf9 EMBEDDEDPORTS="sysutils/u-boot-duovero"
21 UBOOT_DIR="/usr/local/share/u-boot/u-boot-duovero"
28 chroot ${CHROOTDIR} cp -p ${UBOOT_DIR}/u-boot.img ${FATMOUNT}/u-boot.img
29 chroot ${CHROOTDIR} cp ${UBOOT_DIR}/boot.scr ${FATMOUNT}/boot.scr
30 chroot ${CHROOTDIR} cp -p ${UFSMOUNT}/boot/ubldr.bin \
H A DWANDBOARD.conf9 EMBEDDEDPORTS="sysutils/u-boot-wandboard"
22 UBOOT_DIR="/usr/local/share/u-boot/u-boot-wandboard"
23 UBOOT_FILES="u-boot.imx"
30 chroot ${CHROOTDIR} cp ${UBOOT_DIR}/boot.scr ${FATMOUNT}/boot.scr
32 chroot ${CHROOTDIR} cp -p ${UFSMOUNT}/boot/ubldr.bin \
34 chroot ${CHROOTDIR} ln ${UFSMOUNT}/boot/dtb/imx6dl-wandboard.dtb \
35 ${UFSMOUNT}/boot/dtb/imx6dl-wandboard-revb1.dtb
36 chroot ${CHROOTDIR} ln ${UFSMOUNT}/boot/dt
[all...]
H A DRPI2.conf9 EMBEDDEDPORTS="sysutils/u-boot-rpi2"
21 UBOOT_DIR="/usr/local/share/u-boot/u-boot-rpi2"
23 fixup_x.dat start.elf start_cd.elf start_x.elf u-boot.bin"
33 chroot ${CHROOTDIR} cp -p ${UFSMOUNT}/boot/ubldr.bin \
35 chroot ${CHROOTDIR} cp -p ${UFSMOUNT}/boot/dtb/rpi2.dtb \
37 chroot ${CHROOTDIR} cp ${UBOOT_DIR}/boot.scr ${FATMOUNT}/boot.scr
/freebsd-10-stable/tools/tools/zfsboottest/
H A DMakefile3 .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-stable/release/tools/
H A Dec2.conf34 # them from the image allows it to boot faster.
62 # The console is not interactive, so we might as well boot quickly.
63 echo 'autoboot_delay="-1"' >> ${DESTDIR}/boot/loader.conf
64 echo 'beastie_disable="YES"' >> ${DESTDIR}/boot/loader.conf
69 echo 'boot_multicons="YES"' >> ${DESTDIR}/boot/loader.conf
74 echo 'hw.broken_txfifo="1"' >> ${DESTDIR}/boot/loader.conf
76 # The first time the AMI boots, the installed "first boot" scripts
/freebsd-10-stable/release/i386/
H A Dmake-memstick.sh41 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-stable/sys/gnu/dts/arm/
H A Dimx53-qsrb.dts57 regulator-boot-on;
65 regulator-boot-on;
73 regulator-boot-on;
81 regulator-boot-on;
88 regulator-boot-on;
96 regulator-boot-on;
104 regulator-boot-on;
110 regulator-boot-on;
118 regulator-boot-on;
123 regulator-boot
[all...]
H A Dpicoxcell-pc7302-pc3x2.dts54 boot@100000 {
59 redundant-boot@200000 {
64 boot-env@300000 {
69 redundant-boot-env@320000 {
H A Dpicoxcell-pc7302-pc3x3.dts60 boot@100000 {
65 redundant-boot@200000 {
70 boot-env@300000 {
75 redundant-boot-env@320000 {
/freebsd-10-stable/sbin/reboot/
H A DMakefile10 MLINKS+= boot_${MACHINE}.8 boot.8
14 MLINKS+= boot_i386.8 boot.8
/freebsd-10-stable/tools/tools/bootparttest/
H A DMakefile3 .PATH: ${.CURDIR}/../../../sys/boot/common
12 CFLAGS= -I${.CURDIR}/../../../sys/boot/common -I. \
/freebsd-10-stable/tools/tools/nanobsd/pcengines/
H A Dcommon.conf62 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-stable/usr.sbin/pc-sysinstall/backend/
H A Dfunctions-cleanup.sh48 # 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-stable/tools/tools/sysdoc/
H A DMakefile4 sh ${.CURDIR}/sysdoc.sh -k /boot/kernel

Completed in 341 milliseconds

1234567891011