浏览模式: 标准 | 列表2010年01月的文章

*unix类系统的磁盘检测工具

Linux检测硬盘坏道

badblocks

功能说明:检查磁盘装置中损坏的区块。

语法:badblocks [-svw][-b ][-o ][磁盘装置][磁盘区块数][启始区块]

补充说明:执行指令时须指定所要检查的磁盘装置,及此装置的磁盘区块数。

参数:
-b 指定磁盘的区块大小,单位为字节。
-o 将检查的结果写入指定的输出文件。
-s 在检查时显示进度。
-v 执行时显示详细的信息。
-w 在检查时,执行写入测试。
[磁盘装置] 指定要检查的磁盘装置。
[磁盘区块数] 指定磁盘装置的区块总数。
[启始区块] 指定要从哪个区块开始检查。
badblocks 检测磁盘坏块
1)$badblocks -s //显示进度 -v //显示执行详细情况 /dev/sda1

2)读写方式检测 未挂载的磁盘设备或分区
$badblocks -s //显示进度 -w //以写去检测 -v //显示执行详细情况 /dev/sda2

FreeBsd检测硬盘坏道
利用硬盘的S.M.A.R.T.功能来做。
cd /usr/ports/sysutils/smartmontools
make install
快速检查硬盘是否有问题
smartctl -a /dev/ad0
表面测试
smartctl -t long /dev/ad0

» 阅读全文

Tags: 磁盘检测, 磁盘工具, 分区, 检测

Mplayer Configure 参数

Usage: ./configure [OPTIONS]...

Configuration:
  -h, --help             display this help and exit

Installation directories:
  --prefix=DIR           prefix directory for installation [/usr/local]
  --bindir=DIR           directory for installing binaries [PREFIX/bin]
  --datadir=DIR          directory for installing machine independent
                         data files (skins, etc) [PREFIX/share/mplayer]
  --mandir=DIR           directory for installing man pages [PREFIX/share/man]
  --confdir=DIR          directory for installing configuration files
                         [PREFIX/etc/mplayer]

» 阅读全文

cabextract提取exe中的文件

cabextract *.exe  linux下面用以提取文件的.

主要常用于提取win下面的驱动,再用ndiswrapper *.inf *.sys 生成linux下面使用的驱动文件.


相关知识:
      
       ndiswrapper *.inf *.sys  生成驱动的模块文件

      cp /etc/ndiswrapper/***.conf   .conf  复制配置文件

      sudo depmod -a

      sudo modprobe ndiswrapper

后面就是无线的配置了.

» 阅读全文

Tags: cabextract, 提取驱动, exe文件提取

超级驴子Mldonkey

cd /usr/ports/met-p2p/mldonkey
make WITHOUT_GUI=yes WITHOUT_TK=yes WITHOUT=X11 install clean

reboot

/usr/local/etc/rc.d/mlnet stop

vi ~/.mldonkey/downloads.ini

修改allowed_ips  增加你要远程管理的ip地址

再次reboot  {主要是命令启动的时候发现有错误不知怎么解决}

通过远程IE/firefox 管理     http://mldonkey_url:4080/

设置 Opetions --> ALL -->搜索enable_kademlia enable_donkey enable_overnet 将它们设置为true

Opetions  页面下面找到web infos --> remove  guarding.p2p 

Servers  -->  Import Server.met  增加  http://www.emule.com.cn/server.met

在DL 后面的输入框里面添加ed2k的资源连接就可以进行下载了.  详细的就自己放狗吧.

» 阅读全文

Tags: mldonkey, 配置