linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ioctl BLKROSET not working
@ 2004-12-22 23:30 Greg Freemyer
  0 siblings, 0 replies; only message in thread
From: Greg Freemyer @ 2004-12-22 23:30 UTC (permalink / raw)
  To: linux-ide@vger.kernel.org, dan mares

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-12-22 23:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-22 23:30 ioctl BLKROSET not working Greg Freemyer

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).