From: Ludovic Drolez <ludovic.drolez@freealter.com>
To: linux-kernel@vger.kernel.org
Subject: BLKBSZSET still not working on 2.4.18 ? [rescued]
Date: Fri, 10 Jan 2003 19:33:51 +0100 [thread overview]
Message-ID: <200301101833.h0AIXpj03277@mail.intergenia.de> (raw)
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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
reply other threads:[~2003-01-10 18:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200301101833.h0AIXpj03277@mail.intergenia.de \
--to=ludovic.drolez@freealter.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.