On Thu, Nov 29, 2018 at 11:08 AM Eugene Grosbein <eu...@freebsd.org> wrote:
> 30.11.2018 0:52, Warner Losh wrote: > > > It could work on files within a filesystem, but not in its current > state. ftruncate, however, is a better match there. None of the filesystems > support the DIOCDELETE ioctl. > > However, both of UFS and ZFS issue BIO_DELETE while freeing their fs > blocks, do they? > Yes. They do. You can't just open a file that's backed by ufs/zfs and issue the DIOCGDELETE ioctl. ZFS devices, though, do honor it. Warner _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"