mount with Labels

Lombard, David N dnlombar at ichips.intel.com
Mon Dec 17 07:05:09 PST 2007


On Wed, Dec 12, 2007 at 12:36:24PM +0100, Jason Curl wrote:
> Hello,
> 
> Is it possible to use BusyBox mount to mount a filesystem on boot depending on the label of the device/partition? I have a Compact Flash disk that mounts it's second partition but on some devices this is /dev/hda1 and on other devices this i /dev/hdc1 (the root is /dev/hda2 or /dev/hdc2 so that when a user takes the CF card out and puts it on Windows, they don't see the boot partition, only the FAT partition securing the software from accidental deletion).

You may want to look at kboot <http://kboot.sourceforge.net>. It uses busybox
and the kexec system call to provide bootloading capabilities.
> 
> Using a label removes this dependency. Also I intend to allow users to insert a USB key to my embedded device but I can't say what device it would be up front, but I can easily specify the label of that partition.

kboot supports such operations.

-- 
David N. Lombard, Intel, Irvine, CA
I do not speak for Intel Corporation; all comments are strictly my own.


More information about the busybox mailing list