On 02/25/2011 05:24 PM, Vorfeed Canal wrote: > On Mon, Feb 21, 2011 at 6:20 PM, Thomas Wolff <t...@towo.net> wrote: >> And this is not an artificial limitation but there is no way that this >> could conceivably work. > > What do you mean "there is no way that this could conceivably work"? > > It worked in Linux till it was explicitly forbidden...
Well, there's other strange effects with operating on "." and "..". At one point, the Hurd operating system tried to honor rename("subdir/..","other") (similar to this discussion about rmdir(".")), with the net result of deadlocking the filesystem and making all subsequent syscalls fail with EIEIO ("the computer bought the farm"). There's a reason that POSIX forbids some operations on these names, because they are too prone to bad implementations royally screwing up your system. -- Eric Blake ebl...@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature