Anonymous | Login | 2024-04-19 12:20 CEST |
Main | My View | View Issues |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||
0004268 | [pigz] regular use | minor | always | 2010-02-12 14:59 | 2010-02-24 23:19 | ||
Reporter | ckmehta1 | View Status | public | ||||
Assigned To | dam | ||||||
Priority | normal | Resolution | fixed | ||||
Status | closed | ||||||
Summary | 0004268: Pigz Sol8 Workaround for threads causes failures when symlinked as /usr/bin/gzip | ||||||
Description |
One of the nice features about PIGZ is the ability to be a drop-in replacement for /usr/bin/gzip and get the multi-threading without changing every script that ultimately referenced GZIP (perhaps through a GTAR -Z function). However this workaround for Sol8 causes problems when I invoke /usr/bin/gzip, I get this error: /usr/bin/gzip: /usr/bin/../libexec/gzip: not found |
||||||
Additional Information |
Based on what I can see, you try to reuse the same script for pigz and unpigz to support Sol8. If you really want to maintain Sol8 compatibility in this script, I would suggest that you replace the "/usr/bin/basename $0" section of this script with some case statement that handles the pigz/gzip unpigz/gunzip names. Alternatively, you could just create symlinks like ln -s /opt/csw/libexec/pigz /opt/csw/libexec/gzip ln -s /opt/csw/libexec/unpigz /opt/csw/libexec/gunzip I would say symlinks so the relationship is obvious to the casual observer. I would even say that /opt/csw/libexec/unpigz should be a symlink of /opt/csw/libexec/pigz |
||||||
Tags | No tags attached. | ||||||
Attached Files | |||||||
|
Copyright © 2000 - 2008 Mantis Group |