Hi.

I was just wondering how I can check which hardware my program is currently running on. Background:
I just finished compiling a "standalone" (i.e. not dependend on neither inetd nor /etc/passwd) ftpd, and I'm just writing the install script(s). In these scripts, I want to check wether the install is being done on a markI,markII (older or newer version). I guess I could extract this information from /proc/empeg_id, especially the hwrev and serial fields should be right for this task. I know my empeg MkII (S/N 80000113) has hwrev 07, but what hwrev does a MkI have, what hwrev on a newer MkII? Is there a better way to check this out?

cu,
sven
proud MkII owner (12GB blue now green, #080000113)
_________________________
proud owner of MkII 40GB & MkIIa 60GB both lit by God and HiJacked by Lord