summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2009-01-13 21:48:23 (GMT)
committerColin Watson <cjwatson@debian.org>2009-01-13 21:48:23 (GMT)
commite9c968c231005d377dc4c3fc71c8ad2160fc1436 (patch)
treef3e8f3a9c68e8013790fe26dc5b7eed6793bc283
parent3f9ffc725bd0c59e87e8dc4f00aa120024a841fd (diff)
downloaddebootstrap-e9c968c231005d377dc4c3fc71c8ad2160fc1436.zip
debootstrap-e9c968c231005d377dc4c3fc71c8ad2160fc1436.tar.gz
debootstrap-e9c968c231005d377dc4c3fc71c8ad2160fc1436.tar.bz2
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). r57250
-rw-r--r--debian/changelog3
-rw-r--r--debootstrap.84
2 files changed, 6 insertions, 1 deletions
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 <cjwatson@ubuntu.com> 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