Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 188
  • Last Modified:

kernel 2.6.4 - block device

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?
0
linux-block-device
Asked:
linux-block-device
  • 2
2 Solutions
 
manish_regmiCommented:
hi,
 I think the link below will help you.
http://www.xml.com/ldd/chapter/book/ch12.html

regards manish
0
 
manish_regmiCommented:
hi,
 here are some samples.
http://examples.oreilly.com/linuxdrive2/

regards manish
0
 
dimitryCommented:
You can also go and register on timesys site and get the information about driver migration to 2.6 from 2.4.
http://www.timesys.com/auth/index.cfm?bdy=26program.cfm
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now