[Yum] A couple of problems and RFE for Yum
Garrick Staples
garrick at usc.edu
Tue Oct 21 22:02:50 UTC 2003
On Tue, Oct 21, 2003 at 04:19:08PM -0400, Rick Thomas alleged:
> seth vidal wrote:
> >
> > > Another alternative is:
> > >
> > > 1) write to .newheaders
> > > 2) HARD LINK headers to .oldheaders
> > > 3) rename .newheaders to headers
> > >
> > > That's efficient, but requires hard links :)
> >
> > which not all filesystems have, right.
>
>
> Right. Not all filesystems have hard links. However, some do -- and in
> that case, it would be very nice to provide *true* atomicity when
> possible and cheap to do so. Would a bugzilla on this be useful?
Unfortunately you can't hardlink directories.
This is a general Unix rule that has been in my head for ages. I just
actually tried it on Solaris and Linux, and found it to be true.
Perhaps other OSes allow this.
More information about the Yum
mailing list