I figured out how to fix this. Basically instead of running udev on
the flash root, I look at /sys/block/tssdcarda/dev to find the major
and minor device numbers of the SD device, and I create an entry in
/dev for that device using mknod. Then I can use fdisk to figure out
which partition on the SD card is the linux partition.
once I've figured that out, I can create an entry for the linux
partition by looking at /sys/block/tssdcarda/tssdcarda#/dev where # is
the partition number. again I use mknod to make the appropriate
device file, and then I can run fsck on that device and mount it.
then I can use pivot_root to move the root, and exec init on the new
root. and it seems to work quite well.
I still don't know why it didn't work to create static /dev entries,
as the major and minor numbers seem to be consistent from one boot to
another.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|