Re: [dev] misc projects

From: Thorsten Glaser <tg_AT_mirbsd.de>
Date: Wed, 23 Oct 2013 12:10:54 +0000 (UTC)

Sylvain BERTRAND dixit:

>and use CPIO text description to avoid being root to create the

You can use paxmirabilis/MirCPIO for that (it’s packaged as “pax”
in Debian wheezy and newer, in case you wonder). Example:

find * | sort | paxcpio -oC512 -Hsv4cpio -Mdist | xz -2e >initrd

-Mdist normalises all uid:gid to 0:0 (and some other things that
make for better compression; use -Mnorm to also set all timestamps
to the epoch, saves a few more bytes).

bye,
//mirabilos
-- 
<diogenese> Beware of ritual lest you forget the meaning behind it.
<igli> yeah but it means if you really care about something, don't
    ritualise it, or you will lose it. don't fetishise it, don't
    obsess. or you'll forget why you love it in the first place.
Received on Wed Oct 23 2013 - 14:10:54 CEST

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2013 - 14:24:07 CEST