[PATCH] Add support for mounting by label or UUID
Rob Landley
rob at landley.net
Tue Jun 13 07:24:56 PDT 2006
On Tuesday 13 June 2006 3:17 am, Jason Schoon wrote:
> An updated patch is attached. Should work the same as previously, except I
> added support for FAT file systems as well. Turns out I needed to support
> them, and since the util-linux mount didn't handle them, it was time to
> brush up on my FAT skills ;-)
>
> I have now tested this with Reiser, ext2, ext3, FAT16 and FAT32 on a x86
> platform. Feel free to test on others and let me know if there are issues.
Ok, I just read through this, and I'd really rather not glue it onto mount.
This is already more or less a separate applet that finds which partition has
a given disklabel, so why not just make a new applet that does that and call
mount via something like:
mount `finddisk label=blah` /thingy
Does that make sense? (You could also add CONFIG_FEATURE options to that for
supporting the various filesystem types.)
On a side note, don't we _have_ fat and ext2 headers already defined
somewhere? (That part can be cleaned up later...)
Rob
--
Never bet against the cheap plastic solution.
More information about the busybox
mailing list