From [EMAIL PROTECTED] 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.
Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Re: block ioctl to read/write last sector Andries . Brouwer
- Re: block ioctl to read/write last sector Michael E Brown
- Re: block ioctl to read/write last sector Manfred Spraul
- Re: block ioctl to read/write last sector Michael E Brown
- Re: block ioctl to read/write last sector Martin K. Petersen
- Re: block ioctl to read/write last sector Michael E Brown
- Re: block ioctl to read/write last sector Martin K. Petersen
- Re: block ioctl to read/write last sector Andries . Brouwer
- Re: block ioctl to read/write last sector Michael E Brown
- RE: block ioctl to read/write last sector Matt_Domsch
- Re: block ioctl to read/write last sector David Balazic
- Re: block ioctl to read/write last sector Michael E Brown
- Re: block ioctl to read/write last sector Andre Hedrick
- RE: block ioctl to read/write last sector Matt_Domsch
- Re: block ioctl to read/write last sector Andries . Brouwer
- Re: block ioctl to read/write last sector Michael E Brown
- Re: block ioctl to read/write last sector Michael E Brown

