Subject: chflags - immutable|appendonly files come to 2BSD (#198 - Part 2 of 14) Index: bin,etc,lib,sys/many_files 2.11BSD Description: Files/directories can not be declared append-only, immutable, archived or not to be dumped under 2.11BSD. dump(8) lacked the ability to bypass files marked for 'nodump'. Upper case only and Hazeltine terminal support made the tty driver (and several utilities - 'vi' and 'getty' to name two) needlessly complicated and larger (especially since those devices are obsolete). open(2) can not provide for atomically obtaining a flock(2)'d file descriptor. open(2)ing with O_NDELAY (now called O_NONBLOCK) would not wait for carrier on the first i/o operation. Obsolete stub system calls 'setdopt' and 'getdopt' were still present in the kernel even though they have never done anything except take up space. 'ex' had quite a bit of cruft left lying about which was begging to be cleaned up. Repeat-By: This section does not apply this time since this is an 'update' which adds new functionality rather than fixing an existing bug. Fix: Refer to part 1 (#197) for the complete description and installation instructions. This is part 2 of 14 (#198). Files affected (removed or renamed) by this part are: /usr/src/bin/ls.c /usr/src/bin/ls/ls.c /usr/src/lib/libc/pdp/sys/getdopt.s /usr/src/lib/libc/pdp/sys/setdopt.s /usr/src/sys/conf/VAX.compile /usr/src/sys/conf/VAX /usr/src/ucb/ex/asfix.c70 /usr/src/ucb/ex/bcopy.c /usr/src/ucb/ex/makefile.370 /usr/src/ucb/ex/makefile.70 /usr/src/ucb/ex/makefile.c70 /usr/src/ucb/ex/makefile.u3 /usr/src/ucb/ex/makefile.vax /usr/src/ucb/ex/ovdoprnt.s /usr/src/ucb/ex/ovprintf.c /usr/src/ucb/ex/rofix =====================cut here======================== #! /bin/sh mkdir /usr/src/bin/ls chmod 755 /usr/src/bin/ls mv /usr/src/bin/ls.c /usr/src/bin/ls/ls.c rm -f /usr/src/lib/libc/pdp/sys/getdopt.s rm -f /usr/src/lib/libc/pdp/sys/setdopt.s rm -r /usr/src/sys/conf/VAX.compile rm -f /usr/src/sys/conf/VAX rm -f /usr/src/ucb/ex/asfix.c70 rm -f /usr/src/ucb/ex/bcopy.c rm -f /usr/src/ucb/ex/makefile.370 rm -f /usr/src/ucb/ex/makefile.70 rm -f /usr/src/ucb/ex/makefile.c70 rm -f /usr/src/ucb/ex/makefile.u3 rm -f /usr/src/ucb/ex/makefile.vax rm -f /usr/src/ucb/ex/ovdoprnt.s rm -f /usr/src/ucb/ex/ovprintf.c rm -f /usr/src/ucb/ex/rofix