Date: Mon, 24 Nov 2003 18:27:13 -0800 From: Tim Kientzle <kientzle@acm.org> To: richardcoleman@mindspring.com Cc: freebsd-current@freebsd.org Subject: Re: HEADS UP: /bin and /sbin are now dynamically linked Message-ID: <3FC2BE01.1040807@acm.org> In-Reply-To: <3FC2B3C1.4090803@mindspring.com> References: <FPEBKMIFGFHCGLLKBLMMCEDCCDAA.ghelmer@palisadesys.com> <3FBE8D92.6080205@acm.org> <20031123012222.GB11523@dragon.nuxi.com> <p06002003bbe5c0f30237@[10.0.1.2]> <20031123042635.GB677@saboteur.dek.spc.org> <3FC16644.7070005@acm.org> <20031124114006.GA60761@dragon.nuxi.com> <p06002002bbe7fd7ac23c@[128.113.24.47]> <3FC2655A.8080202@acm.org> <20031124224030.GB67578@dragon.nuxi.com> <3FC298E9.1050000@acm.org> <3FC2B3C1.4090803@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Richard Coleman wrote: > I think a better compromise is to add the make.conf option so that extra > utilities may be added to /rescue. As David already pointed out, this is not entirely trivial. Adding the programs isn't difficult, but it requires adjusting library includes, which would be tricky to do automatically. In addition, a surprising number of programs require minor source edits to function correctly in /rescue. In particular, many programs have hard-coded references to specific programs in /bin and /sbin. I spent a long time tracking down such references and replacing them with references to /rescue where appropriate. Without those changes, /rescue will work correctly only if /bin and /sbin are functional. There is a real potential for landmines here. > With the size of disk drives these days, (for my own setup) I'm tempted > to just add a complete copy of /bin and /sbin into /rescue. There's surprisingly little of /bin and /sbin that isn't already in /rescue. Most of what's omitted was left out for very straightforward reasons (e.g., tcsh is clearly redundant, devd is incompatible with crunchgen, etc.) The debate right now is over what programs from /usr/bin and /usr/sbin should be included. Right now, that includes tar, gzip, bzip2, and vi/ex. Tim Kientzle
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FC2BE01.1040807>