LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   block device raw access (https://www.linuxquestions.org/questions/programming-9/block-device-raw-access-246767/)

rvilarl 10-24-2004 12:53 PM

block device raw access
 
Is it allowed to use open/close read/write and seek on a block device directly? If not is there an easy way of accessing the block device just for reading and writing?

I am using the MTD subsystem mounting a JFFS file system on mtdblock0. However JFFS is using too much room on the flash device and I would like to use the block device directly (ie without mounting it). I know I can do it using the associated char device mtd0 but buffering is not used and it gets too slow.

Thanks


All times are GMT -5. The time now is 12:50 PM.