linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg Freemyer <greg.freemyer@gmail.com>
To: "linux-ide@vger.kernel.org" <linux-ide@vger.kernel.org>,
	dan mares <dmares@dmares.com>
Subject: ioctl BLKROSET not working
Date: Wed, 22 Dec 2004 18:30:31 -0500	[thread overview]
Message-ID: <87f94c3704122215303c8d9f5c@mail.gmail.com> (raw)

All,

I would like to use the "hdparm -r 0 /dev/hdc" capability with a
current kernel to make a drive readonly.

I tried it with 2.6.8 and it had no effect with my Adaptec 2-channel
ATA PCI adaptor. (Similar to SIIG).


I looked at hdparm's source and it is calling ioctl with BLKROSET.

I found that in ide.h, but not ide.c  (Not that I would recognise it.)

Should it work? 
Has the functionality been deprecated? 
Is it a driver function or a controller function?

I searched bugzilla (bugme.osdl.org) for "BLKROSET" and found nothing.

Thanks
Greg
-- 
Greg Freemyer

                 reply	other threads:[~2004-12-22 23:30 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=87f94c3704122215303c8d9f5c@mail.gmail.com \
    --to=greg.freemyer@gmail.com \
    --cc=dmares@dmares.com \
    --cc=linux-ide@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).