> >> Now, from a logical point of view, why moving a file into a directory > > doesn't fall into the "created into them" case? > > > > Because (if on the same filesystem) you don't create a new file. You > > just link the file in the destination dir and unlink the file from the > > source dir. > > Exactly. But from a /*logical*/ point of view, shouldn't this case be > treated /*as if*/ the file was created inside the target directory?
No. This has nothing to do with logics but with your premisses, the implementation of mv and standards (IEEE Std 1003.2 (``POSIX.2'')). It just behaves different than you would expect, but that is no logical error. > > Regards, > > > > Wouter > > > -- > Pietro Cerutti > > PGP Public Key: > http://gahr.ch/pgp > > > -- [ [EMAIL PROTECTED] is binnenkort niet meer, [EMAIL PROTECTED] is mijn nieuwe email-adres. ] -- [ [EMAIL PROTECTED] is binnenkort niet meer, [EMAIL PROTECTED] is mijn nieuwe email-adres. ] _______________________________________________ firstname.lastname@example.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"