On Wed, Jun 21, 2023 at 08:43:45PM +0200, Sagar Acharya wrote: > $ dkctl sd0 listwedges > /dev/rsd0: no wedges configured > > What are wedges? I get sectors which are 512 bytes long on physical disk.
With "dkctl sd0 addwedge ...." you can use arbitrary "partitions" on disk sd0 without modifying its on-card partition information, so if you have a disk from a foreign system where NetBSD does not understand the partitioning scheme but you know the block offset/size of the file system you are interested in, you can create a "partition" at runtime and mount it (w/o changing the SD). They show up as /dev/dk* and they are automatically created e.g. for GPT partitions. Martin