实用技巧:Linux操作系统下往U盘写数据

摘自: linux.ccidnet.com  被阅读次数: 117


yangyi 于 2008-06-10 23:23:51 提供


将U盘挂载到一个目录:/mnt/usb下,要对U盘数据进行写操作要带上命令-o rw -n

简单步骤如下(必须在可读文件系统下才可以使用):

1.mount -n -t vfat -o rw /dev/sda1 /mnt/usb/

2.cp -arf *.cpp /mnt/usb (may be delay some minutes)

3.cd ..(not at the dir /mnt/usb)

4.umount -t vfat /mnt/usb

原文链接: http://tech.ccidnet.com/art/302/...