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

Natanael Copa natanael.copa at gmail.com
Thu Apr 5 00:52:01 PDT 2007


On Wed, 2007-04-04 at 23:03 +0100, Roy Marples wrote:
> 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.

Patch works for me and fixes a long time annoyance.

Denis, could it please be added to 1.5.0 fixes? 

I can rework the patch to have a config option for svn if you want.

Thanks!

Natanael Copa



More information about the busybox mailing list