Home
last modified time | relevance | path

Searched refs:boot (Results 1 – 25 of 995) sorted by relevance

12345678910>>...40

/freebsd-11-stable/sbin/fsck_msdosfs/
HDboot.c48 readboot(int dosfs, struct bootblock *boot) in readboot() argument
65 memset(boot, 0, sizeof *boot); in readboot()
66 boot->ValidFat = -1; in readboot()
71 boot->bpbBytesPerSec = block[11] + (block[12] << 8); in readboot()
72 if (boot->bpbBytesPerSec < DOSBOOTBLOCKSIZE_REAL || in readboot()
73 boot->bpbBytesPerSec > DOSBOOTBLOCKSIZE || in readboot()
74 !powerof2(boot->bpbBytesPerSec)) { in readboot()
75 pfatal("Invalid sector size: %u", boot->bpbBytesPerSec); in readboot()
80 boot->bpbSecPerClust = block[13]; in readboot()
81 if (boot->bpbSecPerClust == 0 || !powerof2(boot->bpbSecPerClust)) { in readboot()
[all …]
HDfat.c170 struct bootblock *boot; member
525 return (fat->boot); in boot_of_()
559 const struct bootblock *boot = boot_of_(fat); in valid_cl() local
561 return (cl >= CLUST_FIRST && cl < boot->NumClusters); in valid_cl()
582 checkdirty(int fs, struct bootblock *boot) in checkdirty() argument
589 if (boot->ClustMask != CLUST16_MASK && boot->ClustMask != CLUST32_MASK) in checkdirty()
592 off = boot->bpbResSectors; in checkdirty()
593 off *= boot->bpbBytesPerSec; in checkdirty()
595 buffer = malloc(len = boot->bpbBytesPerSec); in checkdirty()
606 if ((size_t)read(fs, buffer, boot->bpbBytesPerSec) != in checkdirty()
[all …]
HDcheck.c52 struct bootblock boot; in checkfilesys() local
81 if (readboot(dosfs, &boot) == FSFATAL) { in checkfilesys()
87 if (skipclean && preen && checkdirty(dosfs, &boot)) { in checkfilesys()
98 mod |= readfat(dosfs, &boot, &fat); in checkfilesys()
134 freebytes = (int64_t)boot.NumFree * boot.ClusterSize; in checkfilesys()
135 badbytes = (int64_t)boot.NumBad * boot.ClusterSize; in checkfilesys()
142 if (boot.NumBad) { in checkfilesys()
147 boot.NumFiles, freestr, boot.NumFree, in checkfilesys()
148 badstr, boot.NumBad); in checkfilesys()
151 boot.NumFiles, freestr, boot.NumFree); in checkfilesys()
[all …]
HDdir.c227 struct bootblock *boot; in resetDosDirSection() local
229 boot = fat_get_boot(fat); in resetDosDirSection()
231 rootdir_size = boot->bpbRootDirEnts * 32; in resetDosDirSection()
232 cluster_size = boot->bpbSecPerClust * boot->bpbBytesPerSec; in resetDosDirSection()
253 if (boot->flags & FAT32) { in resetDosDirSection()
254 if (!fat_is_cl_head(fat, boot->bpbRootClust)) { in resetDosDirSection()
258 rootDir->head = boot->bpbRootClust; in resetDosDirSection()
304 struct bootblock *boot; in delete() local
306 boot = fat_get_boot(fat); in delete()
308 clsz = boot->bpbSecPerClust * boot->bpbBytesPerSec; in delete()
[all …]
/freebsd-11-stable/targets/pseudo/userland/misc/
HDMakefile.depend9 _sys_boot_efi= sys/boot/efi/loader sys/boot/efi/boot1
11 _sys_boot_fdt= sys/boot/fdt sys/boot/efi/fdt
14 _sys_boot_zfs= sys/boot/zfs
25 DIRDEPS+= sys/boot/common
29 sys/boot/ficl \
30 sys/boot/forth \
35 sys/boot/efi/libefi \
36 sys/boot/geli \
37 sys/boot/i386/boot0 \
38 sys/boot/i386/boot0sio \
[all …]
/freebsd-11-stable/tools/boot/
HDrootgen.sh40 mkimg -s gpt -b ${src}/boot/pmbr \
41 -p freebsd-boot:=${src}/boot/gptboot \
54 cp ${src}/boot/boot.efifat ${img}.p1
56 mkimg -s gpt -b ${src}/boot/pmbr \
70 cp ${src}/boot/boot.efifat ${img}.p1
73 mkimg -b ${src}/boot/pmbr -s gpt \
74 -p efi:=${src}/boot/boot1.efifat \
75 -p freebsd-boot:=${src}/boot/gptboot \
94 gpart add -t freebsd-boot -s 400k -a 4k ${md} # <= ~540k
104 cat > ${mntpt}/boot/loader.conf <<EOF
[all …]
HDinstall-boot.sh65 dd if=${dst}/boot/zfsboot of=/tmp/zfsboot1 count=1
68 doit dd if=${dst}/boot/zfsboot of=/dev/${dev}s${s} iseek=1 seek=1024
133 gpt0=${DESTDIR}/boot/pmbr
134 gpt2=${DESTDIR}/boot/gptboot
135 gptzfs2=${DESTDIR}/boot/gptzfsboot
138 mbr0=${DESTDIR}/boot/boot0
139 mbr2=${DESTDIR}/boot/boot
142 vtoc8=${DESTDIR}/boot/boot1
/freebsd-11-stable/sys/gnu/dts/arm/
HDmmp2-brownstone.dts45 regulator-boot-on;
51 regulator-boot-on;
57 regulator-boot-on;
63 regulator-boot-on;
69 regulator-boot-on;
75 regulator-boot-on;
81 regulator-boot-on;
87 regulator-boot-on;
93 regulator-boot-on;
99 regulator-boot-on;
[all …]
HDimx53-qsrb.dts45 regulator-boot-on;
53 regulator-boot-on;
61 regulator-boot-on;
69 regulator-boot-on;
76 regulator-boot-on;
84 regulator-boot-on;
92 regulator-boot-on;
98 regulator-boot-on;
106 regulator-boot-on;
111 regulator-boot-on;
[all …]
HDaxm5516-cpus.dtsi2 * arch/arm/boot/dts/axm5516-cpus.dtsi
81 cpu-release-addr = <0>; // Fixed by the boot loader
89 cpu-release-addr = <0>; // Fixed by the boot loader
97 cpu-release-addr = <0>; // Fixed by the boot loader
105 cpu-release-addr = <0>; // Fixed by the boot loader
113 cpu-release-addr = <0>; // Fixed by the boot loader
121 cpu-release-addr = <0>; // Fixed by the boot loader
129 cpu-release-addr = <0>; // Fixed by the boot loader
137 cpu-release-addr = <0>; // Fixed by the boot loader
145 cpu-release-addr = <0>; // Fixed by the boot loader
[all …]
HDpxa910-dkb.dts48 regulator-boot-on;
54 regulator-boot-on;
60 regulator-boot-on;
66 regulator-boot-on;
72 regulator-boot-on;
78 regulator-boot-on;
89 regulator-boot-on;
95 regulator-boot-on;
101 regulator-boot-on;
107 regulator-boot-on;
[all …]
HDtegra114-tn7.dts90 regulator-boot-on;
98 regulator-boot-on;
106 regulator-boot-on;
114 regulator-boot-on;
122 regulator-boot-on;
130 regulator-boot-on;
138 regulator-boot-on;
146 regulator-boot-on;
154 regulator-boot-on;
162 regulator-boot-on;
[all …]
HDexynos5250-arndale.dts210 regulator-boot-on;
219 regulator-boot-on;
228 regulator-boot-on;
245 regulator-boot-on;
254 regulator-boot-on;
263 regulator-boot-on;
272 regulator-boot-on;
288 regulator-boot-on;
297 regulator-boot-on;
306 regulator-boot-on;
[all …]
HDrk3288-evb-rk808.dts79 regulator-boot-on;
90 regulator-boot-on;
102 regulator-boot-on;
111 regulator-boot-on;
123 regulator-boot-on;
135 regulator-boot-on;
146 regulator-boot-on;
158 regulator-boot-on;
170 regulator-boot-on;
182 regulator-boot-on;
[all …]
/freebsd-11-stable/tools/tools/nanobsd/rescue/Files/root/
HDZFS_Create.txt3 Some remarks for setting up a zfs boot environment
6 boot
12 zpool create -o mountpoint=none boot ...
13 zpool set listsnapshots=on boot
15 zfs create -o mountpoint=/mnt boot/ROOT
16 zfs create boot/ROOT/root
20 cp /boot/zfs/zpool.cache /mnt/root/boot/zfs/zpool.cache
21 zpool set bootfs=boot/ROOT/root boot
23 set in /mnt/root/boot/loader.conf
26 vfs.root.mountfrom="zfs:boot/ROOT/root"
/freebsd-11-stable/release/powerpc/
HDmkisoimages.sh28 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
40 <chrp-boot>
43 <boot-script>boot &device;:,\ppc\chrp\loader</boot-script>
44 </chrp-boot>
68 rm -f /tmp/hfs-boot-block
/freebsd-11-stable/usr.sbin/pc-sysinstall/backend/
HDfunctions-cleanup.sh50 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/
133 echo "vfs.root.mountfrom=\"${ROOTFSTYPE}:${ROOTFS}\"" >> ${FSMNT}/boot/loader.conf
250 cat ${FSMNT}/boot/loader.conf 2>/dev/null | grep -q 'geom_mirror_load="YES"' 2>/dev/null
253 echo 'geom_mirror_load="YES"' >>${FSMNT}/boot/loader.conf
263 mkdir -p ${FSMNT}/boot/keys >/dev/null 2>/dev/null
277 echo "geli_${PARTNAME}_keyfile0_load=\"YES\"" >> ${FSMNT}/boot/loader.conf
[all …]
/freebsd-11-stable/stand/i386/zfsloader/
HDMakefile.depend8 sys/boot/ficl32 \
9 sys/boot/geli \
10 sys/boot/i386/btx/btx \
11 sys/boot/i386/btx/btxldr \
12 sys/boot/i386/btx/lib \
13 sys/boot/i386/libi386 \
14 sys/boot/libstand32 \
15 sys/boot/zfs \
/freebsd-11-stable/share/examples/bootforth/
HDREADME5 Normally, you can place the files in /boot as they are here, and they will be
6 automatically loaded by /boot/loader. You must choose between boot.4th or
8 only used by boot.4th, and menuconf.4th is only used by loader.rc, so you
13 boot.4th example of file which is always loaded by /boot/loader, if
14 present in /boot/
15 loader.rc example of file which is always loader by /boot/loader, if
16 present in /boot/
28 If you use loader.rc/menuconf.4th, be sure to create /boot/stable.conf and
29 /boot/current.conf, like described in loader.conf(5), with appropriate
HDmenuconf.4th17 ." 1. Start FreeBSD with /boot/stable.conf."
19 ." 2. Start FreeBSD with /boot/current.conf."
63 10 22 at-xy ." * Choose 4 in order to warm boot your machine."
81 ." Loading /boot/stable.conf. Please wait..." cr
82 s" /boot/stable.conf" read-conf
83 0 boot-conf exit
88 ." Loading /boot/current.conf. Please wait..." cr
89 s" /boot/current.conf" read-conf
90 0 boot-conf exit
95 ." Proceeding with standard boot. Please wait..." cr
[all …]
/freebsd-11-stable/stand/i386/loader/
HDMakefile.depend8 sys/boot/ficl32 \
9 sys/boot/geli \
10 sys/boot/i386/btx/btx \
11 sys/boot/i386/btx/btxldr \
12 sys/boot/i386/btx/lib \
13 sys/boot/i386/libi386 \
14 sys/boot/libstand32 \
HDloader.rc5 include /boot/loader.4th
6 try-include /boot/loader.rc.local
14 \ Load in the boot menu
15 include /boot/beastie.4th
17 \ Start the boot menu
/freebsd-11-stable/release/tools/
HDec2.conf71 echo 'debug.trace_on_panic=1' >> ${DESTDIR}/boot/loader.conf
72 echo 'debug.debugger_on_panic=0' >> ${DESTDIR}/boot/loader.conf
73 echo 'kern.panic_reboot_wait_time=0' >> ${DESTDIR}/boot/loader.conf
76 echo 'autoboot_delay="-1"' >> ${DESTDIR}/boot/loader.conf
77 echo 'beastie_disable="YES"' >> ${DESTDIR}/boot/loader.conf
82 echo 'boot_multicons="YES"' >> ${DESTDIR}/boot/loader.conf
87 echo 'hw.broken_txfifo="1"' >> ${DESTDIR}/boot/loader.conf
90 echo 'if_ena_load="YES"' >> ${DESTDIR}/boot/loader.conf
/freebsd-11-stable/tools/tools/tinybsd/conf/minimal/
HDtinybsd.basefiles2 # contents of ${WORKDIR}/boot
3 boot/boot0
4 boot/boot1
5 boot/boot2
6 boot/defaults/loader.conf
7 boot/device.hints
8 boot/loader
9 boot/loader.4th
10 boot/loader.help
11 boot/loader.rc
[all …]
/freebsd-11-stable/stand/forth/
HDloader.4th45 include /boot/support.4th
46 include /boot/color.4th
47 include /boot/delay.4th
48 include /boot/check-password.4th
92 : boot
103 bootmsg 1 boot exit
108 bootmsg 0 1 boot exit
113 bootmsg 1 boot exit
118 bootmsg 0 1 boot exit
121 ?dup 0= if bootmsg 0 1 boot then
[all …]

12345678910>>...40