[Yum] RPM directory of links

Michael Stenner mstenner at phy.duke.edu
Tue Aug 20 20:02:13 UTC 2002


On Tue, Aug 20, 2002 at 03:32:51PM -0400, Andrew Schretter wrote:
> Or, more commonly, if the files are not on the same filesystem... (NFS,
> etc...)

Well, yes, but then you can't even MAKE the link.  That's not exactly
a problem that yum would have with them.  Upon rereading my previous
post, I do see that I was unclear about that, though.

				-Michael

> On Aug 20,2002 15:29:18 -0400, Michael Stenner <mstenner at phy.duke.edu> wrote :
> >On Tue, Aug 20, 2002 at 12:00:55PM -0700, Ian Masterson wrote:
> >> Hardlinks work just fine, although being able to use symlinks instead 
> >> would be very nice.
> >
> >In fact, hard links _HAVE_ to work, since there is no distinction
> >between original and link.
> >
> >The only scenario I can think of where hard links don't work but
> >symlinks do is if a program removes a file and creates a new file of
> >the same name (intending to replace the original).
> >
> >					-Michael
> >> 
> >> -Ian
> >> 
> >> On 20 Aug 2002, seth vidal wrote:
> >> 
> >> > On Tue, 2002-08-20 at 14:51, Andrew Schretter wrote:
> >> > > Seth,
> >> > >    You mentioned that I could use a directory containing links to RPMS
> >> > > and run yum-arch on it to create the header info for that directory.
> >> > > 
> >> > > However, when I tried it, I got :
> >> > > 
> >> > > No rpms to look at. Exiting.
> >> > > 
> >> > > The same yum-arch works fine on the directory actually containing all
> >> > > the RPMS.  I was just testing to see if I could create a subset of those
> >> > > RPMS in another directory via links.
> >> > > 
> >> > 
> >> > 
> >> > whoops - misremembered:
> >> > 
> >> > from serverStuff.py getfilelist()
> >> > 
> >> > # get all the files matching the 3 letter extension that is ext in path,
> >> > recursively
> >> > # store them in append them to list
> >> > # return list
> >> > # ignore symlinks
> >> > 
> >> > yah - and I think I remember why - b/c the path might be outside of that
> >> > basedir - and the basedir is needed to reach the files if symlink
> >> > following is not supported in the http or ftp server.
> >> > 
> >> > 
> >> > a problem worth looking into a bit more. If you make them hardlinks what
> >> > happens?
> >> > 
> >> > -sv
> >> > 
> >> > 
> >> > 
> >> > 
> >> 
> >> 
> >> _______________________________________________
> >> Yum mailing list
> >> Yum at lists.dulug.duke.edu
> >> https://lists.dulug.duke.edu/mailman/listinfo/yum
> >
> >-- 
> >  Michael Stenner                       Office Phone: 919-660-2513
> >  Duke University, Dept. of Physics       mstenner at phy.duke.edu
> >  Box 90305, Durham N.C. 27708-0305
> >_______________________________________________
> >Yum mailing list
> >Yum at lists.dulug.duke.edu
> >https://lists.dulug.duke.edu/mailman/listinfo/yum
> >
> 
> 
> 
> Andrew Schretter
> Systems Programmer, Duke University
> Dept. of Mathematics (919) 660-2866
> 
> 
> 
> 
> 
> _______________________________________________
> Yum mailing list
> Yum at lists.dulug.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum

-- 
  Michael Stenner                       Office Phone: 919-660-2513
  Duke University, Dept. of Physics       mstenner at phy.duke.edu
  Box 90305, Durham N.C. 27708-0305



More information about the Yum mailing list