On Tue, May 26, 2009 at 04:24:27PM +0200, Fredrik Pettai wrote:
On May 13, 2009, at 7:47 PM, Fredrik Pettai wrote:
On May 1, 2009, at 11:42 AM, Thomas Klausner wrote:
On Fri, May 01, 2009 at 01:26:39AM +0200, Fredrik Pettai wrote:
# pkg_info | grep suse
suse_base-10.0nb5 Linux compatibility package
suse_compat-10.0nb3 Linux compatibility package with old shared
libraries
# sysctl emul.linux.kern.osrelease
emul.linux.kern.osrelease: 2.4.18
I've been testing the linux emulation a bit more, and found more
broken things with it in NetBSD 5.0 (at least from RC4) -> NetBSD
5.99.11. /emul/linux{32}/proc is mounted as describe by
suse100{_32}_base MESSAGE file and /emul/linux{32}/etc/mtab exists (a
link pointing on /emul/linux{32}/proc/mounts, which looks fine.
One simple thing I've come across that doesn't work anymore is the /
emul/linux{32}/bin/df command, that fails on both i386/amd64 arch's.
Indeed, the emulation prefix handling was changed prior NetBSD 5.0,
and now symlinks cannot refer files outside the emulation root.
I've forgotten about it, but the attached patch should fix it.