Bug#50913: Check for devpts should look at /proc/mounts, not /proc/filesystems
The patch as supplied does not correctly work (under 2.2.14, at least).
I changed this:
+devpts=$(grep -c devpts /proc/filesystems || true)
to this:
+devpts=$(grep -c devpts /proc/mounts || true)
and all was happy.
--
Brian M. Almeida
Linux Systems Engineer | http://www.winstar.com | balmeida@winstar.com
Debian Developer | http://www.debian.org | bma@debian.org
Scotty is smoking the dilithium crystals again, Jim
Reply to: