981: Porn Folder

Explain xkcd: It's 'cause you're dumb.
(Redirected from 981)
Jump to: navigation, search
Porn Folder
Eww, gross, you modified link()? How could you enjoy abusing a filesystem like that?
Title text: Eww, gross, you modified link()? How could you enjoy abusing a filesystem like that?

[edit] Explanation

Cueball seems to have found a porn folder. However, it contains a directory loop, set up by a person off-screen. It is possible to actually do this, but it is widely regarded as a very bad idea, as it can break the system in not-so-obvious ways (mostly by causing seemingly-trivial operations to infinite loop). The implication is that the folder does not need to contain pornographic images because the folder is the porn—its violation of the taboo against looping is something the off-screen character finds erotic.

link() is the Linux system call to create a hard link. In an unmodified Linux kernel, it will not allow directory hard links for this exact reason; the person who set up the porn folder apparently "forced" Linux to comply, with all of the sexual analogies that suggests.

[edit] Transcript

[Cueball sits at a desk, looking at a laptop screen with one hand on his chin.]
Cueball: So I thought I found your porn folder, in calendar/backup/PORN
Friend (off screen): Don't open that!
[A wider shot of the person looking at the laptop.]
Cueball: But it contains a bunch more folders, filled with more folders, and then... after 20 levels, somehow I'm back at the main folder?
Friend (off screen): It's, uh, well hidden.
[Cueball has turned around in the chair, now with the laptop in his lap.]
Cueball: I think there's no actual porn here.
Cueball: You're just turned on by filesystems.
Friend (off screen): It's a hardlinked directory loop - so taboo!
Cueball: Now I feel dirty sharing a drive with you.
comment.png add a comment!

Discussion

Its not difficult to do that.
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox

It seems you are using noscript, which is stopping our project wonderful ads from working. Explain xkcd uses ads to pay for bandwidth, and we manually approve all our advertisers, and our ads are restricted to unobtrusive images and slow animated GIFs. If you found this site helpful, please consider whitelisting us.

Want to advertise with us, or donate to us with Paypal or Bitcoin?