Bug#594052: debootstrap: create example /etc/hosts and /etc/fstab?
Hideki Yamane, le mar. 05 juin 2018 11:42:30 +0900, a ecrit:
> On Mon, 23 Aug 2010 15:18:45 +0200 Samuel Thibault <email@example.com> wrote:
> > Colin Watson, le Mon 23 Aug 2010 12:45:12 +0100, a écrit :
> > > Does anyone have any thoughts on this?
> > Mmm, aren't you actually looking for crosshurd? (which should really be
> > called crossdebian nowadays). AIUI, using debootstrap is just meant for
> > chroots & such.
> You mean, adding /etc/fstab sample is harm for hurd (or kfreebsd)?
No. I mean only what I wrote: debootstrap is currently only used for
chroots etc. where e.g. fstab doesn't even make sense. The debian
installer then for instance has scripts to populate fstab & hosts
according to what it knows about the content that should be put.
Crosshurd (again, should be called crossdebian, it's not hurd-specific
at all), however, does know how to populate fstab & hosts with sample
files according to the system, and thus I think it answers the need
We could also see at merging deboostrap and crosshurd, since they
are two tools which do almost the same thing, and see crosshurd's
README.Debian suggesting so.
> If so, how about if we can apply it for only linux?
There is no reason to do it only for Linux.