Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 10-24-2004, 12:53 PM   #1
LQ Newbie
Registered: Sep 2003
Location: Spain
Posts: 17

Rep: Reputation: 0
Question 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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Block device /dev/sda3 is not a valid root device.. rincewind Linux - Hardware 7 06-09-2006 04:47 AM
access an audio cd image as a block device carotinho Linux - Software 1 02-17-2005 06:09 AM
SuSE: How to create raw device stjacqd Linux - General 3 07-22-2004 06:29 PM
How to enable raw i/o on partition (e.g. /dev/hdc1, non block device) psyclobe Programming 2 12-13-2003 06:59 AM
what is the differnce between RAW Vs. BLOCK ? juanb Linux - General 0 12-10-2002 01:40 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration