[PATCH] Add support for mounting by label or UUID
Jason Schoon
floydpink at gmail.com
Sat Jul 8 17:51:08 UTC 2006
On 7/8/06, Rob Landley <rob at landley.net> wrote:
> Slowly grinding through the "pending" heap...
>
> On Friday 16 June 2006 4:34 pm, Jason Schoon wrote:
> > Attached is a new patch. I decided that since findfs already existed to do
> > this sort of thing for ext2/3, I should call the standalone thing findfs,
> > and just have it support additional filesystem types.
>
> Works for me.
>
> > To this end, I have yanked the findfs function from e2fsprogs, and it is
> > now under system utilities along with mount. If you enable label support
> > for mount, it switches on findfs automatically.
>
> Woot.
>
> > I don't particularly like this still, because all of the bloated
> > label-handling code is still in e2fsprogs if that is enabled.
>
> I'm going through e2fsprogs and writing new versions of the things we want to
> keep. (Currently doing a new mke2fs.) Don't worry about that, with the
> possible exception of e2fsck the entire area is condemned and will be
> deleted.
>
> > Ideally,
> > someone would take that code, coalesce it with mine, and put it in a common
> > spot. I don't use or want to touch e2fsprogs though, so it won't be me (at
> > least not anytime soon).
>
> Do people actually use reiserfs with BusyBox? I've seen people use ext2,
> ext3, squashfs, iso9660, cramfs, minixfs, initramfs, and probably a few
> others. But I haven't seen reiserfs, jfs, or xfs. But I suppose once we've
> started adding explicit SMP support...
>
> Banging on it...
>
Thanks for taking a look into this. I did have an updated patch that
applied cleanly on the final 1.2.0, and removed a leftover debug
fprintf from findfs.c. At this point, you are probably far enough
into a merge that you don't need it.
RE: reiserfs, we definately use it in embedded systems. We needed
journalling, weren't on a flash device to use jffs2, and didn't want
to incur the larger journal overhead of ext3. Reiser has actually
worked great for us.
More information about the busybox
mailing list