Comment by btdmaster
8 days ago
Everything really is a file: if you do `cat /` you'll get back the internal representation of the directory entries in / (analogous to ls)
And they still had coredumps at the time if you press ctrl-\
8 days ago
Everything really is a file: if you do `cat /` you'll get back the internal representation of the directory entries in / (analogous to ls)
And they still had coredumps at the time if you press ctrl-\
Being able to cat directories like that doesn't surprise me as much as the contents being readable. Is there not a bunch of binary garbage in between the filenames?
I remember `cat` on directories working on Unixen much newer than v4. Not sure if it ever was the case on Linux tho.