DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 5th October 2009
bram85 bram85 is offline
Real Name: Bram Schoenmakers
New User
 
Join Date: May 2008
Location: Eindhoven
Posts: 8
Default Cleaning Portsnap files in /var/db/portsnap/files

On the FreeBSD boxes I maintain I see a lot of cruft piling up in /var/db/portsnap/files. How to get rid of this? From former experience that just removing these snapshot files is a bad idea, it breaks portsnap. I've seen a suggestion on the web to remove /var/db/portsnap and the ports tree alltogether, and redownload everything with portsnap fetch extract, but that appears to be overkill to me. What do you suggest to keep the portsnap directory clean?
Reply With Quote
  #2   (View Single Post)  
Old 5th October 2009
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Real Name: Ben
Spam Refugee
 
Join Date: Jul 2008
Location: Rotterdam, The Netherlands
Posts: 336
Default

It should be clean. In other words: there should be one file per port.

Code:
ls /var/db/portsnap/files | wc -l
   20878

wc -l /usr/ports/INDEX-8 
   20726 /usr/ports/INDEX-8
Not much to clean up.
Reply With Quote
  #3   (View Single Post)  
Old 5th October 2009
bram85 bram85 is offline
Real Name: Bram Schoenmakers
New User
 
Join Date: May 2008
Location: Eindhoven
Posts: 8
Default

OK, thanks for the clarification. I had the impression that there was one entry per fetch session.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with PORTSNAP and my router cedcot FreeBSD Ports and Packages 2 22nd April 2009 11:32 AM
Portsnap causes system to reboot Weaseal FreeBSD Ports and Packages 22 11th October 2008 07:14 AM
merging log files Sylhouette FreeBSD General 5 9th August 2008 02:46 AM
How to sync files over ftp graudeejs FreeBSD General 4 4th August 2008 10:18 PM
Moving files Weaseal Programming 2 14th July 2008 07:30 AM


All times are GMT. The time now is 10:35 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick