force yum to use smbmount?

Pybe squalidstuff at gmail.com
Sat Oct 9 23:14:44 UTC 2004


On Sat, 09 Oct 2004 17:45:14 -0500, W. Guy Thomas <mrguytx at austin.rr.com> wrote:
> 
> I created a /mnt/mntyum that is pointing to a smbmount on my XP box that
> has lots of gigs free.
> 
> How do I make yum *itself* use this mnt/mntyum for the cache?

# copy all yum headers etc to mnt so dont have to dload 
# them again (remember the 1st time)
cp /var/cahe/yum /mnt/mntyum

# mount the new mount ontop of /var/cahe/yum this 
# doesnt loose the old info just creates a virtual dir on top
mount -o loop /mnt/mntyum /var/cahe/yum

That should do the trick.

Pybe




More information about the fedora-list mailing list