[Buildroot] proc not mouning

Heyendal, Carl CHeyendal at stanleyworks.com
Wed Mar 23 19:46:10 UTC 2011



> -----Original Message-----
> From: ANDY KENNEDY [mailto:ANDY.KENNEDY at adtran.com]
> Sent: March 23, 2011 3:43 PM
> To: Heyendal, Carl; buildroot at busybox.net
> Subject: RE: [Buildroot] proc not mouning
> 
> > > Are you mounting proc FIRST in inittab?
> > >
> > > Andy
> >
> > Yes.
> >
> > From inittab:
> >
> > # Startup the system
> > null::sysinit:/bin/mount -t proc proc /proc
> > null::sysinit:/bin/mount -o remount,rw /
> > null::sysinit:/bin/mkdir -p /dev/pts
> > null::sysinit:/bin/mount -a
> > null::sysinit:/bin/hostname -F /etc/hostname
> > # now run any rc scripts
> > ::sysinit:/etc/init.d/rcS
> >
> > /carl h.
> >
> 
> Bummer.
> 
> Okay, what does this line do:
> 
> >>  Switching to filesystem on SD card....
> 
> Do you have a script file for that?

I print that out from my script in initramfs just before I un-mount 
/sys and /proc and call 'switch_root'. 

" echo "Switching to filesystem on SD card...."    
  exec switch_root /newroot "${init}"  "

I use initramfs to mount the driver for the SD card.

/carl









More information about the buildroot mailing list