如何在QNX系统中挂载U盘
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