Linprocfs on 4.9-STABLE

Rob B robbyrnes at fastmail.com.au
Sun Apr 4 14:41:13 PDT 2004


Dag-Erling Smørgrav wrote:
> "Rob Byrnes" <robbyrnes at fastmail.com.au> writes:
> 
>>Does linprocfs work on the Alpha arch?
> 
> Yes.

Good :)

> root at dsa ~# uname -a
> FreeBSD dsa.des.no 5.2-CURRENT FreeBSD 5.2-CURRENT #21: Wed Mar  3 10:19:58 CET 2004     des at dsa.des.no:/usr/obj/usr/src/sys/dsa  alpha
> root at dsa ~# mount
> /dev/da0a on / (ufs2, local, noatime, soft-updates)
> devfs on /dev (devfs, local)
> /dev/da1d on /sec (ufs, local, noatime, soft-updates)
> procfs on /proc (procfs, local)
> linprocfs on /usr/compat/linux/proc (linprocfs, local)
> root at dsa ~# ll /compat/linux/proc/$$
> total 0
> -r--r--r--  1 root  wheel  0 Apr  4 18:15 cmdline
> lr--r--r--  1 root  wheel  0 Apr  4 18:15 cwd@ -> /root
> -r--r--r--  1 root  wheel  0 Apr  4 18:15 environ
> lr--r--r--  1 root  wheel  0 Apr  4 18:15 exe@ -> /bin/zsh
> -r--r--r--  1 root  wheel  0 Apr  4 18:15 maps
> -rw-------  1 root  wheel  0 Apr  4 18:15 mem
> lr--r--r--  1 root  wheel  0 Apr  4 18:15 root@ -> /
> -r--r--r--  1 root  wheel  0 Apr  4 18:15 stat
> -r--r--r--  1 root  wheel  0 Apr  4 18:15 statm
> -r--r--r--  1 root  wheel  0 Apr  4 18:15 status

I don't have any of these directories ... should they be created 
automatically?  If so, when should this happen?

>>erwin # mount_linprocfs linprocfs /compat/linux/proc
>>mount_linprocfs: vfsload(linprocfs): No such file or directory

> does 'kldload linprocfs' work?  do you get any error messages on the
> console?

erwin # kldload linprocfs
Password:
kldload: can't load linprocfs: No such file or directory

I managed to get the procfs module loaded, so that bit is OK.

Cheers,
Rob
-- 
A man goes to the doctor with a strawberry growing out of his head.
The Doc says, "I'll give you some cream to put on it."

This is random quote 157 of 1255.

Distance from the centre of the brewing universe
[15200.8 km (8207.8 mi), 262.8 deg](Apparent) Rennerian

Public Key fingerprint = 6219 33BD A37B 368D 29F5  19FB 945D C4D7 1F66 D9C5


More information about the freebsd-alpha mailing list