[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#410787: debootstrap: Wrong example in man page.

tags 410787 pending

On Tue, Feb 13, 2007 at 11:08:34AM +0100, Raúl Sánchez Siles wrote:
> /proc mounting in this example is not useful anymore. Moreover wiht
> newer Linux kernels /sys should be also mounted:

/proc is still eminently useful in many situations, although may not be
strictly required for this example; I think it's a good idea to keep it.
However, we should probably update the mount options "none" to
"defaults" to match the /etc/fstab on normal systems.

I agree that we should add /sys, and have done so for the next version
of debootstrap.

>      main # cd / ; mkdir /sid-root 
>      main # debootstrap sid /sid-root http://ftp.debian.org/debian/ 
>      [ ... watch it download the whole system ] 
>      main # echo "none /sid-root/proc proc none 0 0" >> /etc/fstab 
>      main # mount none /sid-root/proc -t proc 
>      main # echo "none /sid-root/sys sysfs none 0 0" >> /etc/fstab 
>      main # mount none /sid-root/proc -t sysfs 

This last line should be "/sid-root/sys", of course!


Colin Watson                                       [cjwatson@debian.org]

Reply to: