public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Balazic <david.balazic@uni-mb.si>
To: Michael E Brown <michael_e_brown@dell.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: block ioctl to read/write last sector
Date: Wed, 14 Feb 2001 13:31:44 +0100	[thread overview]
Message-ID: <3A8A7AB0.5D483D5F@uni-mb.si> (raw)

Michael E Brown (michael_e_brown@dell.com) worte :

> On Wed, 14 Feb 2001, Manfred Spraul wrote:
>
> > I have one additional user space only idea: 
> > have you tried raw-io? bind a raw device to the partition, IIRC raw-io 
> > is always in 512 byte units. 
> 
> That has been tried. No, it does not work. :-) Using Scsi-Generic is the
> only way so far found, but of course, it only works on SCSI drives.

Did you try scsi-emulation on IDE disks ?
 
> > 
> > Probably an ioctl is the better idea, but I'd use absolute sector 
> > numbers (not relative to the end), and obviously 64-bit sector numbers - 
> > 2 TB isn't that far away. 
> > 
> 
> I was deliberately trying to limit the scope to avoid misuse. This is to
> work around a flaw in the current API, not to create a new API. Limiting
> access to only those blocks that would normally be inaccessible through
> the normal API seemed like the best bet to me.


-- 
David Balazic
--------------
"Be excellent to each other." - Bill & Ted
- - - - - - - - - - - - - - - - - - - - - -

             reply	other threads:[~2001-02-14 12:32 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-14 12:31 David Balazic [this message]
2001-02-14 14:10 ` block ioctl to read/write last sector Michael E Brown
2001-02-17  7:29 ` Andre Hedrick
  -- strict thread matches above, loose matches on Subject: below --
2001-02-14 15:43 Andries.Brouwer
2001-02-14 15:56 ` Michael E Brown
2001-02-14 15:59 ` Michael E Brown
2001-02-14 13:26 Matt_Domsch
2001-02-14  1:00 Matt_Domsch
2001-02-13 23:49 Andries.Brouwer
2001-02-14 14:19 ` Michael E Brown
2001-02-13 22:54 Andries.Brouwer
2001-02-13 19:24 ` Martin K. Petersen
2001-02-14  5:51   ` Michael E Brown
2001-02-14 14:23     ` Martin K. Petersen
2001-02-13 23:37 ` Michael E Brown
2001-02-14  0:21   ` Manfred Spraul
2001-02-14  5:47     ` Michael E Brown

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=3A8A7AB0.5D483D5F@uni-mb.si \
    --to=david.balazic@uni-mb.si \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michael_e_brown@dell.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox