Skip site navigation (1)Skip section navigation (2)
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=C3=B8rgrav wrote:
> Garrett Cooper <yanefbsd@gmail.com> writes:
> > Dag-Erling Sm=C3=B8rgrav <des@des.no> writes:
> > > Garrett Cooper <yanefbsd@gmail.com> writes:
> > > > Dag-Erling Sm=C3=B8rgrav <des@des.no> writes:
> > > > > [restored relevant context which was removed earlier in the threa=
d]
> > > > > ...which is exactly what I said - but in the sysinstall case, you=
=20
may
> > > > > want to ask some additional questions ("are you sure you want to=
=20
proceed
> > > > > without a swap partition?") or place some additional constraints=
=20
(such
> > > > > as "don't allow the user to mount something on top of /mnt or=20
/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.
>=20
> 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.

=46YI, the CD is mounted at /dist.  sysinstall mounts the new filesystems i=
n=20
/mnt and then chroots into /mnt before doing the actual install.

=2D-=20
John Baldwin



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