>> 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. Casper _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss