Date: Tue, 22 May 2001 17:09:12 -0700 From: Jim Pirzyk <Jim.Pirzyk@disney.com> To: freebsd-emulation@freebsd.org Subject: Linux:/var/run/utmp Message-ID: <01052217091200.00708@snoopy>
next in thread | raw e-mail | index | archive | help
So I have a program here that needs to read the Linux /var/run/utmp file (Platform's LSF software), but the problem is that Linux's utmp format is not the same as FreeBSD's. Linux format is closer to SVR4. So my question is what would be the best way to support this app? Here are my ideas so far: 1) write an app that stats /var/run/utmp and when it is changed, it updates /compat/linux/var/run/utmp with the correct information. 2) modify /usr/bin/login so that if it detects the Linux compatability module is loaded, write utmp entries to /var/run/utmp and /compat/linux/var/run/utmp. - JimP -- --- @(#) $Id: dot.signature,v 1.10 2001/05/17 23:38:49 Jim.Pirzyk Exp $ __o Jim.Pirzyk@disney.com ------------- pirzyk@freebsd.org _'\<,_ Senior Systems Engineer, Walt Disney Feature Animation (*)/ (*) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01052217091200.00708>