Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2003 02:30:12 -0800 (PST)
From:      1011011100 <732@lemonia.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: i386/47934: /etc/rc.diskless1 does not get valid mem disk size, mount fails
Message-ID:  <200302061030.h16AUCvH044031@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR i386/47934; it has been noted by GNATS.

From: 1011011100 <732@lemonia.org>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: i386/47934: /etc/rc.diskless1 does not get valid mem disk size,
 mount fails
Date: Thu, 06 Feb 2003 10:24:12 +0000

 yep, i got this too. fix is trivial, we're just missing a backslash in 
 the eval:
 
 [lemon@yes ~]$ diff -u /etc/rc.diskless1 /tmp/rc.diskless1
 --- /etc/rc.diskless1   Wed Feb  5 22:54:36 2003
 +++ /tmp/rc.diskless1   Thu Feb  6 10:12:55 2003
 @@ -83,7 +83,7 @@
   #
   create_md() {
       if [ "x`eval echo \\$md_created_$1`" = "x" ]; then
 -       if [ "x`eval echo \$md_size_$1`" = "x" ]; then
 +       if [ "x`eval echo \\$md_size_$1`" = "x" ]; then
              md_size=8192
          else
              md_size=`eval echo \\$md_size_$1`
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302061030.h16AUCvH044031>