rm | Cleaning up recycle bin

Mark Blackman mark at exonetric.com
Sun Feb 23 13:23:17 UTC 2020



> On 23 Feb 2020, at 13:16, Jos Chrispijn <bsduser at cloudzeeland.nl> wrote:
> 
> I see; is that ZFS behavior or goes that for all BSD file systems?

All POSIX conformant file systems, including ZFS. If you look at the man page, this behaviour is in the summary

NAME
     rm, unlink - remove directory entries

The *directory entry* referencing that chain of blocks is removed. The chain of blocks remains and can be overwritten at any time after the directory entry is removed.

- Mark


More information about the freebsd-questions mailing list