Date: Fri, 9 Apr 2010 08:40:54 -0400 From: John Baldwin <jhb@freebsd.org> To: "Dag-Erling =?utf-8?q?Sm=C3=B8rgrav?=" <des@des.no> Cc: Bruce Cran <bruce@cran.org.uk>, freebsd-geom@freebsd.org, Alexander Leidinger <Alexander@leidinger.net>, Teske <dteske@vicor.com>, Randi Harper <randi@freebsd.org>, freebsd-current@freebsd.org, "Andrey V. Elsukov" <bu7cher@yandex.ru>, Garrett Cooper <yanefbsd@gmail.com> Subject: Re: [RFC] Rewriting sade(8) Message-ID: <201004090840.54701.jhb@freebsd.org> In-Reply-To: <86fx356ku1.fsf@ds4.des.no> References: <55861270658151@web135.yandex.ru> <i2h7d6fde3d1004081231vfa329175kaefc50cb82e0ab06@mail.gmail.com> <86fx356ku1.fsf@ds4.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 09 April 2010 5:23:18 am Dag-Erling Smørgrav wrote:
> Garrett Cooper <yanefbsd@gmail.com> writes:
> > Dag-Erling Smørgrav <des@des.no> writes:
> > > Garrett Cooper <yanefbsd@gmail.com> writes:
> > > > Dag-Erling Smørgrav <des@des.no> writes:
> > > > > [restored relevant context which was removed earlier in the thread]
> > > > > ...which is exactly what I said - but in the sysinstall case, you
may
> > > > > want to ask some additional questions ("are you sure you want to
proceed
> > > > > without a swap partition?") or place some additional constraints
(such
> > > > > as "don't allow the user to mount something on top of /mnt or
/rescue"),
> > > > > and sysinstall needs to know the outcome.
> > > > If the user shoots him or herself in the foot, that's their own
> > > > problem.
> > > That kind of attitude is why people choose Linux over FreeBSD...
> > Where do you draw the line though? /media, /libexec, /proc, /sys, etc?
> > I think it's better to educate users than build in more complexity to
> > the install application.
>
> I draw the line at mounting something - anything - on top of directories
> that contain files that are critical to sysinstall's operation. IIRC,
> /mnt is where the installation CD is mounted.
FYI, the CD is mounted at /dist. sysinstall mounts the new filesystems in
/mnt and then chroots into /mnt before doing the actual install.
--
John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004090840.54701.jhb>
