diff options
author | Ned Ludd <solar@gentoo.org> | 2006-07-09 19:54:45 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2006-07-09 19:54:45 +0000 |
commit | e809070cfde62c12cc843c6e31d51a47c98c287d (patch) | |
tree | 271ad37d9800355511f7e785554319d8b313efb5 | |
parent | - misc updates (diff) | |
download | portage-utils-0.1.19.tar.gz portage-utils-0.1.19.tar.bz2 portage-utils-0.1.19.zip |
- add qcahce man page. update pre defined binhosts. warn if file i/o is dirt slowv0.1.19
-rw-r--r-- | main.c | 23 | ||||
-rw-r--r-- | man/qcache.1 | 49 |
2 files changed, 66 insertions, 6 deletions
@@ -1,7 +1,7 @@ /* * Copyright 2005-2006 Gentoo Foundation * Distributed under the terms of the GNU General Public License v2 - * $Header: /var/cvsroot/gentoo-projects/portage-utils/main.c,v 1.120 2006/05/24 03:23:56 vapier Exp $ + * $Header: /var/cvsroot/gentoo-projects/portage-utils/main.c,v 1.121 2006/07/09 19:54:45 solar Exp $ * * Copyright 2005-2006 Ned Ludd - <solar@gentoo.org> * Copyright 2005-2006 Mike Frysinger - <vapier@gentoo.org> @@ -35,19 +35,28 @@ #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof(*arr)) +// http://tinderbox.dev.gentoo.org/default-linux/arm +// http://tinderbox.dev.gentoo.org/default-linux/hppa + #ifdef __linux__ +#undef URL +#define URL "http://tinderbox.dev.gentoo.org" # ifdef __i386__ # ifdef __UCLIBC__ -# define PORTAGE_BINHOST "ftp://tinderbox.x86.dev.gentoo.org/uclibc/i386" +# define PORTAGE_BINHOST URL "/uclibc/i386" # else # ifdef __SSP__ -# define PORTAGE_BINHOST "ftp://tinderbox.x86.dev.gentoo.org/hardened/x86" +# define PORTAGE_BINHOST URL "/hardened/x86" # else -# define PORTAGE_BINHOST "ftp://tinderbox.x86.dev.gentoo.org/default-linux/x86/2005.1/All" +# define PORTAGE_BINHOST URL "/default-linux/x86/All" # endif # endif -# if defined(__powerpc__) && defined(__SSP__) && !defined(__UCLIBC__) -# define PORTAGE_BINHOST "ftp://tinderbox.x86.dev.gentoo.org/hardened/ppc" +# if defined(__powerpc__) && defined(__SSP__) +# if !defined(__UCLIBC__) +# define PORTAGE_BINHOST URL "/hardened/ppc" +# else +# define PORTAGE_BINHOST URL "/uclibc/ppc" +# endif # endif # endif #endif @@ -689,6 +698,8 @@ const char *initialize_flat(int cache_type) if (secs < 0) secs = 0; if (frac < 0) frac = 0; warn("Finished %u entries in %d.%06d seconds", count, secs, frac); + if (secs > 100) + warn("You should consider a faster file system such as reiserfs for PORTDIR='%s'", portdir); ret: return cache_file; } diff --git a/man/qcache.1 b/man/qcache.1 new file mode 100644 index 0000000..b9891f4 --- /dev/null +++ b/man/qcache.1 @@ -0,0 +1,49 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. +.TH qcache "1" "July 2006" "Gentoo Foundation" "qcache" +.SH NAME +qcache \- manual page for qcache +.SH SYNOPSIS +.B qcache +\fI<action> <args> : search the metadata cache\fR +.SH DESCRIPTION +Options: \fB\-[p\fR:c:idtasvqChV] +.HP +\fB\-p\fR, \fB\-\-matchpkg\fR <arg> +.BR + * match pkgname +.HP +\fB\-c\fR, \fB\-\-matchcat\fR <arg> +.BR + * match catname +.TP +\fB\-i\fR, \fB\-\-imlate\fR +* list packages that can be marked stable +.TP +\fB\-d\fR, \fB\-\-dropped\fR +* list packages that have dropped keywords on a version bump +.TP +\fB\-t\fR, \fB\-\-testing\fR +* list packages that have ~arch versions, but no stable versions +.TP +\fB\-s\fR, \fB\-\-stats\fR +* display statistics about the portage tree +.TP +\fB\-a\fR, \fB\-\-all\fR +* list all packages that have at least one version keyworded for an arch +.TP +\fB\-v\fR, \fB\-\-verbose\fR +* Make a lot of noise +.TP +\fB\-q\fR, \fB\-\-quiet\fR +* Tighter output; suppress warnings +.TP +\fB\-C\fR, \fB\-\-nocolor\fR +* Don't output color +.TP +\fB\-h\fR, \fB\-\-help\fR +* Print this help and exit +.TP +\fB\-V\fR, \fB\-\-version\fR +* Print version and exit +.PP +$Id: qcache.1,v 1.1 2006/07/09 19:54:45 solar Exp $ |