NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-xen/59451: XEN3_DOM0 kernel finds the wrong root device
The following reply was made to PR port-xen/59451; it has been noted by GNATS.
From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: port-xen/59451: XEN3_DOM0 kernel finds the wrong root device
Date: Mon, 2 Jun 2025 20:21:10 -0000 (UTC)
gnats-admin%NetBSD.org@localhost ("Chuck Zmudzinski via gnats") writes:
> If I create a wedge, say it's dk2, on a host Xen dom0 system that
> is set to be the virtual disk of a Xen domU and in the guest
> domU I write a disklabel on that virtual disk, will those partitions
> on the virtual disk in the guest domU show up on the host Xen dom0
> system as devices with names like /dev/dk2a, /dev/dk2b, etc.?
The partitions will not show up. The dk driver doesn't know
anything about partitions. You can't open a partition, there
are no ioctls that handle partition information. The bits of
a disklabel on the storage are just bits that you can read.
The disklabel command can be told to read the bits from a file (-F),
and that also works for a wedge device. But that would only
print the disklabel bits, otherwise it has no meaning for the
Dom0.
Home |
Main Index |
Thread Index |
Old Index