3 ms·
chattr appears to be a Linuxism, but TFA doesn't mention that.
by gpvos 9y ago
chattr appears to be a Linuxism, but TFA doesn't mention that.
- quazeekotl 9y agoBSDs also have a command that does the same thing, but its called chflags https://man.openbsd.org/chflags.1 https://man.openbsd.org/chflags.1 https://www.freebsd.org/cgi/man.cgi?query=chflags https://www.freebsd.org/cgi/man.cgi?query=chflags http://netbsd.gw.com/cgi-bin/man-cgi?chflags http://netbsd.gw.com/cgi-bin/man-cgi?chflags
- jwilk 9y agoAFIACS, chattr(1) can be compiled on BSDs too; and then it uses the chflags(2) syscall.