Using the DiskOnChip with Linux OS

1.The floppy drive must be active. Verify this by typing:

# mount

If the /dev/fd0 doesn’t appear in the first column, type:

# mount/dev/fd0 /mnt

From this point, it is assumed that the diskette that contains the TrueFFS driver for Linux is mounted at /mnt.

2.The kernel sources must be installed. To check this, type:

# ls /usr/src/linux

If this directory exists, then the kernel sources are installed. If not, refer to http://sunsite.unc.edu/LDP/ or type:

zcat /usr/doc/HOWTO/Kernel-HOWTO.gz more

3.Unzip and untar the file driver.tgz, located on your diskette, as follows:

#cd /tmp

#mkdir temp

#cd temp

#tar -zxvf /mnt/driver.tgz

#cp -rf . /

#cd ..

#rm -fr temp

#cd /usr/src/linux/

4.If you are installing the TrueFFS driver for kernel versions 2.0. ##, type the following command:

#patch -p0 < /tmp/doc-driver/doc-patch-2.0.##

This will patch the current kernel sources to include the TrueFFS driver for Linux (with ## = kernel version). Notice that the patch for the kernel is working only on original kernel sources, and that the patch is version specific. In case the utility patch is not available in your Linux environment, refer to Chapter 6 “Troubleshooting”.

Note: If you are installing the TrueFFS driver for kernel versions 2.2.##, the kernel sourced need to be patched manually (see Appendix III "Applying a patch manually"). For your reference, an example patch file is included with the driver.

91-SR-005-10-7L REV. 2.0

8

Page 8
Image 8
M-Systems Flash Disk Pioneers DiskOnChip, 91-SR-005-10-7L Floppy drive must be active. Verify this by typing