[OE-core] [PATCH V2 1/1] sysvinit: fix missing of boot log

ChenQi Qi.Chen at windriver.com
Fri Sep 27 02:20:24 UTC 2013


On 09/26/2013 06:50 PM, Enrico Scholz wrote:
> <Qi.Chen-CWA4WttNNZF54TAoqtyWWQ at public.gmane.org> writes:
>
>> Besides, we need to make sure that tmpfs has been mounted. Otherwise,
>> the boot log will still be missing.
>> ...
>>   case "$ACTION" in
>>   	start)
>> +		mount -a -t tmpfs 2>/dev/null
> This will mount filesystems out-of-order. E.g. it will break an /etc/fstab
> with
>
> | /dev/mmcblk0p1  /srv/www     ext4  default 1 1
> | none            /srv/www/tmp tmpfs default 0 0
>
>
> Enrico
Hi Enrico,

I tested with this situation just now, and everything worked out well 
for me.
My fstab has:
/dev/hdb    /media           ext2     defaults  0   0
tmpfs         /media/tmp   tmpfs   defaults  0   0

Note that udev's init script also tries to mount tmpfs. So if you used 
such fstab, you have already verified it yourself.

So I think we might be OK here.

Best Regards,
Chen Qi

> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>




More information about the Openembedded-core mailing list