On Sun, Jun 25, 2000 at 12:01:44AM +0200, Jamie Lokier wrote:
> Here's a use:
> cp -al kernel kernel-branch
> chattr -R +i kernel
> Proceed to edit files in `kernel-branch'-- safely knowing that nothing
> you do there will alter the files in `kernel'. (Otherwise commands like
> `prog > file' and some editors will change the hard-linked files).
Attributes are per inode, not per link.
Also you could always archive the same mit chmod u-w (editors usually do
not force writing unless specifically asked -- and the evil editors that
do not would soon learn how to remove immutable..)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Jun 26 2000 - 21:00:05 EST