ffa1f2c907
- Use lstat instead of stat to find the destination path. we can make a symlink to a broken symlink this way. - When calling process to create a link, check if the source is a symlink instead of trying to remove what the symlink points to! - Don't create hard links to directories. XXX: NB. Still sup is broken when used with the delete option. This is because in the delete pass, it goes and tries to delete all files in the old list that don't exist in the new list. This is a problem when a directory becomes a symlink to a hierarchy that contains the same names. Then sup will cross the symlink and start deleting files and directories from the destination. This is not easily fixed. Don't use sup with symlink/rsymlink and the delete option at the same time or *be careful*! |
||
---|---|---|
.. | ||
lib | ||
source | ||
sup | ||
supfilesrv | ||
supscan | ||
Makefile | ||
Makefile.inc | ||
README |
$NetBSD: README,v 1.2 2003/11/12 13:31:08 grant Exp $ This is the CMU sup system, converted to use a NetBSD Makefile infrastructure. To build the sup system for another operating system, go into the "source" subdirectory, and use the Makefile provided there. -- Jason R. Thorpe <thorpej@NetBSD.org> October 6, 1997