yaffs Added a new test for yaffs functions via linux command calls.
[yaffs2.git] / direct / timothy_tests / linux_tests / README.txt
1
2 How to initilise the nandsim
3
4 $ make
5
6 $ sudo -s
7 ...password..
8 # now have a root shell
9 $ ./linux-tests/initnandsim 128MiB-2048
10 $ insmod yaffs2multi.ko
11 $ mkdir /mnt/y
12 $ mount -t yaffs2 /dev/mtdblock0 /mnt/y
13
14 How to change the permissions on the nandsim partition
15 $ sudo chmod a+wr /mnt/y/
16 #check the permission change
17 $ touch /mnt/y/test_file
18
19 How to clean the folder
20 $ rm -rf /mnt/y
21
22 The test must me run in sudo to work