just started playing around with ramdisks.  have a question:

i can cat (or dd) a file to /dev/ram0, but when i try to read ram0, the file
is definitely in there, but so is a lot of junk afterwards.   catting the
ramdisk is pretty much chaos after the original file.

can i resize the ramdisk to the size of the original file?

or is the idea to put some kind of EOF character at the end?  (if so, how
does one do that?)

thanks!

pete

-- 
"It's better to be safe than assimilated."                   [EMAIL PROTECTED]
                      -- Chakotay                            www.dirac.org/p

PGP signature

Reply via email to