Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Linux is a clone of UNIX rather than a direct variant. While many of the same commands exist with many of the same options they are not derived from the same source code and there is no guarantee the author of the Linux code made it do everything the equivalent UNIX code did. Often the Linux command will have additional options not found in the UNIX command.
Even in "UNIX" there are variants (e.g. HP-UX, Solaris, AIX, SCO) and though original source code might have been based on System V UNIX or BSD UNIX they often have their own take on what should be there. What keeps them more or less the same are POSIX standards but that deals with what must be included - it doesn't preclude adding what you think is helfpul.
The issue isn't the ext3 filesystem but the od command itself and it clearly says "." is a directory which is a hint that the Linux od doesn't accept "directories" as "files" as the UNIX od might. (e.g. on my HP-UX server od -c . works just fine).
If really interested you can get the source for the Linux od itself and see what error checking it does that spawns the message about directory. You could then modify the code to make your own od command that acts on directories. Personally I think it would be a lot easier just to say "od -c ./*" - it will show you information for each file just as the "od -c ." would have if it had worked.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.