diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-03-15 08:29:22 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-03-15 08:29:22 +0000 |
commit | c7bda1ce659294d6e22c06e087f6f265983c7578 (patch) | |
tree | 4c6d2217f4d8306c59cf1096f8664e1cfd167213 /examples/bootfloppy | |
parent | 8854004b41065b3d081af7f3df13a100b0c8bfbe (diff) | |
download | busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.gz busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.bz2 busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.zip |
Remove trailing whitespace. Update copyright to include 2004.
Diffstat (limited to 'examples/bootfloppy')
-rw-r--r-- | examples/bootfloppy/bootfloppy.txt | 12 | ||||
-rw-r--r-- | examples/bootfloppy/etc/profile | 2 | ||||
-rwxr-xr-x | examples/bootfloppy/mkrootfs.sh | 4 | ||||
-rw-r--r-- | examples/bootfloppy/syslinux.cfg | 2 |
4 files changed, 10 insertions, 10 deletions
diff --git a/examples/bootfloppy/bootfloppy.txt b/examples/bootfloppy/bootfloppy.txt index 090ef0499..16f2c130f 100644 --- a/examples/bootfloppy/bootfloppy.txt +++ b/examples/bootfloppy/bootfloppy.txt | |||
@@ -38,13 +38,13 @@ Making a Root File System | |||
38 | The following steps will create a root file system. | 38 | The following steps will create a root file system. |
39 | 39 | ||
40 | - Create an empty file that you can format as a filesystem: | 40 | - Create an empty file that you can format as a filesystem: |
41 | 41 | ||
42 | dd if=/dev/zero of=rootfs bs=1k count=4000 | 42 | dd if=/dev/zero of=rootfs bs=1k count=4000 |
43 | 43 | ||
44 | - Set up the rootfs file we just created to be used as a loop device (may not | 44 | - Set up the rootfs file we just created to be used as a loop device (may not |
45 | be necessary) | 45 | be necessary) |
46 | 46 | ||
47 | losetup /dev/loop0 rootfs | 47 | losetup /dev/loop0 rootfs |
48 | 48 | ||
49 | - Format the rootfs file with a filesystem: | 49 | - Format the rootfs file with a filesystem: |
50 | 50 | ||
@@ -101,15 +101,15 @@ The following steps will create the boot floppy. | |||
101 | Note: You will need to have the mtools package installed beforehand. | 101 | Note: You will need to have the mtools package installed beforehand. |
102 | 102 | ||
103 | - Insert a floppy in the drive and format it with an MSDOS filesystem: | 103 | - Insert a floppy in the drive and format it with an MSDOS filesystem: |
104 | 104 | ||
105 | mformat a: | 105 | mformat a: |
106 | 106 | ||
107 | (if the system doesn't know what device 'a:' is, look at /etc/mtools.conf) | 107 | (if the system doesn't know what device 'a:' is, look at /etc/mtools.conf) |
108 | 108 | ||
109 | - Run syslinux on the floppy: | 109 | - Run syslinux on the floppy: |
110 | 110 | ||
111 | syslinux -s /dev/fd0 | 111 | syslinux -s /dev/fd0 |
112 | 112 | ||
113 | (the -s stands for "safe, slow, and stupid" and should work better with | 113 | (the -s stands for "safe, slow, and stupid" and should work better with |
114 | buggy BIOSes; it can be omitted) | 114 | buggy BIOSes; it can be omitted) |
115 | 115 | ||
diff --git a/examples/bootfloppy/etc/profile b/examples/bootfloppy/etc/profile index e9b11e90a..8a7c77d78 100644 --- a/examples/bootfloppy/etc/profile +++ b/examples/bootfloppy/etc/profile | |||
@@ -4,5 +4,5 @@ echo | |||
4 | echo -n "Processing /etc/profile... " | 4 | echo -n "Processing /etc/profile... " |
5 | # no-op | 5 | # no-op |
6 | echo "Done" | 6 | echo "Done" |
7 | echo | 7 | echo |
8 | 8 | ||
diff --git a/examples/bootfloppy/mkrootfs.sh b/examples/bootfloppy/mkrootfs.sh index e56d10469..e79ed418e 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 | |||
63 | # install uClibc | 63 | # install uClibc |
64 | mkdir -p $TARGET_DIR/lib | 64 | mkdir -p $TARGET_DIR/lib |
65 | cd $UCLIBC_DIR | 65 | cd $UCLIBC_DIR |
66 | make INSTALL_DIR= | 66 | make INSTALL_DIR= |
67 | cp -a libc.so* $BASE_DIR/$TARGET_DIR/lib | 67 | cp -a libc.so* $BASE_DIR/$TARGET_DIR/lib |
68 | cp -a uClibc*.so $BASE_DIR/$TARGET_DIR/lib | 68 | cp -a uClibc*.so $BASE_DIR/$TARGET_DIR/lib |
69 | cp -a ld.so-1/d-link/ld-linux-uclibc.so* $BASE_DIR/$TARGET_DIR/lib | 69 | cp -a ld.so-1/d-link/ld-linux-uclibc.so* $BASE_DIR/$TARGET_DIR/lib |
70 | cp -a ld.so-1/libdl/libdl.so* $BASE_DIR/$TARGET_DIR/lib | 70 | cp -a ld.so-1/libdl/libdl.so* $BASE_DIR/$TARGET_DIR/lib |
71 | cp -a crypt/libcrypt.so* $BASE_DIR/$TARGET_DIR/lib | 71 | cp -a crypt/libcrypt.so* $BASE_DIR/$TARGET_DIR/lib |
72 | cd $BASE_DIR | 72 | cd $BASE_DIR |
diff --git a/examples/bootfloppy/syslinux.cfg b/examples/bootfloppy/syslinux.cfg index 8d407cad4..fa2677ca8 100644 --- a/examples/bootfloppy/syslinux.cfg +++ b/examples/bootfloppy/syslinux.cfg | |||
@@ -4,4 +4,4 @@ timeout 10 | |||
4 | prompt 1 | 4 | prompt 1 |
5 | label linux | 5 | label linux |
6 | kernel linux | 6 | kernel linux |
7 | append initrd=rootfs.gz root=/dev/ram0 | 7 | append initrd=rootfs.gz root=/dev/ram0 |