Searched refs:diskpath (Results 1 – 7 of 7) sorted by relevance
/netbsd-src/usr.sbin/sysinst/arch/shark/ |
H A D | md.c | 132 char diskpath[MAXPATHLEN]; in md_pre_disklabel() local 134 if (clear_mbr(pm->diskdev, diskpath, sizeof(diskpath)) == -1) { in md_pre_disklabel() 135 msg_fmt_display(MSG_badclearmbr, "%s", diskpath); in md_pre_disklabel() 207 clear_mbr(const char *disk, char *diskpath, size_t diskpathlen) in clear_mbr() argument 212 fd = opendisk(disk, O_WRONLY, diskpath, diskpathlen, 0); in clear_mbr()
|
/netbsd-src/usr.sbin/sysinst/ |
H A D | geom.c | 51 char diskpath[MAXPATHLEN]; in disk_ioctl() local 56 fd = opendisk(disk, O_RDONLY, diskpath, sizeof(diskpath), 0); in disk_ioctl()
|
H A D | target.c | 561 char diskpath[MAXPATHLEN]; in delete_wedge() local 564 fd = opendisk(disk, O_RDWR, diskpath, sizeof(diskpath), 0); in delete_wedge()
|
H A D | gpt.c | 267 char diskpath[MAXPATHLEN]; in gpt_read_from_disk() local 394 fd = opendisk(parts->dp.disk, O_RDONLY, diskpath, sizeof(diskpath), 0); in gpt_read_from_disk() 1410 char diskpath[MAXPATHLEN]; in gpt_add_wedge() local 1431 fd = opendisk(disk, O_RDWR, diskpath, sizeof(diskpath), 0); in gpt_add_wedge() 1536 char diskpath[MAXPATHLEN]; in gpt_write_to_disk() local 1547 fd = opendisk(arg->disk, O_RDWR, diskpath, sizeof(diskpath), 0); in gpt_write_to_disk()
|
H A D | mbr.c | 537 char diskpath[MAXPATHLEN]; in read_mbr() local 549 fd = opendisk(disk, O_RDONLY, diskpath, sizeof(diskpath), 0); in read_mbr() 672 char diskpath[MAXPATHLEN]; in write_mbr() local 687 diskpath, sizeof(diskpath), 0); in write_mbr() 2647 char diskpath[MAXPATHLEN]; in mbr_free_wedge() local 2650 *fd = opendisk(disk, O_RDWR, diskpath, in mbr_free_wedge() 2651 sizeof(diskpath), 0); in mbr_free_wedge() 2694 char diskpath[MAXPATHLEN]; in mbr_destroy_part_scheme() local 2699 fd = opendisk(arg->disk, O_RDWR, diskpath, sizeof(diskpath), 0); in mbr_destroy_part_scheme() 2998 char diskpath[MAXPATHLEN]; in add_wedge() local [all …]
|
H A D | disklabel.c | 199 char diskpath[MAXPATHLEN]; in disklabel_parts_read() local 210 fd = opendisk(disk, O_RDONLY, diskpath, sizeof(diskpath), 0); in disklabel_parts_read()
|
/netbsd-src/usr.sbin/sysinst/arch/ofppc/ |
H A D | md.c | 647 char buf[512], diskpath[MAXPATHLEN]; in check_rdb() local 654 fd = opendisk(pm->diskdev, O_RDONLY, diskpath, sizeof(diskpath), 0); in check_rdb()
|