Hard links to directories: why not?
Guy Harris
guy at auspex.auspex.com
Mon Jul 23 05:54:54 AEST 1990
>My [ second ] favorite question is why doesn't the SunOS ln command
>permit the use of the -f flag for blasting an existent target flag?
Because the (4.3)BSD "ln" command doesn't seem to, either:
auspex% cp /home/unix_src/bsd4.3/bin/ln.c .
auspex% cc -o ln ln.c
auspex% echo >foo
auspex% echo >bar
auspex% ./ln -f foo bar
bar: File exists
and because the command sequence
rm -f bar && ln -f foo bar
for example, would have done the job quite nicely....
More information about the Comp.unix.wizards
mailing list