RAW I/O

From: Kernel The
Date: Tue Jun 29 2004 - 00:37:12 EST


Hi,

I have written a RAM disk driver and I want to write
the data to a backup disk/partition while unloading
the driver.

I want to do RAW I/O to a disk/partition from my ram
disk driver. How I can achieve this?

alloc_kiovec(..), map_user_kiobuf(...) and
brw_kiovec(...) functions can be used for this? But
these function map user space into kernel space
memory, but in my driver I will be having only kernel
space memory.

Thanks in advance!
Erforschen



__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/