如何在QNX系统中挂载U盘

如何在QNX系统中挂载U盘  

2009-01-12 14:38:10|  分类: QNX笔记 |  标签:qnx  |字号 订阅


1.运行 io-usb server 。The  io-usb server contains USB protocols and communicates with clients (class drivers). The USB stack is a server/dll interface which the server uses to load the DLLs that manage the USB chips.

#io-usb -duhci -dohci -dehci


2.# usb (Display USB device configuration,可选)


3. 指定文件系统类型: # fdisk /dev/hd1

FDISK

Ignore Next Prev 1 2 3 4 Change Delete Boot Unboot Restore Loader Save Quit

        _____OS_____     Start      End     ______Number_____    Size    Boot 

        name    type    Cylinder  Cylinder  Cylinders  Blocks                 

--> 1.  QNX6   (179)          1      4095      4095        4095      1 MB

    2.  ______ (___)    _______   _______   _______   _________  _____

    3.  ______ (___)    _______   _______   _______   _________  _____

    4.  ______ (___)    _______   _______   _______   _________  _____

 

 Choose a partition by typing the partition number OR moving the pointer

 with the UP/DOWN arrows.

 Then, choose one of the actions on the top line of the screen.

 

Drive : /dev/hd1                    Config:     1 Heads

Size  : 2 Mbytes                                1 Sectors/track

Loader: Unknown                              4096 Cylinders

                                              512 Block Size

 

                                    Last cylinder is 4095


4.更新# mount -e /dev/hd1(Enumerate the children of the special device. )


5.格式化:# dinit -h /dev/hd1t179

All existing files on /dev/hd1t179 will be lost!  Are you sure (y or n) ? y

Using loader /usr/qnx640/target/qnx6/x86/boot/sys/ipl-diskpc2

Disk '/dev/hd1t179' contains 4095 blocks (2047K).


6.mount文件系统 # mount /dev/hd1t179 /cf

  • 0
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值