⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 existfs

📁 早期freebsd实现
💻
字号:
#!/bin/csh -fset time=2if ($#argv < 1) then	echo "Usage: existfs name"	exit 1endifecho "tests on $1"/etc/dumpfs $1 | head -14 | tail -11mkdir $1/fststsif (! -e bin) then	mkdir bin	cc -o bin/write_4096 write_4096.c	cc -o bin/write_8192 write_8192.c	cc -o bin/rewrite_8192 rewrite_8192.c	cc -o bin/read_8192 read_8192.cendifcp bin/write_4096 bin/write_8192 bin/rewrite_8192 bin/read_8192 $1/fststscd $1/fststsecho "write_4096"rm -f tst2./write_4096 tst2rm -f tst2./write_4096 tst2rm -f tst2./write_4096 tst2echo "write_8192"rm -f tst2./write_8192 tst2rm -f tst2./write_8192 tst2rm -f tst2./write_8192 tst2echo "rewrite_8192"./rewrite_8192 tst2./rewrite_8192 tst2./rewrite_8192 tst2echo "read_8192"./read_8192 tst2./read_8192 tst2./read_8192 tst2echo "done"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -