查看文件:
copy < filename
提交当前设备的事务:
commit "/bd0"
U盘卸载:
hdr=iosDevFind("/bd0",0)
iosDevDelete(hdr)
U盘同步:
如果写C语言代码
fd=open("/bd0",O_NOATIME,0777)
status = ioctl(fd,FIOSYNC,0);
close(fd)
在vxworks的shell可以输-> fd=open("/bd0",0x80000,0777)
fd = 0x17609718: value = 4 = 0x4
-> ioctl(fd,21,0)
value = 0 = 0x0
-> close(fd)