Next privilege 200 Rep.
See reduced ads
Next badge 0/1
~3k people reached
- 0 posts edited
- 0 helpful flags
- 3 votes cast
ls -l shows file size 0 of files in /proc, but cat produces content
Ken, procfs is a core part of the Linux ABI, and understanding how it works is an important part of linux programming. The question is simple, but not an inappropriate one to be asked by a beginning programmer. This absurdist flame war, on the other hand, is a disgrace and you should be ashamed of yourself.
What is the reason for rmdir(1) and rm(1) to co-exist?
Nice. I just checked a copy of 3BSD I have here and there's no documentation for an rmdir syscall there either, and rmdir(1) is still implemented using unlink.