raw file system - VxWorks

This is a discussion on raw file system - VxWorks ; I am looking for an example of how to use a raw file system. Especially, I am interested to know the sequence. I have tried from WindShell: pma=malloc(0x100000) new symbol "pma" added to symbol table. pma = 0x7e6f10: value = ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: raw file system

  1. raw file system

    I am looking for an example of how to use a raw file system.
    Especially, I am interested to know the sequence.

    I have tried from WindShell:

    pma=malloc(0x100000)
    new symbol "pma" added to symbol table.
    pma = 0x7e6f10: value = 109774696 = 0x68b0768
    -> pBlkDev =ramDevCreate(pma,512,1000,1000,0)
    new symbol "pBlkDev" added to symbol table.
    pBlkDev = 0x7e6f00: value = 110844024 = 0x69b5878
    -> raw_vol_desc=rawFsDevInit("RAW1:",pBlkDev)
    new symbol "raw_vol_desc" added to symbol table.
    raw_vol_desc = 0x7e6ee0: value =
    creat("RAW1:/xxx1",2)
    value = -1 = 0xffffffff


    What is wrong ?
    Thanks
    Martin Roth
    Motorola


  2. Re: raw file system

    raw FS is a raw disk filesystem so you cannot use a filename.
    the name passed should be a NULL.

    roth.martin@gmail.com wrote:
    > I am looking for an example of how to use a raw file system.
    > Especially, I am interested to know the sequence.
    >
    > I have tried from WindShell:
    >
    > pma=malloc(0x100000)
    > new symbol "pma" added to symbol table.
    > pma = 0x7e6f10: value = 109774696 = 0x68b0768
    > -> pBlkDev =ramDevCreate(pma,512,1000,1000,0)
    > new symbol "pBlkDev" added to symbol table.
    > pBlkDev = 0x7e6f00: value = 110844024 = 0x69b5878
    > -> raw_vol_desc=rawFsDevInit("RAW1:",pBlkDev)
    > new symbol "raw_vol_desc" added to symbol table.
    > raw_vol_desc = 0x7e6ee0: value =
    > creat("RAW1:/xxx1",2)
    > value = -1 = 0xffffffff
    >
    >
    > What is wrong ?
    > Thanks
    > Martin Roth
    > Motorola



+ Reply to Thread