将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
(责任编辑:A6)
实用技巧:Linux操作系统下往U盘写数据
将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 (责任编辑:A6) 来源:赛迪网 作者:korn 时间: 2008-03-31 09:22:32 评论0条 点击:阅读次数:
次
把开源带在你的身边-精美linux小纪念品
|
搜索
文章分类
软件导航
论坛导航
高级应用->数据库 | 系统安全 | 嵌入式应用| 编程开发-> C/C++(STL/boost) | 内核 | RAD|Perl/PHP/Python | JAVA/XML | Shell 发行版-> Redhat和Fedora | Debian | Gentoo | Slackware/Suse | Mandrake/Mandriva Unix ->FreeBSD | Solaris | 其他Unix讨论 论坛新贴
|