Skip to contentSkip to conversation

ioctl BLKROSET

DISCUSSION gxkahn 1 participant 1 message Sep 11, 2005 Memory technology devices (MTD)

lore
Share & tools
lore

gxkahn

author
#0 lore raw

i have to set my device (NOR flash) to be RW or RO.
i found ioctl BLKROSET which doing (should do) this.
MTD ioctl call comes down to mtd_blkdevs.c to blktrans_ioctl(), where i believe should be case for it. It was this way in code for kernel 2.4 and now?
am i missing something or just to send patch for it?