what config setting causes barebox to automount the boot partition?

Eric Bénard eric at eukrea.com
Thu Feb 9 08:02:38 EST 2012

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.
	mkdir ("/boot", 0666);
	ret = mount(diskdev, "fat", "/boot");
	if (ret) {
		printf("failed to mount %s\n", diskdev);
		return 0;


More information about the barebox mailing list