Date: Wed, 13 Nov 2002 17:28:25 -0800 (PST) From: Nate Lawson <nate@root.org> To: Tim Kientzle <kientzle@acm.org> Cc: hackers@freebsd.org Subject: Re: Shrinking /(s)bin: A Proposal Message-ID: <Pine.BSF.4.21.0211131723350.41379-100000@root.org> In-Reply-To: <3DD03D9A.6090805@acm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 11 Nov 2002, Tim Kientzle wrote: > The possibility of dynamically linking /(s)bin seems > to recur pretty regularly. As libc continues to grow, > this idea seems worth revisiting. However, I've come up > with an alternative that might be worth considering. I'm open to patches for building /[s]bin as dynamic. If you have time and can coordinate with lukem@netbsd.org to build the patch, I would appreciate it. > 4) Implement a command-line helper. A user_from_uid > binary could be run by /bin/mv as needed. This could > povide most of the benefits of a daemon with the > added advantage of on-demand loading; no memory is > required unless the service is actually needed. >... > I've started experimenting with the helper binary approach > (#4 above), and it seems pretty workable. Of course, a single > helper should handle user, group, and DNS lookups and do so in > a way that does not require re-running it for every lookup. I > can manage all of that without too much trouble. Making a separate pw resolver program probably is too drastic a change, so I think it's better to focus for now on a patch to allow building the entire /[s]bin or user-selected parts as dynamic. -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0211131723350.41379-100000>