003 File Manager
Current Path:
/usr/src/tools/regression/msdosfs
usr
/
src
/
tools
/
regression
/
msdosfs
/
π
..
π
msdosfstest-2.sh
(574 B)
π
msdosfstest-3.sh
(783 B)
π
msdosfstest-4.sh
(1008 B)
π
msdosfstest-5.sh
(1.37 KB)
π
msdosfstest-6.sh
(957 B)
π
msdosfstest.sh
(663 B)
Editing: msdosfstest-3.sh
#!/bin/sh # $FreeBSD$ # A really simple script to create a swap-backed msdosfs filesystem, then # test to make sure the mbnambuf optimisation(msdosfs_conv.c rev 1.40) # doesn't break multi-byte characters. mkdir /tmp/msdosfstest/ mdconfig -a -t swap -s 128m -u 10 bsdlabel -w md10 auto newfs_msdos -F 16 -b 8192 /dev/md10a mount_msdosfs -L zh_TW.Big5 -D CP950 /dev/md10a /tmp/msdosfstest/ # The comment is UTF-8, the actual command uses the Big5 representation. # mkdir /tmp/msdosfstest/012345678_ιͺζ‘δΉηΎ mkdir /tmp/msdosfstest/012345678_$'\250\270\264\143\244\247\254\374' cd /tmp/msdosfstest/012345678_$'\250\270\264\143\244\247\254\374' if [ $? -eq 0 ]; then echo "ok 3"; else echo "not ok 3"; fi cd /tmp umount /tmp/msdosfstest/ mdconfig -d -u 10 rmdir /tmp/msdosfstest/
Upload File
Create Folder