[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#385281: initramfs-tools: Could remove the mkdir's and mknod's from init script.



hello,

On Wed, 30 Aug 2006, Tim Phipps wrote:

> The top part of init has this:
> 
> mkdir /sys
> mkdir /proc
> mkdir /tmp
> mkdir -p /var/lock

they are very fast to create on initramfs,
i'll put guards on those too if someone thinks to need to ship
them in initramfs.
 
> These can all be put in the initramfs image can't they? Also (not a
> bug), I can't figure out how /root gets created, it's not in the image
> and there's no "mknod /root" in any script.

i don't get your mknod /root, what are you searching for??

[ -d /root ] || mkdir --mode=0700 /root
is done on top of init.

 
> -- /proc/cmdline
> boot=local root=LABEL=root

boot=local is redundant or was it needed for the LABEL thing?
 
regards

-- 
maks



Reply to: