tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: fix getdisksize() for zfs zvols

On Sat, 9 Nov 2019 17:24:12 -0000 (UTC)
Michael van Elst <> wrote:

> The DIOCGWEDGEINFO ioctl for zvols should be deleted.

Agreed, but I think is used to also hardcode the partition type for
mount(8) (argh!) so I'll leave that until we have something better.

> What we can do is adding a fallback for the DIOCSECTORSIZE and DIOCGMEDIASIZE
> ioctls to getdisksize().

That seems reasonable. I will attempt to implement it.


Home | Main Index | Thread Index | Old Index