LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Jan Engelhardt <jengelh@linux01.gwdg.de>
To: Jeffrey Hundstad <jeffrey.hundstad@mnsu.edu>
Cc: "Horst H. von Brand" <vonbrand@inf.utfsm.cl>,
Marty Leisner <linux@rochester.rr.com>,
linux-kernel@vger.kernel.org, bug-cpio@gnu.org,
martin.leisner@xerox.com
Subject: Re: ownership/permissions of cpio initrd
Date: Tue, 5 Dec 2006 22:43:03 +0100 (MET) [thread overview]
Message-ID: <Pine.LNX.4.61.0612052242120.18570@yvahk01.tjqt.qr> (raw)
In-Reply-To: <4575DD73.9010008@mnsu.edu>
On Dec 5 2006 14:58, Jeffrey Hundstad wrote:
>
> ...It also let's you mknod and friends, and let's you set permissions to files
> to more than just ONE user. The whole point of the commands is to let you make
> distribution files without root access. Of course you can fake all of this
> with a special archiver command.... I'm just throwing out options.
Ah. Thanks for explaining! Looks like it eats big amounts of memory when there
are a lot of files in the faekroot.
>
> $ fakeroot
> # mkdir root
> # mkdir root/dev/
> # mknod root/dev/null c 1 3
> # mknod root/dev/sda1 b 8 1
> # chown root.disk root/dev/sda1
> # cd root
> # tar cvf ../root.tar ./
> # exit
> $ tar tvf root.tar
> drwxr-xr-x root/root 0 2006-12-05 14:54 ./
> drwxr-xr-x root/root 0 2006-12-05 14:54 ./dev/
> crw-r--r-- root/root 1,3 2006-12-05 14:54 ./dev/null
> brw-r--r-- root/disk 8,1 2006-12-05 14:54 ./dev/sda1
>
> --
> Jeffrey Hundstad
>
>
>
-`J'
--
next prev parent reply other threads:[~2006-12-05 21:47 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <linux@rochester.rr.com>
2006-12-05 17:20 ` Marty Leisner
2006-12-05 20:07 ` Horst H. von Brand
2006-12-05 20:17 ` Jeffrey Hundstad
2006-12-05 20:24 ` Horst H. von Brand
2006-12-05 20:32 ` Jan Engelhardt
2006-12-05 20:35 ` Jeffrey Hundstad
2006-12-05 20:39 ` Jan Engelhardt
2006-12-05 20:58 ` Jeffrey Hundstad
2006-12-05 21:43 ` Jan Engelhardt [this message]
2006-12-06 6:54 ` Marty Leisner
2006-12-05 20:30 ` Andreas Schwab
2006-12-05 21:56 ` Leisner, Martin
2006-12-05 22:23 ` Andreas Schwab
2006-12-06 12:17 ` Rainer Bawidamann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.61.0612052242120.18570@yvahk01.tjqt.qr \
--to=jengelh@linux01.gwdg.de \
--cc=bug-cpio@gnu.org \
--cc=jeffrey.hundstad@mnsu.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@rochester.rr.com \
--cc=martin.leisner@xerox.com \
--cc=vonbrand@inf.utfsm.cl \
--subject='Re: ownership/permissions of cpio initrd' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).