Skip to content

hnwyllmm/vdisk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vdisk

写一个块设备驱动(赵磊著) 所有代码在Ubuntu 14.04 linux 3.13.0上测试

make                             # 编译
insmod ./vdisk.ko                # 安装
mkfs -t ext4 /dev/vdisk          # 安装文件系统(格式化)
mkdir -p /mnt/vdisk              # 创建挂载路径
mount /dev/vdisk /mnt/vdisk      # 挂载磁盘
echo hello > /mnt/vdisk/test     # 测试
umount /dev/vdisk                # 卸载
rmmod vdisk                      # 删除模块

About

virtual disk(by ram)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published