or just get bash bash and rename the command 'bash-overkill-bind' :-) I agree about the bind command. It is indeed in the Unix philosophy. Not much else is, nowadays.
ron On Wed, May 25, 2016 at 9:58 PM Dan Cross <[email protected]> wrote: > On Wed, May 25, 2016 at 4:50 PM, ron minnich <[email protected]> wrote: > >> one option is to have the mount -b of the gnu binutils use the mount >> system call and remove the command entirely. >> > > Hmm. That's an idea. One of the things I like about 'bind' is that it's > short and to the point; one of the nice things about the Unix/Plan 9 > philosophy of optimizing for the common case is that by having a short > 'bind' command, it encourages one to take advantage of mutable namespaces. > I probably bind things around the namespace far more than I bind keys to > actions (that's what the bash builtin does). > > Another is to alias 'bind' to '/bin/bind' and access the Bash 'bind' > builtin via 'builtin bind'. > > On Wed, May 25, 2016 at 10:22 PM Dan Cross <[email protected]> wrote: >> >>> I've managed to get Akaros up and running entirely without Busybox; so >>> far it seems to be working well. I modified the shell's error handling to >>> understand 'errstr()', but need to do so for most of the other packages as >>> well. I built everything out of tree, but I'll start sending up patches >>> soon for integrating into our environment. >>> >>> I've installed the following packages: >>> >>> * Bash >>> * GNU cpio >>> * coreutils >>> * diffutils >>> * ed >>> * gawk >>> * GNU grep >>> * GNU sed >>> * GNU tar >>> >>> I've removed the following: >>> >>> * Busybox ash >>> * Busybox killall >>> * Busybox killall5 >>> * Busybox vi >>> >>> Several things needed patches, but all in all it wasn't hard to port >>> these packages. >>> >>> Something to watch out for: "bind" is a shell builtin in Bash, and so it >>> takes precedence over /bin/bind (which manipulates the namespace). I've >>> changed a few shell scripts to call "/bin/bind" explicitly but that's just >>> a workaround. We will have to figure out some clever way to address the >>> name collision more gracefully. >>> >>> - Dan C. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Akaros" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Akaros" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subscribed to the Google Groups > "Akaros" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Akaros" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
