Re: [PATCH] gen_init_cpio: remove leading `/' from file names

From: Thomas Chou
Date: Wed Nov 17 2010 - 21:49:20 EST


Hi Andrew and Michal,

On 10/06/2010 10:51 PM, Mike Frysinger wrote:
On Wed, Oct 6, 2010 at 03:13, Thomas Chou wrote:
When we extracted the generated cpio archive using "cpio -id" command,
it complained,

cpio: Removing leading `/' from member names
var/run
cpio: Removing leading `/' from member names
var/lib
cpio: Removing leading `/' from member names
var/lib/misc

It is worse with the latest "cpio" or "pax", which tries to overwrite
the host file system with the leading '/'.

seems to work as intended on Blackfin systems, and i cant see any
reason to require the leading slash, so:
Acked-by: Mike Frysinger<vapier@xxxxxxxxxx>
-mike



Would you please review this patch? It is not clear as who should handle this with the MAINTAINERS.

Best regards,
Thomas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/