Hi, i'm planning to use live-boot together with multistrap to build firmware images for an embedded debian application. The only storage available are a few 100 mb of mtd flash. So we plan to use a jffs partition on mtd, containing the /live directory with a squashfs image. This way flash isn't written during normal operation. Also firmware-ugrades could be done safely by downloading new images to some directory, then quasi-atomically renaming it to /live when done. 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? cheers, David -- GnuPG public key: http://user.cs.tu-berlin.de/~dvdkhlng/dk.gpg Fingerprint: B17A DC95 D293 657B 4205 D016 7DEF 5323 C174 7D40
Attachment:
pgpyCJsL4Wvnt.pgp
Description: PGP signature