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.

Reply via email to