Mailinglist Archive: opensuse (2459 mails)

< Previous Next >
Re: [opensuse] mv and cpio have new behavior. How do I get the old back?
  • From: Randall R Schulz <rschulz@xxxxxxxxx>
  • Date: Tue, 25 Mar 2008 18:01:51 -0700
  • Message-id: <200803251801.51460.rschulz@xxxxxxxxx>
On Tuesday 25 March 2008 17:41, Anders Johansson wrote:
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"

Sheer revisionism!

True (tm) Unix has no such abominations.

Nonetheless, the effect is the same.


Anders


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

< Previous Next >