Subject: Re: misc/11473: ramdisk-rescuesmall of main trunk is full.
To: Andrew Brown <atatat@atatdot.net>
From: Simon Burge <simonb@wasabisystems.com>
List: netbsd-bugs
Date: 11/14/2000 02:26:36
Andrew Brown wrote:
> >The problem is we use pwd_mkdb to generate /etc/passwd and then throw
> >away the db files. The temporary creation of them is too much for the ramdisk
> >though.
> >
> >I have a patch I've been meaning to commit which just generates this in
> >/tmp and copies back in the passwd file only.
>
> but /etc/passwd is only for human eyes...of how much use is it
> supposed to be?
Another solution I'm looking at is to change the getpwent() function in
distrib/utils/libhack to use the master.passwd format - it currently
uses plain passwd format.
Going back to the first thing James said - it occurs to me that we
could easily use sed(1) to convert from master.passwd format to passwd
format...
Simon.
--
Simon Burge <simonb@wasabisystems.com>
NetBSD Sales, Support and Service: http://www.wasabisystems.com/