0c3fa845f637d685fe6328d962fc26458563883a
[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
15
16 How to change the permissions on the nandsim partition
17
18 $ sudo chmod a+wr /mnt/y/
19 #check the permission change
20 $ touch /mnt/y/test_file
21
22 How to clean the folder
23
24 $ rm -rf /mnt/y
25
26
27 The test must be run in sudo to work
28
29 $ make
30 $ sudo ./linux_test