[Ukfreebsd] Question about linprocfs

Mark Blackman mark at exonetric.com
Fri May 27 17:38:40 BST 2011

On 27 May 2011, at 16:05, andy thomas wrote:

> I'm trying to get the Linux binary of the Magma computational algebra software package running on amd64 FreeBSD 8.2. When this binary is executed on a Linux system, it reads /proc/net/dev to determine the system's MAC address and compares this with an encrypted license file to decided whether or not the system is licenced to run the software.
> On FBSD, the Linux /proc filesystem is mounted on /compat/linux/proc so that the Linux /proc/net/dev is actually at /compat/linux/proc/net/dev. The problem is /compat/linux/proc/net/dev contains no data:

See linprocfs(5), "emulates a *subset* of Linux process file system". Further on, it lists the bits it can do
and /net/dev isn't one of them, I'm afraid.

- Mark

More information about the Ukfreebsd mailing list