Mailinglist Archive: opensuse (2459 mails)

< Previous Next >
Re: [opensuse] mv and cpio have new behavior. How do I get the old back?
  • From: Anders Johansson <ajh@xxxxxxxxxx>
  • Date: Wed, 26 Mar 2008 01:41:41 +0100
  • Message-id: <1206492101.20029.2.camel@xxxxxxxxxxxxxxxxxx>
On Tue, 2008-03-25 at 12:47 -0700, Randall R Schulz wrote:
Only modifying the directory itself (creating or removing directory
entries) should change its modification time. And to be clear, creating
and deleting are the _only_ directory operations. Renaming (what "mv"
does) is accomplished by making a link to the new name followed by
unlinking the original name.

I don't think that's true. rename(2) is a syscall all of its own, and as
far as I know, it is "atomic"


To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups