From 52318649b6f977fa370b2624fd9519a778052ebb Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Mon, 24 Jan 2011 19:05:52 +0000 Subject: [PATCH] Move chroot man page to man8 git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9449 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 10 ++++++++++ chapter06/coreutils.xml | 4 +++- chapter08/grub.xml | 9 +++++---- general.ent | 4 ++-- 4 files changed, 20 insertions(+), 7 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 1684d5240..bc6cc0171 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -36,6 +36,16 @@ --> + + 2011-01-24 + + + [bdubbs] Move chroot man page to man8. Fixes + #2782. + + + + 2011-01-23 diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml index 45ac5f1c3..4756dfeee 100644 --- a/chapter06/coreutils.xml +++ b/chapter06/coreutils.xml @@ -122,7 +122,9 @@ esac mv -v /usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} /bin mv -v /usr/bin/{false,ln,ls,mkdir,mknod,mv,pwd,rm} /bin mv -v /usr/bin/{rmdir,stty,sync,true,uname} /bin -mv -v /usr/bin/chroot /usr/sbin +mv -v /usr/bin/chroot /usr/sbin +mv -v /usr/share/man/man1/chroot.1 /usr/share/man/man8/chroot.8 +sed -i s/\"1\"/\"8\"/1 /usr/share/man/man8/chroot.8 Some of the scripts in the LFS-Bootscripts package depend on head, sleep, and diff --git a/chapter08/grub.xml b/chapter08/grub.xml index 4cff9afd2..58178d6fc 100644 --- a/chapter08/grub.xml +++ b/chapter08/grub.xml @@ -197,10 +197,11 @@ linux /boot/vmlinux-&linux-version;-lfs-&version; root=/dev/sda2 ro Testing the Configuration The core image of GRUB is also a Multiboot kernel, so if you already - have GRUB Legacy loaded you can load GRUB-&grub-version; through your old - boot loader. To accomplish this, you will need to exit the - chroot environment and re-enter it to finish the - few remaining portions of the book. + have GRUB Legacy loaded you can load + GRUB-&grub-version; through your old boot loader. To accomplish this, you + will need to exit the chroot environment now and + re-enter it in the next section to finish the few remaining portions of + the book. /sbin/reboot ... diff --git a/general.ent b/general.ent index c91338c3b..6ec9cbe4b 100644 --- a/general.ent +++ b/general.ent @@ -1,5 +1,5 @@ - - + +