Re: block ioctl to read/write last sector

Date: Tue Feb 13 2001 - 18:49:24 EST

    From Wed Feb 14 00:37:25 2001

> Look at the addpart utility in the util-linux package.
> It will allow you to add a partition disjoint from
> previously existing partitions.
> And since a partition can start on an odd sector,
> this should allow you to also read the last sector.
> Do I overlook something?

    Yes. The addpart utility just uses the block-layer ioctls to dynamically
    add and/or remove partitions. What this is doing is just adjusting the
    kernel's idea of what the current partition scheme is. This has _nothing_
    to do with actually reading or writing data from the disk.

But it changes the idea of odd and even.
A partition can start on an odd sector.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Thu Feb 15 2001 - 21:00:23 EST