安裝 DazukoFS

 原文(繁体中文):http://don.7mix.net/archives/192

 

安裝 DazukoFS

DasukoFS官网:http://dazuko.dnsalias.org/wiki/index.php/Main_Page

DazukoFS下载:http://dazuko.dnsalias.org/wiki/index.php/Downloads

安装请参考README文档,目前提供的 patch有如下几个版本:

patch-linux-2.6.16 patch-linux-2.6.20 patch-linux-2.6.24 patch-linux-2.6.18 patch-linux-2.6.22 patch-linux-2.6.26 patch-opensuse-11.0 patch-opensuse-11.1 patch-ubuntu-8.10

 

按照uname的显示,进行patch。如:

应该显示:dazukofs: loaded, version=3.0.0

 

测试:

 

 

建立测试程序:

 

开启新的窗口:

显示:

/tmp/dazukofs_test/arch: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped
/tmp/dazukofs_test/alsaunmute: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped
/tmp/dazukofs_test/alsacard: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped
/tmp/dazukofs_test/awk: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped

出现类似上述信息,表示加载成功

 

回前一个终端会看到如以下的打印:

pid:10173 file:/tmp/dazukofs_test
pid:10173 file:/tmp/dazukofs_test
pid:10175 file:/tmp/dazukofs_test/arch
pid:10175 file:/tmp/dazukofs_test/alsaunmute
pid:10175 file:/tmp/dazukofs_test/alsacard
pid:10175 file:/tmp/dazukofs_test/awk

Ctrl+C 結束测试进程

^C

Goodbye.

[root@fedora test]# umount /tmp/dazukofs_test

 

启动自动挂载 DazukoFS 文件系统:

最简单的方法就是直接编辑 /etc/fstab,例如:

# vi /etc/fstab

/var/mysql  /var/mysql      dazukofsdefaults      0 0
/usr
     /usr        dazukofs
defaults       0 0

开机时自动挂载/var/mysql /usr 目录

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值