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-2.sh
#!/bin/sh # $FreeBSD$ # A really simple script to create a swap-backed msdosfs filesystem, then test to # make sure the case conversion issue described in msdosfs_lookup.c rev 1.46 # is fixed. 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 /dev/md10a /tmp/msdosfstest/ cat /tmp/msdosfstest/foo touch /tmp/msdosfstest/FOO cat /tmp/msdosfstest/foo if [ $? -eq 0 ]; then echo "ok 2"; else echo "not ok 2"; fi umount /tmp/msdosfstest/ mdconfig -d -u 10 rmdir /tmp/msdosfstest/
Upload File
Create Folder