What's The Limit

Mike McCarty Mike.McCarty at sbcglobal.net
Tue Dec 12 23:52:41 UTC 2006


Mikkel L. Ellertson wrote:
> Mike McCarty wrote:
> 
>>Mikkel L. Ellertson wrote:
>>
>>>Dumb question - what happens if you run something like
>>>"cat /dev/hdb" or "less /dev/hdb"? I would think that
>>>you could access the file contents that way.
>>
>>But, since there is no file, there is no EOF. Using dd
>>lets you control how much data you pull. The other techniques
>>don't do that.
>>
> 
> Are you sure there isn't an EOF? I would think that the EOF from the

There is no such thing as an EOF marker inside a file in *NIX
style systems. CP/M and later MSDOS used ^Z as an EOF marker.
But *NIX style FSs store the size information in the directory,
as did later MSDOS and Windows.

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!




More information about the fedora-list mailing list