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

Aurelien Jarno aurel32 at debian.org
Tue Sep 1 17:38:28 UTC 2009


On Tue, Sep 01, 2009 at 11:57:36PM +1000, Kel Modderman wrote:
> 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':

You are right, I should have used your method. Thanks for looking at
it.

> --- 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.
> 

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien at aurel32.net                 http://www.aurel32.net



More information about the Pkg-sysvinit-devel mailing list