Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I use ubuntu 9.10. I expected a "hexdump" of the files in /dev/ (on my system the directory is /dev/.udev/db) to give me a stream of bytes that are actually going in or out of various devices. Instead I get tiny little blocks or complaints that the file is not there if it is a link. Why doesn't this work?
This may not be the best forum for this question; it might be a complicated one. I thought there was some kind of basic lack of understanding on my part on what is in /dev/.
Per the LQ Rules, please do not bump your own thread until at least 24 hours have elapsed without a reply. Because the LQ membership is global, people in other time zones may not have seen this post yet, and thus it may take some time before a response is received. http://www.linuxquestions.org/rules.php
Further advice: bumping actually reduces the chance of getting answered, because it means your thread won't be found by those helpful people who routinely check for zero reply threads.
[QUOTE=stonehinge03;3845464]I use ubuntu 9.10. I expected a "hexdump" of the files in /dev/ (on my system the directory is /dev/.udev/db) to give me a stream of bytes that are actually going in or out of various devices. Instead I get tiny little blocks or complaints that the file is not there if it is a link. Why doesn't this work?
hexdump reads the contents of a file, not the real-time data stream. Further, the contents of a device file is not the data going to/from a device.
What exactly are you trying to do?
(Also, in that directory, I don't seen anything remotely resembling what you show.)
I apologize to this board. It has never failed to answer any question I have ever posed to it (I've used several names over the years) but this question I didn't properly research. First off: the directory /dev/.udev/db is something used by udev and I don't want to interfere with the workings of that in anyway.
What I am trying to do is to read the character blocks that the kernel abstracts the data streams of the hardware into. Is there a command/program that will enable me to see hexadecimal values of those things? And will that be hexadecimal representations of the actual data stream that is coming from the device in question?
Last edited by stonehinge03; 01-31-2010 at 07:10 PM.
Reason: didn't research it myself properly.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.