Question about symlinking to busybox

Harald Becker ralda at gmx.de
Thu Sep 16 15:46:27 UTC 2010


 Hi!

On installation busybox creates either hardlinks for every applet or a
separate symlink for each applet, which means you you use around 200
symlinks = inodes for this. Why don't you create a single symlink
pointing to the absolute path of busybox and do hardlinks to the symlink
for the remaining applets? Would be fine if busybox could install it in
this way. You get the advantage of both types of linking. Flexibility
(you can just replace your binary without reinstalling links) and space
saving on filesystem (needs just 2 inodes, one for the binary and one
for the symlink).

Comments?

--
Harald



More information about the busybox mailing list