Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 65568 Details for
Bug 83379
emerge unmerge is very slow
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
checksum benchmark utility
checksum.py (text/plain), 818 bytes, created by
Zac Medico
on 2005-08-09 19:19:16 UTC
(
hide
)
Description:
checksum benchmark utility
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2005-08-09 19:19:16 UTC
Size:
818 bytes
patch
obsolete
>#!/usr/bin/python > >import sys >import datetime >sys.path.append("/usr/lib/portage/pym") >import portage_checksum >import portage_const > >usage= "usage: %s [-p] \n" % sys.argv[0] + \ > "read file paths from stdin and perform_md5() on each file\n"+ \ > "options:\n" +\ > " -p use calc_prelink=1 (disabled by default)\n" > >if __name__=="__main__": > if len(sys.argv)>2 or (len(sys.argv)==2 and sys.argv[1]!="-p"): > sys.stderr.write(usage) > sys.stderr.flush() > sys.exit(1) > > calc_prelink=0 > if len(sys.argv)==2 and sys.argv[1]=="-p": > if not portage_checksum.prelink_capable: > sys.stderr.write("Could not find prelink binary:"+portage_const.PRELINK_BINARY+"\n") > sys.exit(1) > calc_prelink=1 > > for line in sys.stdin: > path=line.rstrip("\n") > portage_checksum.perform_checksum(path,calc_prelink=calc_prelink) > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 83379
:
65504
| 65568