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

Re: live-boot from a jffs partition



On 03/16/2011 11:45 AM, David Kuehling wrote:
> Going over the live-boot scripts, I just noticed that it uses 'blkid' to
> detect file-systems, with no way to override the result:
> 
> scripts/live  (check_dev()):
> 
>   fstype=$(get_fstype "${devname}")
> 
> scripts/live-helper:
> 
>   get_fstype ()
>   {
>           /sbin/blkid -s TYPE -o value $1 2>/dev/null
>   }
> 
> Unfortunately blkid does not seem to support jffs2 file-system, so no
> way to boot directly from mtd flash?  
> 
> Am I overlooking something?  What would be the best way to fix that?

What would return the correct value here in this case?

What value gets returned here instead when operating on jffs2?

Ben


Reply to: