On Tue, Jul 31, 2001 at 12:59:13PM -0600, Richard Gooch wrote:
> > On Sun, Apr 08, 2001 at 03:26:30PM +1000, Richard Gooch wrote:
> The problem may be due to your two lines:
> REGISTER vc/1 CFUNCTION GLOBAL symlink vc/1 tty1
> UNREGISTER vc/1 CFUNCTION GLOBAL unlink tty1
>
> It's possible that you're repeating the "symlink vc/1 tty1" action
> many times, because the "vc/1" regular expression will match "vc/10",
> "vc/11" and so on, as well as the intended "vc/1". You have a number
> of alternatives:
> REGISTER vc/1$ CFUNCTION GLOBAL symlink vc/1 tty1
> UNREGISTER vc/1$ CFUNCTION GLOBAL unlink tty1
>
> this will anchor the '1' at the end of the path. Or, much better to do
> this:
> REGISTER vc/1$ MKOLDCOMPAT
> UNREGISTER vc/1$ RMOLDCOMPAT
>
> which will use the recommended MKOLDCOMPAT and RMOLDCOMPAT actions.
> Even better is to just use:
>
> REGISTER vc/.* MKOLDCOMPAT
> UNREGISTER vc/.* RMOLDCOMPAT
>
> like the sample config file recommends. Why would you want to do
> anything else?
Because I don't want 63 symbolic links in /dev if I have 4
tty in /etc/inittab .
I thought tty1 etc. were needed to use agetty, but it worked
with vc/1 in inittab . I don't know about mingetty, but there
are reports about problems with devfs without compatibility
for old device names.
Now I only have the following lines:
REGISTER vc/0 MKOLDCOMPAT
UNREGISTER vc/0 RMOLDCOMPAT
Someone reported that XFree86 doesn't work without /dev/tty0
. I don't know if 4.1.0 fixes the problem.
--
0@pervalidus.{net, {dyndns.}org} Tel: 55-21-2717-2399 (Niterói-RJ BR)
|