LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 10-24-2004, 12:53 PM   #1
rvilarl
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.

Thanks
 
  


Reply


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


All times are GMT -5. The time now is 11:26 AM.

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