Questions tagged [file-systems]

techniques to organize and store files with their data on a computer.

100 questions
2
votes
2 answers

Why must directories be empty before being deleted?

As far as I know, deleting a non empty directory could work the same way as deleting an empty directory: by removing the pointer to the directory's metadata there would be no pointers to the items it contained, effectively deleting all its children…
Diogo Kollross
  • 131
  • 1
  • 4