I am fiddling around with the od command. I referenced The UNIX Programming Environment, they could use od on a directory, which seems to make good sense. When I try though, it gives me this:
$ od -c .
od: .: read error: Is a directory
0000000
$
Well ok - thanks for the info to both of you. I suppose that pretty well solves the problem as to what is going on.
Now having looked at the man page for read on my machine, I see there is the error code EISDIR which also exists under FreeBSD, but it looks as though on FreeBSD that it depends on the file system itself whether or not you are allowed to read a directory or not.
[EISDIR] The file descriptor is associated with a directory
residing on a file system that does not allow regular
read operations on directories (e.g. NFS).
No indication in the Linux man page of anything of the same sort.