HomeSort by: relevance | last modified time | path
    Searched refs:disk (Results 1 - 25 of 450) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /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/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/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 -T0 create "$disk"
86 match "$(partaddmsg 1 34 1024)" gpt -T1 add -t efi -s 1024 "$disk"
87 match "$(partaddmsg 2 1058 9150)" gpt -T2 add "$disk"
92 file "$src/gpt.2part.show.normal" gpt show "$disk"
93 file "$src/gpt.2part.show.normal-p" gpt show -p "$disk"
94 file "$src/gpt.2part.show.uuid" gpt show -u "$disk"
    [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/external/gpl3/gdb/dist/sim/ppc/
hw_disk.c 40 disk - mass storage device
48 Mass storage devices such as a hard-disk or cdrom-drive are not
54 a <<cdrom>>, <<disk>> or <<floppy>> are created as children of of a
64 interpreted as an offset from the start of the disk.
67 disk that provides access to any of the physical media, a disk
68 partition, or even a file within a partition. The <<disk-label>>
86 The name of the file that contains an image of the disk. For
87 <<disk>> and <<floppy>> devices, the image will be opened for both
113 If this property is present, the disk file image is always opene
190 hw_disk_device *disk; member in struct:_hw_disk_instance
218 hw_disk_device *disk = device_data(me); local
261 hw_disk_device *disk = device_data(me); local
295 hw_disk_device *disk = device_data(me); local
322 hw_disk_device *disk = device_data(me); local
511 hw_disk_device *disk = device_data(me); local
    [all...]
  /src/external/gpl3/gdb.old/dist/sim/ppc/
hw_disk.c 40 disk - mass storage device
48 Mass storage devices such as a hard-disk or cdrom-drive are not
54 a <<cdrom>>, <<disk>> or <<floppy>> are created as children of of a
64 interpreted as an offset from the start of the disk.
67 disk that provides access to any of the physical media, a disk
68 partition, or even a file within a partition. The <<disk-label>>
86 The name of the file that contains an image of the disk. For
87 <<disk>> and <<floppy>> devices, the image will be opened for both
113 If this property is present, the disk file image is always opene
190 hw_disk_device *disk; member in struct:_hw_disk_instance
218 hw_disk_device *disk = device_data(me); local
261 hw_disk_device *disk = device_data(me); local
295 hw_disk_device *disk = device_data(me); local
322 hw_disk_device *disk = device_data(me); local
511 hw_disk_device *disk = device_data(me); local
    [all...]
  /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
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/crypto/external/apache2/openssl/dist/VMS/
VMSify-conf.pl 20 $_ = "$1sys\\\$disk:\[.$2$3";
22 $_ = "$1sys\\\$disk:\[.$2$3";
25 while(/^(\s*\#?\s*${d}\s*=\s*(\$\w+\.|sys\\\$disk:\[\.)[\w\.]+)\/([^\]]*)\](.*)$/) {
30 s/^(\s*\#?\s*${f}\s*=\s*)\.\/(.*)$/$1sys\\\$disk:\[\/$2/;
31 while(/^(\s*\#?\s*${f}\s*=\s*(\$\w+|sys\\\$disk:\[)[^\/]*)\/(\w+\/[^\s\#]*)([\s\#].*)$/) {
34 if (/^(\s*\#?\s*${f}\s*=\s*(\$\w+|sys\\\$disk:\[)[^\/]*)\/(\w+)([\s\#].*)$/) {
36 } elsif (/^(\s*\#?\s*${f}\s*=\s*(\$\w+|sys\\\$disk:\[)[^\/]*)\/([^\s\#]*)([\s\#].*)$/) {
  /src/crypto/external/bsd/openssl/dist/VMS/
VMSify-conf.pl 20 $_ = "$1sys\\\$disk:\[.$2$3";
22 $_ = "$1sys\\\$disk:\[.$2$3";
25 while(/^(\s*\#?\s*${d}\s*=\s*(\$\w+\.|sys\\\$disk:\[\.)[\w\.]+)\/([^\]]*)\](.*)$/) {
30 s/^(\s*\#?\s*${f}\s*=\s*)\.\/(.*)$/$1sys\\\$disk:\[\/$2/;
31 while(/^(\s*\#?\s*${f}\s*=\s*(\$\w+|sys\\\$disk:\[)[^\/]*)\/(\w+\/[^\s\#]*)([\s\#].*)$/) {
34 if (/^(\s*\#?\s*${f}\s*=\s*(\$\w+|sys\\\$disk:\[)[^\/]*)\/(\w+)([\s\#].*)$/) {
36 } elsif (/^(\s*\#?\s*${f}\s*=\s*(\$\w+|sys\\\$disk:\[)[^\/]*)\/([^\s\#]*)([\s\#].*)$/) {
  /src/crypto/external/bsd/openssl.old/dist/VMS/
VMSify-conf.pl 20 $_ = "$1sys\\\$disk:\[.$2$3";
22 $_ = "$1sys\\\$disk:\[.$2$3";
25 while(/^(\s*\#?\s*${d}\s*=\s*(\$\w+\.|sys\\\$disk:\[\.)[\w\.]+)\/([^\]]*)\](.*)$/) {
30 s/^(\s*\#?\s*${f}\s*=\s*)\.\/(.*)$/$1sys\\\$disk:\[\/$2/;
31 while(/^(\s*\#?\s*${f}\s*=\s*(\$\w+|sys\\\$disk:\[)[^\/]*)\/(\w+\/[^\s\#]*)([\s\#].*)$/) {
34 if (/^(\s*\#?\s*${f}\s*=\s*(\$\w+|sys\\\$disk:\[)[^\/]*)\/(\w+)([\s\#].*)$/) {
36 } elsif (/^(\s*\#?\s*${f}\s*=\s*(\$\w+|sys\\\$disk:\[)[^\/]*)\/([^\s\#]*)([\s\#].*)$/) {
  /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/external/bsd/iscsi/dist/src/lib/
storage.c 195 disc_device_t *disk; local
199 if ((disk = find_device(devvp, device)) != NULL) {
209 disk = &devvp->v[devvp->c];
210 disk->dev = strdup(device);
211 disk->raid =
214 disk->size = ep->sv.c - 2;
215 disk->len = getsize(cf, devvp, extents, ep->sv.v[DEVICE_LENGTH_COL]);
216 NEWARRAY(disc_de_t, disk->xv, ep->sv.c - 2, "do_device",
218 for (disk->c = 0 ; disk->c < disk->size ; disk->c++)
    [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.

Completed in 58 milliseconds

1 2 3 4 5 6 7 8 91011>>