Matthew Harrell wrote:
> : 2.5.68 and later have depreciated devpts support in devfs. Thus
> : you have to enable:
> :
> : CONFIG_DEVPTS_FS=y
> :
> : and mount it during boot. Easy way is just to add to fstab:
> :
> : ------------------
> : none /dev/pts devpts defaults 0 0
> : ------------------
>
> Sure enough that was it. Darn it. I must have missed that change entirely.
> I was compiling in devpts but still figured it was mutually exclusive with
> devfs (which I am using).
>
> Thanks
>
Now try:
# time ps auwx > /dev/null
Here it takes more than two seconds :) That's because ps is trying to
access /dev/pts[0-9]+ first. That results in a attempt to insert a
module for that device.
Because I was getting tired of this i made a quick hack:
# some confusion with devfsd and devpts in 2.5. Quick hack:
for i in `seq 0 512` ; do ln -s /dev/pts/$i /dev/pts$i 2>&1 >
/dev/null ; done 2>&1 > /dev/null
..in my init scripts.
Using devfs (and devfsd) and devpts.
This is "new" in 2.5.68 and 69 :)
Regards,
Nuno Silva
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/