[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#181409: libc6: devpts no longer mounts with grep 2.5.1-2



On Mon, Feb 17, 2003 at 02:48:31PM -0500, Tim Middelkoop wrote:
> Package: libc6
> Version: 2.3.1-11
> Severity: important
> Tags: patch
> 
> 
> does not mount /dev/pts on boot
> 
> ./devpts.sh: line 17: [: =: unary operator expected
> 
> grep changes behavior of -q (now should use -s)
> 
> bug newbe ... should this bug be filed against grep????
> 
> fix:
> 
> /etc/init.d/devpts.sh:13
> 
> devpts_avail=`grep -sci '[<[:space:]]devpts' /proc/filesystems || true`
> devpts_mounted=`grep -sci '/dev/pts' /proc/mounts || true`
> devfs_mounted=`grep -sci '[<[:space:]]/dev[>[:space:]].*devfs' /proc/mounts || true`

I'd say it's a bug in devpts.sh, thanks.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



Reply to: