Re: [PATCH] Clean up old names in tty code to current names

From: Jan Engelhardt
Date: Mon Jul 10 2006 - 18:12:44 EST


>> True. I see this code snippet many times:
>
> BSD has /dev/vc/0 right? I suspect that code is there to support BSD
> and make the app portable.

$ cd /dev; echo v* z*
v* zero

/dev/vc? Not in FreeBSD 6.1. FreeBSD has ttyv%d, OpenBSD ttyC%d, NetBSD uh I
forgot. In fact, I fail to see an equivalent of tty0 for any BSD. THe next best
thing is /dev/ctty (linux: /dev/tty), but which is something different than
tty0.


Jan Engelhardt
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/