Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2001 15:56:01 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Jordan Hubbard <jkh@winston.freebsd.org>
Cc:        freebsd-arch@FreeBSD.ORG, Terry Lambert <tlambert2@mindspring.com>, Peter Wemm <peter@wemm.org>, Robert Watson <rwatson@FreeBSD.ORG>, Matthew Dillon <dillon@apollo.backplane.com>
Subject:   Re: Proposed auto-sizing patch to sysinstall (was Re: Using a la
Message-ID:  <XFMail.011210155601.jhb@FreeBSD.org>
In-Reply-To: <44607.1008027292@winston.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 10-Dec-01 Jordan Hubbard wrote:
>>     I don't hate it, but I wish you had done it before I invested all
>>     sorts of time in this.
> 
> Sorry, but as I just admitted in another part of this thread, I don't
> think I'd have had the gumption to tackle a re-write if you hadn't,
> either, so this is a circular dependency. :)
> 
>>     I don't think we need a 'Does everything look correct' requester.
> 
> The reason that it's there, and I disliked it too when I first thought
> about it, is that since the partitions are not created until the very
> end, you don't get the nice /dev/sd0s1f type of device names since the
> label editor doesn't know this until it creates the chunks with
> libdisk.  The reason it doesn't create them initially is because
> everything except the manually created filesystems are done
> "speculatively" since it would be very expensive to create and delete
> chunks when shuffling between profiles, and libdisk is also fragile
> enough that I'd sort of expect that to break if you did it enough
> times.  So I thought the user might like the chance to actually see
> the final layout before proceeding, and if I just exit the screen
> immediately on (Q)uit, you'd never see it.  Perhaps that's just fine
> though.  What do folks think?

I think having it is ok.  It's not that big of a deal to hit 'y' Enter.  It is
nice to see the final results.  One thing I would like is if one can delete an
auto partition and create a new one and have the other auto's adjust.  (I think
you can do this, right?)  For example, I usually like to make / bigger than
usual, so I would prefer ot do 'A', select workstation or testbox or whatever,
delete /, create a bigger /, and have the swap and /var stay the same and /usr
adjust as needed.  I would almost vote for deferring the assignment of all
partitions (manual or automatic) until the end.  The only difference in a
manual partition is that it has a fixed size IMO.  This would allow one to
simply set the size of an auto partition to tweak a setup.  For example, for my
scenario, I would just have to set a size for / and then everything would be
done.

So, if I create a partition, it doesn't get allocated a letter yet until we
commit the changes.  It's just like an auto partition except that it has a
fixed size and is tied to a specific slice/disk.  How does that sound?

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.011210155601.jhb>