VxWorks API Reference : OS Libraries

usrFd

NAME

usrFd - floppy disk initialization

ROUTINES

usrFdConfig( ) - mount a DOS file system from a floppy disk


OS Libraries : Routines

usrFdConfig( )

NAME

usrFdConfig( ) - mount a DOS file system from a floppy disk

SYNOPSIS

STATUS usrFdConfig
    (
    int    drive,             /* drive number of floppy disk (0 - 3) */
    int    type,              /* type of floppy disk */
    char * fileName           /* mount point */
    )

DESCRIPTION

This routine mounts a DOS file system from a floppy disk device.

The drive parameter is the drive number of the floppy disk; valid values are 0 to 3.

The type parameter specifies the type of diskette, which is described in the structure table fdTypes[] in sysLib.c. type is an index to the table. Currently the table contains two diskette types:

The fileName parameter is the mount point, e.g., /fd0/.

RETURNS

OK or ERROR.

SEE ALSO

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