M-Systems Flash Disk Pioneers DiskOnChip, 91-SR-005-10-7L Diskonchip/bin/programname

Models: DiskOnChip 91-SR-005-10-7L

1 25
Download 25 pages 22.19 Kb
Page 20
Image 20

Using the DiskOnChip with Linux OS

not listed below are considered optional. Copy these programs to the directories /bin or /sbin as follows:

# cp /bin/{program_name}

/diskonchip/bin/{program_name}

/bin directory:

cat

echo

mount

chmod

hostname

mv

chown

kill

ps

cp

Ln

rm

cut

login

rmdir

dd

Ls

sh

df

mkdir

su

dircolors

mke2fs

sync

du

mknod

umount

e2fsck

more

uname

/sbin directory:

haltShutdown

initSwapoff

ldconfigSwapon

mingetty Telinit

mkswap Update

reboot

rdev

runlevel

The file name of mingetty varies with the distribution, i.e. RedHat and SuSE use mingetty, Slackware uses agetty. To find out what the name of this file in your distribution is, perform a grep on “getty”:

#grep getty /etc/inittab

8.The /lib directory contains all the shared libraries and loaders. Only the appropriate libraries need to be copied to the /lib directory. To check which libraries are needed, type the following command for each file in these two directories:

#ldd /sbin/{filename}

or

# ldd /bin/{filename}

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

20

Page 20
Image 20
M-Systems Flash Disk Pioneers DiskOnChip, 91-SR-005-10-7L installation manual Diskonchip/bin/programname