* (2) 'partno' is the partition number, starting at 1
* (cf. /dev/hda1 is the first partition).
* (3) 'dev' is the underlying block device.
+ * (4) natural blocksize to use is sector size.
*)
class partition_device partno start size dev =
let devname = dev#name in
let start = start *^ sector_size64 in
let size = size *^ sector_size64 in
object (self)
- inherit offset_device name start size dev
+ inherit offset_device name start size sector_size dev
end
(** Probe the