News for hackers. Stuff that matters.
Re:Facebook first level interview for Linux admin position by shabble on Saturday September 28, 2013 @11:45PM (#6464042)
What happens if you try to fsck /proc or /sys?

I presume 'not much' or 'you get an error', but I don't have an instance I'm prepared to sacrifice right now, just in case something hilariously destructive happens.

Re:Facebook first level interview for Linux admin position by gcr on Wednesday October 02, 2013 @12:05AM (#6480548)
fsck doesn't run on a directory, it runs on a block device. You can't run it on /proc or /sys because those aren't backed by a block device. /proc only looks like it has a file system because the kernel "pulls" the "files" out of thin air when you try to access them.
Re:Facebook first level interview for Linux admin position by judk on Sunday September 29, 2013 @12:23AM (#6464117)
You can run fsck in a diagnostic mode that doesn't write any changes.