/src/distrib/utils/embedded/files/ |
resize_disklabel | 27 local disk 29 disk=$1 30 /sbin/drvctl -p "$disk" disk-info/geometry/sectors-per-unit 35 local disk rawpart 37 disk=$1 39 /sbin/disklabel -t "$disk" \ 45 local disk rawpart ts rs oldsize newsize 47 disk=$1 50 eval $(/sbin/fdisk -S $disk) [all...] |
/src/tests/sbin/gpt/ |
t_gpt.sh | 35 disk=gpt.disk 75 silence dd conv=notrunc msgfmt=quiet if=/dev/zero of="$disk" "$@" 79 rm -f "$disk" 85 silence gpt create "$disk" 86 match "$(partaddmsg 1 34 1024)" gpt add -t efi -s 1024 "$disk" 87 match "$(partaddmsg 2 1058 9150)" gpt add "$disk" 92 file "$src/gpt.2part.show.normal" gpt show "$disk" 93 file "$src/gpt.2part.show.uuid" gpt show -u "$disk" 97 echo "^$disk: Partition $1 added: $uuid $2 $3\$ [all...] |
/src/usr.bin/make/unit-tests/ |
hanoi-include.exp | 1 Move the upper disk from stack A to stack C. 2 Move the upper disk from stack A to stack B. 3 Move the upper disk from stack C to stack B. 4 Move the upper disk from stack A to stack C. 5 Move the upper disk from stack B to stack A. 6 Move the upper disk from stack B to stack C. 7 Move the upper disk from stack A to stack C. 8 Move the upper disk from stack A to stack B. 9 Move the upper disk from stack C to stack B. 10 Move the upper disk from stack C to stack A [all...] |
/src/usr.sbin/sysinst/ |
geom.c | 49 disk_ioctl(const char *disk, unsigned long cmd, void *d) 55 /* Open the disk. */ 56 fd = opendisk(disk, O_RDONLY, diskpath, sizeof(diskpath), 0); 71 get_wedge_list(const char *disk, struct dkwedge_list *dkwl) 77 if (!disk_ioctl(disk, DIOCLWEDGES, dkwl)) 93 get_wedge_info(const char *disk, struct dkwedge_info *dkw) 96 return disk_ioctl(disk, DIOCGWEDGEINFO, dkw); 100 get_disk_geom(const char *disk, struct disk_geom *d) 105 if ((fd = opendisk(disk, O_RDONLY, buf, sizeof(buf), 0)) == -1) 108 error = getdiskinfo(disk, fd, NULL, d, NULL) [all...] |
sizemultname.c | 73 set_default_sizemult(const char *disk, daddr_t unit, uint bps) 77 if (strcmp(disk, last_dev) == 0) 80 strlcpy(last_dev, disk, sizeof last_dev);
|
/src/sys/arch/ews4800mips/ews4800mips/ |
pdinfo.c | 65 pdinfo_valid(const struct pdinfo_sector *disk) 68 return disk->magic == PDINFO_MAGIC; 72 pdinfo_sanity(const struct pdinfo_sector *disk) 75 if (!pdinfo_valid(disk)) { 76 DPRINTF("no physical disk info.\n"); 81 const struct disk_geometory *geom = &disk->geometory; 82 const struct disk_ux *ux = &disk->ux; 84 DPRINTF("physical disk sector size %dbyte\n", sizeof *disk); 85 DPRINTF("[disk]\n") [all...] |
/src/sbin/dkscan_bsdlabel/ |
dkscan_util.h | 37 struct disk; 39 int dkwedge_read(struct disk *pdk, struct vnode *vp, daddr_t blkno, 47 extern int disk_fd; /* file descriptor for disk access */
|
/src/sys/arch/mipsco/stand/installboot/ |
installboot.c | 71 fprintf(stderr, "\t%s [-nv] disk bootstrap [name]\n", getprogname()); 72 fprintf(stderr, "\t%s -r [-nv] disk [name]\n", getprogname()); 73 fprintf(stderr, "\t%s -l [-nv] disk\n", getprogname()); 80 const char *disk; local in function:main 115 disk = argv[0]; 118 do_list(disk); 120 do_remove(disk, argc==2?argv[1]:DEFAULT_BOOTFILE); 122 do_install(disk, argv[1], argc==3?argv[2]:DEFAULT_BOOTFILE); 128 do_list(const char *disk) 134 read_volheader(disk, &vh) [all...] |
/src/sys/arch/i386/stand/lib/ |
bootinfo_biosgeom.c | 86 memset(&bibg->disk[nvalid], 0, sizeof(bibg->disk[nvalid])); 88 bibg->disk[nvalid].sec = d.sec; 89 bibg->disk[nvalid].head = d.head; 90 bibg->disk[nvalid].cyl = d.cyl; 91 bibg->disk[nvalid].dev = d.dev; 94 bibg->disk[nvalid].flags |= BI_GEOM_INVALID; 108 bibg->disk[nvalid].totsec = ed.totsec; 109 bibg->disk[nvalid].flags |= BI_GEOM_EXTINT13; 128 bibg->disk[nvalid].flags |= BI_GEOM_BADCKSUM [all...] |
/src/sys/sys/ |
disk.h | 1 /* $NetBSD: disk.h,v 1.79 2025/04/13 14:01:00 jakllsch Exp $ */ 70 * from: Header: disk.h,v 1.5 92/11/19 04:33:03 torek Exp (LBL) 72 * @(#)disk.h 8.2 (Berkeley) 1/9/95 79 * Disk device structures. 88 * Disk information dictionary. 90 * This contains general information for disk devices. 97 * <!-- See below for disk geometry dictionary 155 * disk wedge. 160 char dkw_parent[16]; /* parent disk device name */ 228 * Disk geometry dictionary 471 struct disk { struct [all...] |
/src/usr.sbin/sysinst/arch/mac68k/ |
msg.md.en | 46 {We are now going to install NetBSD on the disk %s. You may 47 choose to install NetBSD on the entire disk or part of the disk. 52 {It appears that your disk, %s, has not been formatted and initialized 53 for use on MacOS. This program gets the disk layout of your disk by 54 reading the Disk Partition Map which is written by the disk formatter 55 when it prepared the disk for use with the Macintosh system. Your 59 partition structure with any disk formatter. Partitions do no [all...] |
/src/usr.sbin/puffs/ |
makerumpmanpages.sh | 159 disk="cd9660 efs ext2fs ffs hfs lfs msdos ntfs sysvbfs udf v7fs" 188 if ! member $fs $disk $net $fictional $special ; then 197 if member $fs $disk ; then 198 mytype=disk 227 [ ${mytype} = disk ] && \
|
/src/usr.sbin/sysinst/arch/playstation2/ |
msg.md.en | 46 {If you booted from a floppy, you may now remove the disk. 58 {This disk matches the following BIOS disk: 71 {This disk matches the following BIOS disks: 84 {Choose disk: } 87 {The NetBSD part of the disk lies outside of the range that the BIOS on
|
/src/usr.sbin/sysinst/arch/x68k/ |
msg.md.en | 44 {If the floppy is not locked, you may now remove the disk. 52 {It appears that your disk, %s, has no X68K disk mark. sysinst is 53 writing a disk mark. 55 here and format the disk with Human68k format.x utility. 79 {NetBSD/x68k must be installed in the first part of the boot disk.
|
/src/usr.sbin/sysinst/arch/alpha/ |
msg.md.en | 44 {If you booted from a floppy, you may now remove the disk.
|
/src/usr.sbin/sysinst/arch/amiga/ |
msg.md.en | 42 {If you booted from a floppy, you may now remove the disk.
|
/src/usr.sbin/sysinst/arch/emips/ |
msg.md.en | 43 {If you booted from a floppy, you may now remove the disk.
|
/src/usr.sbin/sysinst/arch/ews4800mips/ |
msg.md.en | 43 {If you booted from a floppy, you may now remove the disk.
|
/src/usr.sbin/sysinst/arch/mipsco/ |
msg.md.en | 43 {If you booted from a floppy, you may now remove the disk.
|
/src/usr.sbin/sysinst/arch/newsmips/ |
msg.md.en | 44 {If you booted from a floppy, you may now remove the disk.
|
/src/usr.sbin/sysinst/arch/vax/ |
msg.md.en | 44 {If you booted from a floppy, you may now remove the disk.
|
/src/distrib/utils/embedded/ |
usermode | 63 ./netbsd disk=${image} disk=${pkgs} net=tap0,00:00:de:ad:be:ef
|
/src/sys/rump/dev/lib/libcgd/ |
Makefile | 7 COMMENT=Cryptographic disk driver (block device crypto layer)
|
/src/sys/rump/dev/lib/libdisk/ |
disk_component.c | 34 #include <sys/disk.h>
|
/src/sys/rump/dev/lib/libmd/ |
Makefile | 7 COMMENT=Memory disk device driver
|