[BusyBox] help with bb login please.
Manuel Novoa III
mjn3 at codepoet.org
Tue Jul 22 21:56:04 UTC 2003
On Tue, Jul 22, 2003 at 05:26:25PM -0400, Frank R Callaghan wrote:
> I guess I'm buggered then ! since I need /dev/null word-writeable
> for login !?
Well, the failure you're seeing is just an artifact of how I implemented
asprintf in uClibc. I needed an initialized file struct and took the
lazy way out by simply opening /dev/null. Fixing that is way down on
my TODO list because lots of other things will break unexpectedly if
/dev/null isn't world readable/writeable.
> Is there any other solution I can try ?
You can create a small ram filesystem (ramdisk, tempfs, etc), unpack a
dev tree on it, and mount it on /dev. This holds for flash filesystems
to since you don't really want to waste flash writes just to update
perms on /dev entries.
Manuel
More information about the busybox
mailing list