On Sat, 30 Dec 2006 15:50:53 +0100, <[EMAIL PROTECTED]> wrote:
Link with the target being a directory and the source a any file or
only directories? And only as superuer?
I'm sorry, I ment unlink(2) here.
Ah, so symmetrical with link(2) to directories.
unlink(2) doesn't always work and rmdir(2) will not remove empty
directories
with a link count other than 2 (for "." and "..")
You can't unlink "." or ".."; though in early days it was what was used
to create directories. (mknod dir , link(dir, dir/.) , link(., dir/..))
I think removing the ability to use link(2) or unlink(2) on directories
would hurt no-one and would make a few things easier.
I'd be rather carful here, see the standards implications drafted in
4917742.
---
frankB
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss