Directories used to be files, and there used to be no rmdir and mkdir system calls (only programs of that name). Files of type d were made with mknod(2), and then the entires . and .. were made with link(2). That is not an atomic operation, and that leads to races.
-
-
-
Also, directories with missing or incorrect . and .. entries break things in a really, really bad way. There also used to be no readdir() call (and its friends). Instead, a format for directory entries was proscribed and exposed. That broke, too, when moving to BSD ffs.
- Još 7 drugih odgovora
Novi razgovor -
-
-
I managed to accidentally delete /dev/null once. That was .... interesting.
- Kraj razgovora
Novi razgovor -
-
-
Plan 9 wouldn’t play you like that
- Kraj razgovora
Novi razgovor -
-
-
Used to be able to ‘cat’ dirs on AIX. Dirents basically.
- Kraj razgovora
Novi razgovor -
-
-
Tweet je nedostupan.
- Kraj razgovora
-
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.


