summaryrefslogtreecommitdiff
path: root/examples/bootfloppy
diff options
context:
space:
mode:
authorEric Andersen2004-03-15 08:29:22 +0000
committerEric Andersen2004-03-15 08:29:22 +0000
commitc7bda1ce659294d6e22c06e087f6f265983c7578 (patch)
tree4c6d2217f4d8306c59cf1096f8664e1cfd167213 /examples/bootfloppy
parent8854004b41065b3d081af7f3df13a100b0c8bfbe (diff)
downloadbusybox-c7bda1ce659294d6e22c06e087f6f265983c7578.zip
busybox-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.gz
Remove trailing whitespace. Update copyright to include 2004.
Diffstat (limited to 'examples/bootfloppy')
-rw-r--r--examples/bootfloppy/bootfloppy.txt12
-rw-r--r--examples/bootfloppy/etc/profile2
-rwxr-xr-xexamples/bootfloppy/mkrootfs.sh4
-rw-r--r--examples/bootfloppy/syslinux.cfg2
4 files changed, 10 insertions, 10 deletions
diff --git a/examples/bootfloppy/bootfloppy.txt b/examples/bootfloppy/bootfloppy.txt
index 090ef04..16f2c13 100644
--- a/examples/bootfloppy/bootfloppy.txt
+++ b/examples/bootfloppy/bootfloppy.txt
@@ -38,13 +38,13 @@ Making a Root File System
The following steps will create a root file system.
- Create an empty file that you can format as a filesystem:
-
+
dd if=/dev/zero of=rootfs bs=1k count=4000
- Set up the rootfs file we just created to be used as a loop device (may not
- be necessary)
+ be necessary)
- losetup /dev/loop0 rootfs
+ losetup /dev/loop0 rootfs
- Format the rootfs file with a filesystem:
@@ -101,15 +101,15 @@ The following steps will create the boot floppy.
Note: You will need to have the mtools package installed beforehand.
- Insert a floppy in the drive and format it with an MSDOS filesystem:
-
+
mformat a:
(if the system doesn't know what device 'a:' is, look at /etc/mtools.conf)
- Run syslinux on the floppy:
-
+
syslinux -s /dev/fd0
-
+
(the -s stands for "safe, slow, and stupid" and should work better with
buggy BIOSes; it can be omitted)
diff --git a/examples/bootfloppy/etc/profile b/examples/bootfloppy/etc/profile
index e9b11e9..8a7c77d 100644
--- a/examples/bootfloppy/etc/profile
+++ b/examples/bootfloppy/etc/profile
@@ -4,5 +4,5 @@ echo
echo -n "Processing /etc/profile... "
# no-op
echo "Done"
-echo
+echo
diff --git a/examples/bootfloppy/mkrootfs.sh b/examples/bootfloppy/mkrootfs.sh
index e56d104..e79ed41 100755
--- a/examples/bootfloppy/mkrootfs.sh
+++ b/examples/bootfloppy/mkrootfs.sh
@@ -63,10 +63,10 @@ mount -o loop,exec rootfs $TARGET_DIR # must be root
# install uClibc
mkdir -p $TARGET_DIR/lib
cd $UCLIBC_DIR
-make INSTALL_DIR=
+make INSTALL_DIR=
cp -a libc.so* $BASE_DIR/$TARGET_DIR/lib
cp -a uClibc*.so $BASE_DIR/$TARGET_DIR/lib
-cp -a ld.so-1/d-link/ld-linux-uclibc.so* $BASE_DIR/$TARGET_DIR/lib
+cp -a ld.so-1/d-link/ld-linux-uclibc.so* $BASE_DIR/$TARGET_DIR/lib
cp -a ld.so-1/libdl/libdl.so* $BASE_DIR/$TARGET_DIR/lib
cp -a crypt/libcrypt.so* $BASE_DIR/$TARGET_DIR/lib
cd $BASE_DIR
diff --git a/examples/bootfloppy/syslinux.cfg b/examples/bootfloppy/syslinux.cfg
index 8d407ca..fa2677c 100644
--- a/examples/bootfloppy/syslinux.cfg
+++ b/examples/bootfloppy/syslinux.cfg
@@ -4,4 +4,4 @@ timeout 10
prompt 1
label linux
kernel linux
- append initrd=rootfs.gz root=/dev/ram0
+ append initrd=rootfs.gz root=/dev/ram0