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

12345

/freebsd-9.3-release/sbin/fsck_msdosfs/
H A Dboot.c29 __RCSID("$NetBSD: boot.c,v 1.9 2003/07/24 19:25:46 ws Exp $");
43 readboot(int dosfs, struct bootblock *boot) argument
52 perror("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) != 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 Dfat.c67 checkdirty(int fs, struct bootblock *boot) argument
73 if (boot->ClustMask != CLUST16_MASK && boot->ClustMask != CLUST32_MASK)
76 off = boot->bpbResSectors;
77 off *= boot->bpbBytesPerSec;
79 buffer = malloc(boot->bpbBytesPerSec);
90 if ((size_t)read(fs, buffer, boot->bpbBytesPerSec) !=
91 boot->bpbBytesPerSec) {
100 if (buffer[0] != boot->bpbMedia || buffer[1] != 0xff)
102 if (boot
132 checkclnum(struct bootblock *boot, u_int fat, cl_t cl, cl_t *next) argument
163 _readfat(int fs, struct bootblock *boot, u_int no, u_char **buffer) argument
198 readfat(int fs, struct bootblock *boot, u_int no, struct fatEntry **fp) argument
404 comparefat(struct bootblock *boot, struct fatEntry *first, struct fatEntry *second, u_int fatnum) argument
417 clearchain(struct bootblock *boot, struct fatEntry *fat, cl_t head) argument
431 tryclear(struct bootblock *boot, struct fatEntry *fat, cl_t head, cl_t *trunc) argument
447 checkfat(struct bootblock *boot, struct fatEntry *fat) argument
541 writefat(int fs, struct bootblock *boot, struct fatEntry *fat, int correct_fat) argument
649 checklost(int dosfs, struct bootblock *boot, struct fatEntry *fat) argument
[all...]
H A Ddir.c216 resetDosDirSection(struct bootblock *boot, struct fatEntry *fat) argument
222 b1 = boot->bpbRootDirEnts * 32;
223 b2 = boot->bpbSecPerClust * boot->bpbBytesPerSec;
244 if (boot->flags & FAT32) {
245 if (boot->bpbRootClust < CLUST_FIRST ||
246 boot->bpbRootClust >= boot->NumClusters) {
248 boot->bpbRootClust);
251 cl = fat[boot
312 delete(int f, struct bootblock *boot, struct fatEntry *fat, cl_t startcl, int startoff, cl_t endcl, int endoff, int notlast) argument
352 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
389 checksize(struct bootblock *boot, struct fatEntry *fat, u_char *p, struct dosDirEntry *dir) argument
442 readDosDirSection(int f, struct bootblock *boot, struct fatEntry *fat, struct dosDirEntry *dir) argument
882 handleDirTree(int dosfs, struct bootblock *boot, struct fatEntry *fat) argument
923 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-9.3-release/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-9.3-release/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...]
H A Dgenerate-hfs.sh3 # This script generates the dummy HFS filesystem used for the PowerPC boot
10 # template (e.g. because the boot block or the CHRP script have grown),
19 OUTPUT_FILE=hfs-boot
25 # Create and bless a directory for the boot loader
30 # Make the CHRP boot script, which gets loader from the ISO9660 partition
35 <VERSION> $FreeBSD: head/sys/boot/powerpc/boot1.chrp/bootinfo.txt 184490 2008-10
43 boot &device;:,\ppc\loader &device;:0
58 echo 'HFS boot filesystem created by generate-hfs.sh' > $OUTPUT_FILE.bz2.uu
H A Dmake-memstick.sh65 gpart add -t freebsd-boot -s 800K ${unit}
66 gpart bootcode -p ${1}/boot/boot1.hfs -i 1 ${unit}
/freebsd-9.3-release/sys/boot/i386/kgzldr/
H A Dkgzldr.h34 int boot(int);
H A DMakefile9 SRCS= start.s boot.c inflate.c lib.c crt.s sio.s
/freebsd-9.3-release/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-9.3-release/sbin/reboot/
H A DMakefile10 MLINKS+= boot_${MACHINE}.8 boot.8
14 MLINKS+= boot_i386.8 boot.8
H A Dnextboot.sh32 nextboot_file="/boot/nextboot.conf"
96 if [ -n "${kernel}" -a ${force} = "NO" -a ! -d /boot/${kernel} ]; then
97 echo "Error: /boot/${kernel} doesn't exist. Use -f to override."
101 df -Tn "/boot/" 2>/dev/null | while read _fs _type _other ; do
105 nextboot.conf will NOT be reset in case of kernel boot failure
/freebsd-9.3-release/tools/tools/bootparttest/
H A DMakefile3 .PATH: ${.CURDIR}/../../../sys/boot/common
12 CFLAGS= -I${.CURDIR}/../../../sys/boot/common -I. \
/freebsd-9.3-release/tools/tools/nanobsd/pcengines/
H A Dcommon.conf59 echo "-S9600 -h" > boot.config
60 echo "console=\"comconsole\"" > boot/loader.conf
61 echo "comconsole_speed=\"9600\"" >> boot/loader.conf
62 echo "hint.acpi.0.disabled=\"1\"" >> boot/loader.conf
/freebsd-9.3-release/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-9.3-release/release/amd64/
H A Dmake-memstick.sh45 gpart bootcode -b ${1}/boot/boot ${unit}
/freebsd-9.3-release/release/i386/
H A Dmake-memstick.sh45 gpart bootcode -b ${1}/boot/boot ${unit}
/freebsd-9.3-release/tools/tools/sysdoc/
H A DMakefile4 sh ${.CURDIR}/sysdoc.sh -k /boot/kernel
/freebsd-9.3-release/tools/tools/nanobsd/rescue/Files/root/
H A DGPT4ZFS_Create.sh33 gpart add -i 1 -b 34 -s $siz -t freebsd-boot $dsk
34 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 $dsk
/freebsd-9.3-release/sys/boot/ia64/common/
H A DMakefile39 .if !exists(${DESTDIR}/boot/loader.rc)
42 .if !exists(${DESTDIR}/boot/menu.rc)
45 FILESDIR_loader.conf= /boot/defaults
/freebsd-9.3-release/sys/boot/pc98/kgzldr/
H A DMakefile9 SRCS= start.s boot.c inflate.c lib.c crt.s sio.s
/freebsd-9.3-release/etc/
H A Dfreebsd-update.conf38 MergeChanges /etc/ /var/named/etc/ /boot/device.hints
68 # so it is possible to boot the old kernel in case of problems.
73 # BackupKernelDir /boot/kernel.old
/freebsd-9.3-release/release/scripts/
H A Dkernels-install.sh16 BOOT=${DESTDIR}/boot

Completed in 228 milliseconds

12345