From owner-freebsd-bugs@FreeBSD.ORG Fri Nov 2 20:00:01 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 52BCC3AC for ; Fri, 2 Nov 2012 20:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 283338FC19 for ; Fri, 2 Nov 2012 20:00:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qA2K018Q058013 for ; Fri, 2 Nov 2012 20:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qA2K01I4058009; Fri, 2 Nov 2012 20:00:01 GMT (envelope-from gnats) Resent-Date: Fri, 2 Nov 2012 20:00:01 GMT Resent-Message-Id: <201211022000.qA2K01I4058009@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bas Smeelen Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1DA01224 for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/173301: [patch] bsdinstaller default to SU instead of SU+J X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2012 20:00:01 -0000 >Number: 173301 >Category: misc >Synopsis: [patch] bsdinstaller default to SU instead of SU+J >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >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: >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: >Unformatted: