Skip to contentSkip to conversation

Spaces in filenames in gen_initramfs_list.sh/gen_init_cpio.c?

DISCUSSION Rob Landley 2 participants 2 messages Jan 7, 2009 – Jan 8, 2009

lore
Share & tools
lore
#0 lore raw

What do I do if I have a space in a filename that I want to put into an initramfs? (Or a space in the source argument of "file" entries or the redirect argument of "slink" entries?)

I don't see any kind of quoting or escape syntax, has anybody planned one or should I go write something myself?

Rob

#1 lore raw
Quoted 6 lines · Rob Landley

What do I do if I have a space in a filename that I want to put into an initramfs? (Or a space in the source argument of "file" entries or the redirect argument of "slink" entries?)

I don't see any kind of quoting or escape syntax, has anybody planned one or should I go write something myself?

I have not seen anything addressing this - please go ahead.

Sam