?

Log in

No account? Create an account

Previous Entry Share Next Entry
Something similar to /proc/devices in Linux or devices in LynxOS
stag
dnkorovkin wrote in netbsd
Hi guys,
Is there in NetBSD something similar to Linux /proc/devices file or LynxOS devices utility?
I need something that gives me a list of block/character/network devices OS could recognize on my computer. (Of course, I know "dmesg | less", but it's not what I want).

  • 1
If you're using a generic kernel then simply add the following to /etc/fstab

procfs /proc procfs ro,linux

Remount/reboot.

If you have a custom kernel ensure the following are uncommented:

option COMPAT_LINUX
option EXEC_ELF32

And follow the above.



  • 1