[PATCH] Add -t noproc,tmpfs options to mount/umount

Roy Marples uberlord at gentoo.org
Wed Apr 4 22:03:02 UTC 2007


On Wed, 4 Apr 2007 22:36:16 +0100
Roy Marples <uberlord at gentoo.org> wrote:

> On Wed, 4 Apr 2007 21:44:04 +0200
> Bernhard Fischer <rep.dot.nop at gmail.com> wrote:
> > a) put common funcs into libbb/*.c, see loop.c as an example.
> > b) both strncmp as well as strlen are most likely much bloatier than
> > needed. Let me point to current trunk's coreutils/dd.c and there the
> > block below "what == OP_conv". An alternative to strstr is of course
> > memchr(,,64) or the like.
> 
> Revised patch attached.

Of course it would help if it sent the right value if nothing matched -
heh.

This should work will all situations I can think of.

Thanks

Roy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-1.5.0-mount-types.patch
Type: text/x-patch
Size: 4324 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20070404/b6701ac7/attachment-0002.bin 


More information about the busybox mailing list