https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212139

--- Comment #3 from Toomas Soome <[email protected]> ---
I havent found yet good way, but there is something to think about.

Essentially there are 2 cases:

1. unpartitioned raw disk with pool on it. We can get size from pool label and
provide as disk meta info down to biosdisk if we like to. 

2. partitioned disk - almost all cases, except GPT backup label read, depend on
partition boundaries, so essentially the read should honor the partition
boundaries.
It means the disk open, should again have means to pass the boundaries down to
biosdisk.

So with exception of GPT backup label read and unpartitioned disk, all other
reads should be checked not against disk size, but partition size... and this
information is known.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to