ts-7000
[Top] [All Lists]

[ts-7000] Re: ts7260, 2.6.21-ts: pivot_root from flash to SD card

To:
Subject: [ts-7000] Re: ts7260, 2.6.21-ts: pivot_root from flash to SD card
From: "kmoore37918" <>
Date: Fri, 11 Jan 2008 00:50:16 -0000
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/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU