[arch-projects] [mkinitcpio][PATCH 07/11] init: use util-linux's /bin/mount

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Fri Nov 18 18:02:44 EST 2011


On 11/12/2011 12:19 PM, Dave Reisner wrote:
> On Sat, Nov 12, 2011 at 02:32:09PM +0100, Thomas Bächler wrote:
>> Am 12.11.2011 03:55, schrieb Dave Reisner:
>>> Providing this means we no longer need blkid for FS detection, as mount
>>> will do this for us. Adds a slight bloat to the image, in exchange for a
>>> huge convenience. Messaging is changed to assume that /bin/mount will
>>> provide useful feedback for us on failure.
>> Once we start going down this road (cp, mount, ...), wouldn't it be
>> better to simply drop busybox?
>>
> Hmm... we're probably close to that point. In terms of size for the
> tradeoff, we'd need (at a minimum) the following binaries to replace
> busybox:
>                    KB
> /bin/bash         733896
>
>
> Someone will throw tomatoes at me for using Bash, but Dash sucks, and
> it makes a truly awful interactive shell.

Note that, if you want interactive ash shell, just open another vt 
(execute openvt then switch to it ALT+F2), to use a normal tty console 
instead of /dev/console.

-- 
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1



More information about the arch-projects mailing list