Skip to contentSkip to conversation

bmap question (probably stupid)

DISCUSSION Rafael J. Wysocki 2 participants 2 messages Jul 7, 2006 – Jul 8, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

I'd like to use something like bmap() from the user space. I've found the BMAP_IOCTL, but it's marked as obsolete, so my question is what's the recommended way of doing this?

Thanks in advance,
Rafael

#1 lore raw
Quoted 6 lines · Rafael J. Wysocki

Hi,

I'd like to use something like bmap() from the user space. I've found the BMAP_IOCTL, but it's marked as obsolete, so my question is what's the recommended way of doing this?

The FIBMAP ioctl seems to be the current method of choice.

-hpa