I am trying to create a VxWorks dos file system and don't seem to understand
how it works properly.
So far I have managed to do the following:
-> sysTffsFormat
value = 0 = 0x0
-> usrTffsConfig(0,0,"/tffs0")
value = 0 = 0x0
-> devs
drv name
0 /null
1 /tyCo/0
1 /tyCo/1
1 /tyCo/2
5 stonegate:
6 /vio
7 /tgtsvr
3 /tffs0
value = 0 = 0x0
-> dosFsConfigShow("/tffs0")
volume descriptor ptr (pVolDesc): 0xfffdca0
cache block I/O descriptor ptr (pCbio): 0xfffdd6c
auto disk check on mount: NOT ENABLED
max # of simultaneously open files: 22
file descriptors in use: 0
# of different files in use: 0
# of descriptors for deleted files: 0
# of obsolete descriptors: 0
current volume configuration:
- volume label: NO LABEL ; (in boot sector: )
- volume Id: 0x0
- total number of sectors: 60,716
- bytes per sector: 512
- # of sectors per cluster: 4
- # of reserved sectors: 1
- FAT entry size: FAT16
- # of sectors per FAT copy: 60
- # of FAT table copies: 2
- # of hidden sectors: 4
- first cluster is in sector # 136
- directory structure: VFAT
- root dir start sector: 121
- # of sectors per root: 15
- max # of entries in root: 240
FAT handler information:
------------------------
- allocation group size: 2 clusters
- free space on volume: 31,016,960 bytes
value = 0 = 0x0
But not quite sure how I can copy files into this system and how I can list
what files are stored, created on this directory.
All Help gratefully received,
Dave.
-----------------------------------------------------------
This Mail has been checked for Viruses
Attention: Encrypted Mails can NOT be checked !
***
Diese Mail wurde auf Viren ueberprueft
Hinweis: Verschluesselte Mails koennen NICHT geprueft werden!
------------------------------------------------------------
It looks like you've already got a valid DOS partition on your flash
so the worst is already over...
Here's some of the basic commands:
Change driectory
->cd "/tffs0"
List files in directory
-> ls or ll
Copy files (source, destination)
-> copy "thisfile","/tffs0/thisfile"
Pretty standard stuff
Don't forget the quotation marks