[Pkg-sysvinit-devel] Bug#544555: Bug#544555: sysvinit: inittab update for GNU/kFreeBSD

Kel Modderman kel at otaku42.de
Tue Sep 1 13:57:36 UTC 2009


Hi Aurelien,

On Tuesday 01 September 2009 23:33:24 Aurelien Jarno wrote:
> Package: sysvinit
> Version: 2.87dsf-2.1
> Severity: minor
> 
> On GNU/kFreeBSD the serial devices have change from /dev/cuuaX to 
> /dev/ttydX in kernel 6.0. As this is the minimum kernel currently 
> supported in Debian, all installations now use /dev/ttydX.
> 
> Could you please update /etc/inttab accordingly? You will find
> a patch below for that. Thanks in advance.
> 
> --- a/debian/share/inittab.kfreebsd-gnu
> +++ b/debian/share/inittab.kfreebsd-gnu
> @@ -60,8 +60,8 @@
>  
>  # Example how to put a getty on a serial line (for a terminal)
>  #
> -#T0:23:respawn:/sbin/getty -L cuaa0 9600 vt100
> -#T1:23:respawn:/sbin/getty -L cuaa1 9600 vt100
> +#T0:23:respawn:/sbin/getty -L ttyd0 9600 vt100
> +#T1:23:respawn:/sbin/getty -L ttyd1 9600 vt100
>  
>  # Example how to put a getty on a modem line.
>  #
> 

Was this patch slightly imcomplete? I commit the following after a
`sed -i 's/cuaa/ttyd/g' debian/share/inittab.kfreebsd-gnu':

--- debian/share/inittab.kfreebsd-gnu   (revision 1684)                           
+++ debian/share/inittab.kfreebsd-gnu   (working copy)                            
@@ -60,10 +60,10 @@                                                               
                                                                                  
 # Example how to put a getty on a serial line (for a terminal)                   
 #                                                                                
-#T0:23:respawn:/sbin/getty -L cuaa0 9600 vt100
-#T1:23:respawn:/sbin/getty -L cuaa1 9600 vt100
+#T0:23:respawn:/sbin/getty -L ttyd0 9600 vt100
+#T1:23:respawn:/sbin/getty -L ttyd1 9600 vt100

 # Example how to put a getty on a modem line.
 #
-#T3:23:respawn:/sbin/mgetty -x0 -s 57600 cuaa3
+#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyd3


Thanks, Kel.





More information about the Pkg-sysvinit-devel mailing list