3 ms·AFIACS, chattr(1) can be compiled on BSDs too; and then it uses the chflags(2) syscall.by jwilk 9y agoAFIACS, chattr(1) can be compiled on BSDs too; and then it uses the chflags(2) syscall.