VxWorks Reference Manual : Libraries

usrIde

NAME

usrIde - IDE initialization

ROUTINES

usrIdeConfig( ) - mount a DOS file system from an IDE hard disk


Libraries : Routines

usrIdeConfig( )

NAME

usrIdeConfig( ) - mount a DOS file system from an IDE hard disk

SYNOPSIS

STATUS usrIdeConfig
    (
    int    drive,   /* drive number of hard disk (0 or 1) */
    char * fileName /* mount point */
    )

DESCRIPTION

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/.

NOTE

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.

RETURNS

OK or ERROR.

SEE ALSO

usrIde, VxWorks Programmer's Guide: I/O System, Local File Systems, Intel i386/i486 Appendix