Page MenuHomeFreeBSD

OptionalObsoleteFiles: Add etc/zfs/compatibility.d
Needs ReviewPublic

Authored by tembun_bk.ru on Sat, Jan 17, 2:42 PM.
Tags
Referenced Files
Unknown Object (File)
Sun, Jan 18, 10:51 PM
Unknown Object (File)
Sun, Jan 18, 9:19 AM
Unknown Object (File)
Sun, Jan 18, 6:33 AM
Unknown Object (File)
Sun, Jan 18, 3:57 AM
Unknown Object (File)
Sat, Jan 17, 11:16 PM
Unknown Object (File)
Sat, Jan 17, 8:56 PM
Unknown Object (File)
Sat, Jan 17, 8:19 PM
Unknown Object (File)
Sat, Jan 17, 4:02 PM
Subscribers

Details

Reviewers
kevans
brooks
Group Reviewers
Contributor Reviews (src)
Summary

If the world is built and installed with WITHOUT_ZFS, then make -DBATCH_DELETE_OLD_FILES delete-old-dirs will give the error:

rmdir: /etc/zfs: Directory not empty

because /etc/zfs/compatibility.d is still there.

I'm not sure if this patch is the correct way to resolve the problem, since in my case /etc/zfs/compatibility.d is an empty directory (and thus can be safely removed with rmdir(1)), but I'm not sure if this will always be the case.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped