From huck@mispwoso.nosc.mil  Mon Oct 30 11:23:17 1995
Received: from mispwoso.nosc.mil (mispwoso.nosc.mil [198.253.27.55])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA09949
          for <FreeBSD-gnats-submit@freebsd.org>; Mon, 30 Oct 1995 11:23:16 -0800
Received: (from root@localhost) by mispwoso.nosc.mil (8.6.12/8.6.12) id OAA00430; Mon, 30 Oct 1995 14:23:14 -0500
Message-Id: <199510301923.OAA00430@mispwoso.nosc.mil>
Date: Mon, 30 Oct 1995 14:23:14 -0500
From: huck@nosc.mil
Reply-To: huck@nosc.mil
To: FreeBSD-gnats-submit@freebsd.org
Subject: Minor 951026-SNAP install problem 
X-Send-Pr-Version: 3.2

>Number:         802
>Category:       misc
>Synopsis:       default fstab mounts disks in bad order
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jkh
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 30 11:30:02 PST 1995
>Closed-Date:    Wed May 8 02:13:54 PDT 1996
>Last-Modified:  Wed May  8 02:14:30 PDT 1996
>Originator:     Craig Huckabee
>Release:        FreeBSD 2.1.0-951026-SNAP
>Organization:
NISE East Charleston, SC 
>Environment:

	ASUS PCI/E-P54NP4 w/ one P133 CPU
	(1) SC-200 NCR SCSI controller 
 	1 MAXTOR 540SL drive internal
	2 HITACHI 2.7GB drives external

>Description:

	During the install process the fstab that is built by the install
	program puts the mounts in the wrong order.  For example, on the 
	above hardware, I have the / and /var partitions on the internal
	drive (sd0), /usr and /usr/u0 mounts on sd1, and /usr/u0 mounts on
	/usr/u1.

	The fstab generated by the install program tries to mount /usr/u1
	before mounting /usr which stops the boot process upon rebooting
	after the install is done.
>How-To-Repeat:

	Can be done over and over on my machine.  I put the following
	entries in the partition & label portion of the install program :

	/	20M	sd0
	swap	128M	sd0
	/var	250M	sd0
	/root	123M	sd0
	swap	128M	sd1
	/usr	1500M	sd1
	/usr/u0 1012M	sd1
 	swap	128M	sd2
	/usr/u1 2612M	sd2
	in that order, and it always puts the /usr/u1 entry as the first in
	the fstab file, thus producing the error.
>Fix:

	Move the mount points into the correct order as specified in the
	install program.
	
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->jkh 
Responsible-Changed-By: gpalmer 
Responsible-Changed-When: Mon Apr 8 19:29:49 PDT 1996 
Responsible-Changed-Why:  
Sysinstall problem. 
State-Changed-From-To: open->closed 
State-Changed-By: jkh 
State-Changed-When: Wed May 8 02:13:54 PDT 1996 
State-Changed-Why:  
This is fixed - the sorting algorithm was hosed before. 
>Unformatted:
