From hbarker@jsnet.com  Thu Feb  5 18:06:07 1998
Received: from s1.jsnet.com (s1.jsnet.com [207.82.57.167])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA22213
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 5 Feb 1998 18:06:06 -0800 (PST)
          (envelope-from hbarker@jsnet.com)
Received: (from root@localhost)
	by s1.jsnet.com (8.8.7/8.8.6.js3) id RAA02838;
	Thu, 5 Feb 1998 17:40:27 -0800 (PST)
Message-Id: <199802060140.RAA02838@s1.jsnet.com>
Date: Thu, 5 Feb 1998 17:40:27 -0800 (PST)
From: harold barker <hbarker@jsnet.com>
Reply-To: hbarker@dsms.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: sysinstall generates short dev names for all slices on root dev when run with install.cfg
X-Send-Pr-Version: 3.2

>Number:         5662
>Category:       misc
>Synopsis:       sysinstall generates short dev names for all slices on root dev when run with install.cfg
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb  5 18:10:01 PST 1998
>Closed-Date:    Sat Feb 5 05:38:34 PST 2000
>Last-Modified:  Sat Feb  5 05:38:54 PST 2000
>Originator:     harold barker
>Release:        FreeBSD 2.2.5-RELEASE i386
>Organization:
dsms.com
>Environment:

sysinstall from boot floppy using install.cfg with one ide disk

>Description:

in /usr/src/release/sysinstall/config.c at ~ line 111 

All partitions have there name shortened as if they are the root partition.  
c1->flags may ahve CHUNK_IS_ROOT set.  not sure.




>How-To-Repeat:

	

>Fix:

Raal simple fix. non optimal, gets a working fstab.

root@build:sysinstall[567] cvs diff config.c                    
Index: config.c
===================================================================
RCS file: /lhome/cvs_root_freebsd/src/release/sysinstall/config.c,v
retrieving revision 1.51.2.56
diff -r1.51.2.56 config.c
110,111c110,112
<     if (c1->type == part && c1->flags & CHUNK_IS_ROOT) {
<         sprintf(rootname, "%sa", c1->disk->name);
---
>       /*    if (c1->type == part && c1->flags & CHUNK_IS_ROOT) {*/
>     if( c1->type == part && ( strcmp( "/", ((PartInfo *)c1->private_data)->mountpoint ) == 0 ) ) {
>           sprintf(rootname, "%sa", c1->disk->name);


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback  
State-Changed-By: kris 
State-Changed-When: Mon Jul 12 06:41:23 PDT 1999 
State-Changed-Why:  
Hi Harold, 

Sorry no-one got to look at your PR until now. Did you ever get to the bottom 
of this problem? Can you confirm whether you see the same problem with a newer 
version of FreeBSD (or a clean install)? 

Kris 
State-Changed-From-To: feedback->closed 
State-Changed-By: asmodai 
State-Changed-When: Sat Feb 5 05:38:34 PST 2000 
State-Changed-Why:  
Originator feedback time-out. 
>Unformatted:
