Date: Wed, 31 Aug 2011 15:52:33 +0200 From: Ivan Voras <ivoras@freebsd.org> To: Nathan Whitehorn <nwhitehorn@freebsd.org> Cc: freebsd-hackers@freebsd.org Subject: Re: 9-beta1 installer - partition editor Message-ID: <CAF-QHFWgwxwyyazbNOUQsAf6xH-vio0_AgL1Mj8mqmn4-yqHqA@mail.gmail.com> In-Reply-To: <4E5E3895.4090400@freebsd.org> References: <j3ikuq$ec1$1@dough.gmane.org> <4E5CEF79.7070508@freebsd.org> <j3ju0s$kuo$1@dough.gmane.org> <4E5D82FC.2020909@freebsd.org> <j3l1rf$3s6$2@dough.gmane.org> <4E5E2D01.3000400@freebsd.org> <CAF-QHFWDVjkT5Rt4WZU5u61SUCZbVbxd9yVzhMWuq%2BR-fACXWA@mail.gmail.com> <4E5E3895.4090400@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 31 August 2011 15:35, Nathan Whitehorn <nwhitehorn@freebsd.org> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF-QHFWgwxwyyazbNOUQsAf6xH-vio0_AgL1Mj8mqmn4-yqHqA>