what config setting causes barebox to automount the boot partition?

Robert P. J. Day rpjday at crashcourse.ca
Thu Feb 9 08:21:00 EST 2012


On Thu, 9 Feb 2012, Eric Bénard wrote:

> Le Thu, 9 Feb 2012 06:54:40 -0500 (EST),
> "Robert P. J. Day" <rpjday at crashcourse.ca> a écrit :
>
> >
> >   i just noticed with my panda build that the boot partition of the SD
> > card is automatically mounted under "boot".  i don't remember that
> > happening with my beagle, and i'm not sure if i messed with the config
> > settings before building for the panda.
> >
> >   what is it that generates that mount?  thanks.
> >
> panda/board.c
> 	mkdir ("/boot", 0666);
> 	ret = mount(diskdev, "fat", "/boot");
> 	if (ret) {
> 		printf("failed to mount %s\n", diskdev);
> 		return 0;
> 	}

  oh, my, i can see there's much work to do as the beagle board.c file
does nothing equivalent.  i thought it was just a config setting of
some kind, now i see that there's definitely some coding to be done.
thanks.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


More information about the barebox mailing list