public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* BLKBSZSET still not working on 2.4.18 ?
@ 2003-01-10 15:32 Ludovic Drolez
  2003-01-10 16:13 ` Andries Brouwer
  2003-01-10 17:08 ` Alan Cox
  0 siblings, 2 replies; 8+ messages in thread
From: Ludovic Drolez @ 2003-01-10 15:32 UTC (permalink / raw)
  To: linux-kernel

Hi !

I'm trying to backup a partition on an IDE drive which has an odd number 
of sectors (204939). With a stock open/read you cannot access the last 
sector, and that why I tried the BLKBSZSET ioctl to set the basic read 
block size to 512 bytes. I verified the writen value with BLKBSZGET 
ioctl, but I still cannot read this last sector !

I've tried also this:
- FreeBSD : works but it don't want to port all my software to it
- raw devices: can't read the last sector:

# raw  /dev/raw1 /dev/hda2
# dd if=/dev/raw1 of=C bs=512
dd: reading `/dev/raw1': No such device or address
204938+0 records in
204938+0 records out


What can it do ? Wait for a patch in 2.5.xxx ?

TIA,

    Ludovic Drolez.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-01-13 15:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-10 15:32 BLKBSZSET still not working on 2.4.18 ? Ludovic Drolez
2003-01-10 16:13 ` Andries Brouwer
2003-01-13 11:28   ` Ludovic Drolez
2003-01-13 15:26     ` Andries Brouwer
2003-01-10 17:08 ` Alan Cox
2003-01-10 17:08   ` John Bradford
2003-01-10 18:14     ` Alan Cox
2003-01-10 17:40       ` Andries Brouwer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox