ioctl BLKROSET not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux