Disk /dev/sda: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 244 1959898+ 83 Linux
/dev/sda2 245 6324 48837600 83 Linux
/dev/sda3 6325 12404 48837600 83 Linux
/dev/sda4 12405 20023 61199617+ 83 Linux
System 是 HPFS/NTFS 或 FAT 的就是 windows.
我的 IBM notebook 是 /dev/hda1
而且 c:\i386 是 XP files.
所以
# cd /ramdisk
# mkdir /c
# mount /dev/hda1 /c
# wget http://dl.antivir.de/down/vdf/rescuecd/rescuecd.iso
# mkdir /ramdisk/r
# mount rescuecd.iso /ramdisk/r -o loop,ro
# cd /ramdisk/r/antivir
# ./antivir >& /ramdisk/virlog01.txt
或#./antivir -s /c/WINDOWS >& /ramdisk/virlogwindows.log