[Contents] [Index] [Help] [Retrace] [browse <] [Browse >]


NAME
    AddDosNode -- mount a disk to the system

SYNOPSIS
    ok = AddDosNode( bootPri, flags, deviceNode )
    D0               D0       D1     A0

    BOOL AddDosNode( BYTE,ULONG,struct devicenode *);

FUNCTION
    This is the old (pre V36) function that works just like
    addbootnode().  it should only be used if you *must* work
    in a 1.3 system and you don't need to autoboot.

RESULTS
    ok - non-zero everything went ok, zero if we ran out of memory
        or some other weirdness happened.

EXAMPLE
    /* enter a bootable disk into the system.  Start a file handler
    ** process immediately.
    */
    if(  AddDosNode( 0, ADNF_STARTPROC, MakeDosNode( paramPacket ) )  )
            ...AddDosNode ok...

BUGS
    Before V36 Kickstart, no function existed to add BOOTnodes.
    If an older expansion.library is in use, driver code will need
    to manually construct a bootnode and enqueue() it to eb_mountlist.
    If you have a V36 or better expansion.library, your code should
    use addbootnode().

SEE ALSO
    makedosnode, addbootnode