From: Efraim Yawitz (fyawitz_at_nonexisting.hamakor.org.il)
Date: Thu 19 Jan 2006 - 19:04:20 IST
On Thu, 19 Jan 2006, Tzafrir Cohen wrote:
>
> You don't need to be root to create a tar file with device files in it.
> This is merely writing a tar file.
>
> You do need to be root (or otherwise priviliged) to mknod. Generating
> the device files as extracted from the tarball is the priviliged
> operation.
Right, this is the part I didn't try, and obviously tar has to call mknod to write the files, and the same with cp.
How about the following, though? (This is what I thought of originally, actually.) I could make a ext2fs on a loop-mounted file and create the devices there with world read/writeability, and then burn this filesystem onto a CD with cdrecord. If a system allows user-mounting of CD's, then I have those device files available. What's the catch?
Ephraim
=================================================================
To unsubscribe, send mail to linux-il-request_at_linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request_at_linux.org.il
This archive was generated by hypermail 2.1.7 : Thu 19 Jan 2006 - 18:06:13 IST