Mr O wrote:

> That along with "get_pty: not enough ptys" is driving me fscking
> nuts. I've seen the problem all over Google but never a straight
> answer. Last time it happened to me I don't remember how I fixed
> it but I did. Has anyone else seen this or know *exactly* why it
> happens so I can make a quick fix out of it?

/dev/null should look like this (your date may differ, but the
rest should match).

        $ ls -l /dev/null
        crw-rw-rw-  1 root root 1, 3 Feb 14  2004 /dev/null

If it doesn't, use mknod, chown, and/or chmod to fix it.

If you're using gentoo, you're probably using udev.  There should be a
line in /etc/udev/permissions.d/50-udev.permissions to create
/dev/null.  It looks like this.

        $ grep null /etc/udev/permissions.d/50-udev.permissions
        null:root:root:0666

You might also check that you've got /dev and its subfilesystems
mounted and /dev is a ramfs filesystems.

        $ grep ./dev /proc/mounts 
        none /dev ramfs rw 0 0
        none /dev/pts devpts rw 0 0
        tmpfs /dev/shm tmpfs rw 0 0

If /dev is not mounted correctly, you probably need to make sure that
both coldplug and hotplug's init scripts are run at boot time.

        $ su
        # rc-update show | grep plug
                    coldplug | boot
                     hotplug | boot

(This last bit is probably what you're missing.)

-- 
Bob Miller                              K<bob>
kbobsoft software consulting
http://kbobsoft.com                     [EMAIL PROTECTED]
_______________________________________________
EUGLUG mailing list
euglug@euglug.org
http://www.euglug.org/mailman/listinfo/euglug

Reply via email to