VxWorks Reference Manual : Libraries
usrIde - IDE initialization
usrIdeConfig( ) - mount a DOS file system from an IDE hard disk
usrIdeConfig( ) - mount a DOS file system from an IDE hard disk
STATUS usrIdeConfig ( int drive, /* drive number of hard disk (0 or 1) */ char * fileName /* mount point */ )
This routine mounts a DOS file system from an IDE hard disk.
The drive parameter is the drive number of the hard disk; 0 is C: and 1 is D:.
The fileName parameter is the mount point, e.g., /ide0/.
Because VxWorks does not support partitioning, hard disks formatted and initialized on VxWorks are not compatible with DOS machines. This routine does not refuse to mount a hard disk that was initialized on VxWorks. The hard disk is assumed to have only one partition with a partition record in sector 0.
OK or ERROR.
usrIde, VxWorks Programmer's Guide: I/O System, Local File Systems, Intel i386/i486 Appendix