[RFC] Rewriting sade(8)

John Baldwin jhb at freebsd.org
Fri Apr 9 12:43:24 UTC 2010


On Friday 09 April 2010 5:23:18 am Dag-Erling Smørgrav wrote:
> Garrett Cooper <yanefbsd at gmail.com> writes:
> > Dag-Erling Smørgrav <des at des.no> writes:
> > > Garrett Cooper <yanefbsd at gmail.com> writes:
> > > > Dag-Erling Smørgrav <des at 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


More information about the freebsd-current mailing list