Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
distfiles tip for HD challenged, but BW blessed.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
gibson3659
n00b
n00b


Joined: 06 Feb 2003
Posts: 22

PostPosted: Thu Jul 10, 2003 8:43 pm    Post subject: distfiles tip for HD challenged, but BW blessed. Reply with quote

I haven't tried this, but I don't see any reason why it wouldn't work. Please forgive if this has been posted before.


emerge lufs
use lufs to mount distfiles at a mirror


should save all that space used for local copies of the dist files.
It would probably be nicer to write a short script that would mount a mirror, emerge, and unmount.
Back to top
View user's profile Send private message
puddpunk
l33t
l33t


Joined: 20 Jul 2002
Posts: 681
Location: New Zealand

PostPosted: Thu Jul 10, 2003 10:36 pm    Post subject: Reply with quote

I think the problem is the fact that the gentoo servers are bandwidth challanged. I wonder how much extra traffic that program generates? Gentoo Linux is a growing distro and the strain on the mirrors is growing.

But apart from that, nice idea :D
Back to top
View user's profile Send private message
gibson3659
n00b
n00b


Joined: 06 Feb 2003
Posts: 22

PostPosted: Fri Jul 11, 2003 2:23 pm    Post subject: Reply with quote

My main concern is that without support for it in portage/emerge, you would probably stay logged in until the emerge completed. I don't know the details of lufs, so I don't know if it stays connected the entire time it is mounted or if it times-out and reconnects when a request is made.
Back to top
View user's profile Send private message
smokeslikeapoet
Tux's lil' helper
Tux's lil' helper


Joined: 03 Apr 2003
Posts: 96
Location: Cordova, TN USA

PostPosted: Mon Jul 21, 2003 11:13 pm    Post subject: Reply with quote

I would only use this script if I was not the kind of person that didn't recompile stuff often. If you are happy with your system and only upgrade stuff every few months, then i don't see any problem with it.

The best use for this utility would be if you ran your own mirror on a network and didn't want to store all of the source packages on each local client.
_________________
-SmokesLikeaPoet

Folding@Home
Back to top
View user's profile Send private message
Squinky86
Retired Dev
Retired Dev


Joined: 25 Mar 2003
Posts: 309
Location: Alabama, USA

PostPosted: Tue Jul 22, 2003 3:20 am    Post subject: Reply with quote

I would recommend against this if you do any non-standard emerges or use any development packages.
What happens when you try to download a file from a mirror that isn't there? It will fail to the next mirror and download the file and it MIGHT error (speculation) when it tries to write it to the mounted lufs directory.
I've used lufs before and it is an amazing package that isn't much of a bandwidth hog, so there's little or no problem there. I only see user problems occuring here for custom systems.
If you do use only a few basic stable packages, it seems like this would work though; it really depends on the user.
_________________
Me
Back to top
View user's profile Send private message
jago25_98
Apprentice
Apprentice


Joined: 23 Aug 2002
Posts: 180

PostPosted: Tue Jul 22, 2003 11:30 pm    Post subject: make.conf Reply with quote

suggest update original post to include:

"size of the cache can also be limited in /etc/make.conf with CCACHE_SIZE"

with thanks
Back to top
View user's profile Send private message
Squinky86
Retired Dev
Retired Dev


Joined: 25 Mar 2003
Posts: 309
Location: Alabama, USA

PostPosted: Wed Jul 23, 2003 12:55 am    Post subject: Reply with quote

Another thing to remember. What would happen if a bunch of people used this on an ftp server? lufs logs in to the server when it mounts and relogs in when called upon if the connection times out. This could cause those already busy ftp servers to stay full.
BTW, isn't ccache used in compiling, like it remembers what certain peices of code return and make compiling faster? I didn't think it had anything to do with portage/distfiles and I thought you had to have ccache installed and listed in FEATURES in make.conf. I haven't looked into it, so I could be wrong, but it looks like it would only take up more hd space for the space-challenged. Be sure to flog me if I'm wrong; I'm still learning this kind of stuff.
_________________
Me
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum