We help IT Professionals succeed at work.

kernel 2.6.4 - block device

linux-block-device
on
Medium Priority
214 Views
Last Modified: 2010-04-22
I would like to write a block device that I could mount as a file system in /mnt/something and that I could go into that catalogue and type ls for instance or cat /mnt/something/file.txt (<- it will read from a string from the device). I`ve already written a character device but block device seems to be much more difficult
Any help?
Comment
Watch Question

Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
hi,
 here are some samples.
http://examples.oreilly.com/linuxdrive2/

regards manish
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.