From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 31 13:53:14 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40459106566C; Wed, 31 Aug 2011 13:53:14 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id DDB888FC15; Wed, 31 Aug 2011 13:53:13 +0000 (UTC) Received: by yib19 with SMTP id 19so722725yib.13 for ; Wed, 31 Aug 2011 06:53:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=fucVPJrXFSs4Ez2k0EXzcwYbA7YJiSohXPOSzE2DPdo=; b=ixylOaO0d80MEv+9Tlr7p9umQR7ggG5DW2X0IP5hy/PC4HksXhke98xZ7yS6I0rC4D w4eBwpFA3QHFpnSY6mOcvpWGQaaush0feR6cD13zSIXQJayWRLeAC5uSHqL1YoA0yVuO 8rNkR/AbHuF/wKwmmC/Ie8ze0EQRkC9Osvyeo= Received: by 10.101.82.13 with SMTP id j13mr329021anl.73.1314798793140; Wed, 31 Aug 2011 06:53:13 -0700 (PDT) MIME-Version: 1.0 Sender: ivoras@gmail.com Received: by 10.100.123.18 with HTTP; Wed, 31 Aug 2011 06:52:33 -0700 (PDT) In-Reply-To: <4E5E3895.4090400@freebsd.org> References: <4E5CEF79.7070508@freebsd.org> <4E5D82FC.2020909@freebsd.org> <4E5E2D01.3000400@freebsd.org> <4E5E3895.4090400@freebsd.org> From: Ivan Voras Date: Wed, 31 Aug 2011 15:52:33 +0200 X-Google-Sender-Auth: Pd65BLizsFoGET8e4e0AcFJ1SQI Message-ID: To: Nathan Whitehorn Content-Type: text/plain; charset=UTF-8 Cc: freebsd-hackers@freebsd.org Subject: Re: 9-beta1 installer - partition editor X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Aug 2011 13:53:14 -0000 On 31 August 2011 15:35, Nathan Whitehorn wrote: > On 08/31/11 08:28, Ivan Voras wrote: >> If it is as you say, then the dialog where I entered "/" and "/srv" >> should definitely NOT have that field on it. > > Well, no. It only applies to bsdlabel containers. For instance, were I to > want to mount an ext2 or fat32 partition directly under MBR, which the > installer can do (and create, in the case of fat32), the mountpoint field is > very important. What we *can* do is add a check that rejects mountpoints for > partitions of type "freebsd". I'll see if I can code that up; it's too late > for BETA2, however. As you probably know, nothing precludes users to create UFS (or any other file system) directly under the MBR partition or the disk itself, so in fact what I showed in the screenshots should have been a valid operation. I think the dialogs are confusing, especially for users not used to the FreeBSD way of doing things. How about these *minimal* changes to the partition editor: 1) Before the partition editor starts, show an informational dialog box describing in short (one screen, no scrolling) that they can choose to either use a "normal" partitioning scheme like Linux, Windows and others and just create simple partitions or they can go the weird BSD way and create nested partitions (i.e. disklabels under a MBR partition). 2) Have a helpful message / line in the partition editor saying that if a "freebsd"-type partition is created without a mountpoint specified, the editor will allow creating second-level bsdlabel under them. I am very much trying to emphasize that any assumption that users will know these two pieces of information before they use the installer will only cause them to fill the mailing lists with bug reports such as mine or worse - just silently give up.