SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Yes, it does provide a certain amount of convenience when scripting.
However, not having this out-of-the-box is not criticism against Slackware. However, I don't see why you should be able to compile it. Did you check out slackbuilds.org?
I built a Slackware 10.0 package for pax long ago - see http://www.slackware.com/~alien/slackbuilds/pax/
Basically it is non-maintained and is only available in source form from a SuSE ftp server.
Last code release 1999, last webpage update 2002. paxutils appears to be on a similar timeline to that of the Hurd kernel. tar handles pax archives so paxutils are not needed.
Hmmm - might be a bit of wishful thinking in what I read. It has been resurrected as of 2003 apparently; doesn't seem to have progressed much. See here for what I was going on.
I built a Slackware 10.0 package for pax long ago - see http://www.slackware.com/~alien/slackbuilds/pax/
Basically it is non-maintained and is only available in source form from a SuSE ftp server.
Eric
I've used the sources available from Suse, too. I couldn't find other sources. Now I've written a Slackbuild Script, too (Because I didn't know, that Eric has got one).
Normally I use tar to create and extract archives, but I got a script which makes use of pax.
If anyone is interested, send me a message via LQ with your email adress for getting the script/slack-desc or the package. I haven't got a server where I can put it.
Is there any reason to add it? In other words, does it do something that tar(1) and cpio(1) are unable to do?
Posix compliance is the primary reason. Those who script to the standard will find things break on Slackware. This would seem to fit with Slackware's Unix-like focus.
Posix compliance is the primary reason. Those who script to the standard will find things break on Slackware. This would seem to fit with Slackware's Unix-like focus.
Doubtful, using pax in scripts intended for use on Linux is a stupid idea given that almost no distro installs pax by default and those that do (or include it as part of an LSB compliance meta package) offer a poorly maintained fork of an old MirBSD pax. That version cannot even create pax archives, only USTAR (and hence that pax is not POSIX.1-2001 compliant in any case). Furthermore the USTAR format is not a serious backup format for modern system due to various limitations, e.g. 8 GB limit on files within the archive. If you are writing scripts for use on Linux you should not rely on Pax being present, Posix requirement or not. Additionally I do not believe it is one of Slackware's goals to be 100% Posix compliant. Slackware is trying to stay true to the spirit of what UNIX is/was, not necessarily the latest iteration of Posix.
By the way modern versions of tar, like GNU tar and BSD tar can create Pax archives. Both of these versions have a wide range of options, vastly surpassing the feature set defined by Posix for Pax. The Pax format is IMHO a worthwhile standard, however the case for the pax binary is less clear. Tar has won that war and remains the de facto standard.
I say all of this as someone who actually has a soft spot for pax (it was a nice idea in theory). Indeed I maintain a SlackBuild for the pax provided by The Heirloom Toolchest. This version of pax can create POSIX.1-2001 pax archives. It can also can read and write zip files, RPM packages, various tar formats (including GNU tar), and the extended cpio formats of Cray UNICOS, SGI IRIX (-K), SCO UnixWare (-c) and Tru64 UNIX (-e).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.