[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Bug moving file over link?



Can someone explain to me what is happening here:

~ $ touch foo
~ $ ln foo bar
~ $ ls foo bar
bar  foo
~ $ mv foo bar
~ $ ls foo bar
bar  foo

I try to move a file over a hard linked copy of itself and the move
fails, but there is no error.  Is this the intended behavior?


-- 
Ben Escoto

Attachment: pgp00001.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]