From e9c968c231005d377dc4c3fc71c8ad2160fc1436 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 13 Jan 2009 21:48:23 +0000 Subject: =?UTF-8?q?Mention=20/sys=20in=20EXAMPLE=20section=20of=20manual?= =?UTF-8?q?=20page,=20and=20use=20"defaults"=20rather=20than=20"none"=20as?= =?UTF-8?q?=20the=20mount=20options=20for=20/proc=20(thanks,=20Ra=C3=BAl?= =?UTF-8?q?=20S=C3=A1nchez=20Siles;=20closes:=20#410787).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit r57250 --- debian/changelog | 3 +++ debootstrap.8 | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index dbc48ca..e3fd286 100644 --- a/debian/changelog +++ b/debian/changelog @@ -20,6 +20,9 @@ debootstrap (1.0.11) UNRELEASED; urgency=low #467571). * Note that you can't --include packages with non-required Pre-Depends (see #487908). + * Mention /sys in EXAMPLE section of manual page, and use "defaults" + rather than "none" as the mount options for /proc (thanks, Raúl Sánchez + Siles; closes: #410787). -- Colin Watson Fri, 31 Oct 2008 13:37:01 +0000 diff --git a/debootstrap.8 b/debootstrap.8 index 192e62a..cc57d01 100644 --- a/debootstrap.8 +++ b/debootstrap.8 @@ -149,8 +149,10 @@ Full process to create a complete Debian installation of \fIsid\fR (unstable): main # cd / ; mkdir /sid-root main # debootstrap sid /sid-root http://ftp.us.debian.org/debian/ [ ... watch it download the whole system ] - main # echo "proc /sid-root/proc proc none 0 0" >> /etc/fstab + main # echo "proc /sid-root/proc proc defaults 0 0" >> /etc/fstab main # mount proc /sid-root/proc -t proc + main # echo "sysfs /sid-root/sys sysfs defaults 0 0" >> /etc/fstab + main # mount sysfs /sid-root/sys -t sysfs main # cp /etc/hosts /sid-root/etc/hosts main # chroot /sid-root /bin/bash chroot # dselect -- cgit v0.12