5 ms·
> Including the network share of my other computer’s /home. TIL network shares also get deleted in recursive deletions.
by busymom0 5y ago
> Including the network share of my other computer’s /home.
TIL network shares also get deleted in recursive deletions.
- teddyh 5y agoThere’s a reason that modern ‘rm’ has a “--one-file-system” option.
- Nextgrid 5y agoUnlike on Windows where each drive has its own letter (so I don't think it's possible to create a path including all drives), in Linux the filesystem originates from "/" and any additional drives or network shares are "mounted" into folders within that parent filesystem, so recursively deleting everything from the parent would also affect everything else.
- teddyh 5y agoWindows also has mounts onto subfolders.