From nobody@FreeBSD.org  Fri Nov  2 19:55:56 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 1DA01224
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  2 Nov 2012 19:55:56 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 03B728FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  2 Nov 2012 19:55:56 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qA2JttuU098624
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 2 Nov 2012 19:55:55 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id qA2Jtt5I098623;
	Fri, 2 Nov 2012 19:55:55 GMT
	(envelope-from nobody)
Message-Id: <201211021955.qA2Jtt5I098623@red.freebsd.org>
Date: Fri, 2 Nov 2012 19:55:55 GMT
From: Bas Smeelen <b.smeelen@ose.nl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] bsdinstaller default to SU instead of SU+J
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         173301
>Category:       bin
>Synopsis:       [patch] bsdinstall(8): default to SU instead of SU+J
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-sysinstall
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 02 20:00:00 UTC 2012
>Closed-Date:    
>Last-Modified:  Fri Nov 02 20:16:10 UTC 2012
>Originator:     Bas Smeelen
>Release:        9.1-RC3 , 9-STABLE and CURRENT
>Organization:
OverNite Software Europe (OSE)
>Environment:
FreeBSD sys.ose.nl 9.1-RC3 FreeBSD 9.1-RC3 #0: Wed Oct 31 11:56:55 CET 2012     root@sys.ose.nl:/usr/obj/usr/src/sys/SYS  amd64

>Description:
SU+J is default on new installs.
This is a problem when using snapshot functionality e.g. dump a live filesystem and also for SSD this is not recommended.
I would like to have the installer to default to just SU and experienced users can turn journaling on.
See also the discussion on the list: http://lists.freebsd.org/pipermail/freebsd-stable/2012-November/070360.html
>How-To-Repeat:
Install from 9.1-RC2 ISO (even 9.0 or later) and do a dump -0Lauf
snapshot is not supported with journaled soft updates
>Fix:
Workaround is to disable this afterwards, but a better solution is to not default to this, experienced users can enable this, since most installs will be on SSD nowadays and a lot of users will be using dump -L so this default would be not desired.


Patch attached with submission follows:

--- gpart_ops.c	2012-08-06 01:54:33.000000000 +0200
+++ gpart_ops.cnew	2012-11-02 19:07:45.000000000 +0100
@@ -90,8 +90,8 @@
 			{"SU", "Softupdates",
 			    "Enable softupdates (default)", 1 },
 			{"SUJ", "Softupdates journaling",
-			    "Enable file system journaling (default - "
-			    "turn off for SSDs)", 1 },
+			    "Disable file system journaling (default - "
+			    "turn on if you don't use snapshots or SSD)", 0 },
 			{"TRIM", "Enable SSD TRIM support",
 			    "Enable TRIM support, useful on solid-state drives",
 			    0 },


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-sysinstall 
Responsible-Changed-By: eadler 
Responsible-Changed-When: Fri Nov 2 20:15:31 UTC 2012 
Responsible-Changed-Why:  fix synopsis and assign


http://www.freebsd.org/cgi/query-pr.cgi?pr=173301 
>Unformatted:
