Manipulating DosFS volumes under Windows or Linux?

VxWorks

    Sponsored Links

    Next

  • 1. Running RTP module
    Hi all, I am ryinh to run small HelloWorld.vxe , on Vxworks 6.5. I have configured kernel with RTP support package has mention in document. But while running i am getting following message Launching Process "HelloWorld.vxe" rtp exec : the process 'HelloWorld.vxe' ends abnormally plz suggest with regards sharath
  • 2. Memory overflow problems
    Hi Folks, On target systems which doesn't support MMU, no memory protection is provided which leads to nasty bugs if there is a buffer overflow or stack overflow. There is no exception like segmentation fault etc. on Linux ruuning on MMU target. With a core dump we can trace the chain of calls leading to the actual problem. How does one go about debugging such problems in VxWorks bcos the problem is at one place and the crash happens elsewhere ! Appreciate your help. Thanks, syuga
  • 3. Reset TCPIP stack
    Is there any way to restart VxWorks TCPIP stack? Our VxWorks device hung couple times under load and it happened while this system was under heavy TCPIP load (we check mbufs statistics periodically). We want to provide a workaround - restart the IP stack (if possible) every time we see this symptom (the system is running out of mbufs). It doesn't happen too often, so such a workaround will be acceptable. Thanks in advance.
  • 4. shared memory between RTP app and Kernel Module
    I am using vxworks 6.5, for PPC board. I want to use shared memory between kernel module app and RTP app. I am not able to use "shm_open" etc(POSIX calls) in kernel module. How can i use it?
  • 5. Symbolic links in vxWorks
    Hi All, Could you please tell me how to create symbolic links in vxWorks? ln - s (unix command for creating symbolic link) is not supported in vxWorks. I tried to use symlink() , that also didnt work. Thanks in advance Anil

Manipulating DosFS volumes under Windows or Linux?

Postby k8jlf » Tue, 08 Aug 2006 02:33:12 GMT

Does anybody know of a tool for windows that will let me work with
DosFS filesystems (ie: add and remove files, format a flash card with
DosFS, etc?

Failing that, if there's something for mounting one under linux, I
could deal with that as well.

I understand DosFS is close in some ways to a DOS filesystem (naming
conventions and whatnot), But it's obviously different in other ways,
since when I stick the CF card containing the filesystem in a windows
PC, it sees files on it, but the names are garbage and the sizes are
incorrect.

Any ideas?

Thanks in advance.


Re: Manipulating DosFS volumes under Windows or Linux?

Postby Bill Pringlemeir » Tue, 08 Aug 2006 04:41:11 GMT





It depends on how you have formatted the CF card.  If it is formatted
with 8.3 format, it would be fine.  Only the VX_LONG_NAME (don't have
docs, hope you grok) would make it incompatible to be read on a PC.

If you are an end user, you may not have an option.  If you are
developing on vxWorks/DosFs and this criteria is important, then don't
format with VX_LONG_NAME.  Most likely if you are an end user, you
could format the card on Dos/Windows and then use it with vxWorks.  I
doubt the device would reformat it (but anything can happen).

Also Leonid (the developer of DosFs) has suggested that it is much
more realiable to use the 8.3 naming convention.  With regular DOS,
there is an allocation table, a directory table and file data.  Using
an extended naming scheme adds a fourth element.  There were
synchronization/reliablity issues when using extended names.  I did
some extensive testing with random resets and the 8.3 was much more
reliable.  I did get failures that were related to TFFS ( < .5 %), but
you are using CF...

fwiw,
Bill Pringlemeir.

-- 
Windows programmer - every problem solved with a switch statement.
 
vxWorks FAQ, " http://www.**--****.com/ ~borkhuis/vxworks/vxworks.html"

Similar Threads:

1.Linux based VXEXT1.0 dosFS implementation.

2.[News] Windows Zombies Manipulate Stock Value

3.[News] European Stock Market Manipulated Using Windows Zombie Spewage

4.dosfs cp weirdness

Under unixware 714 MP4 I have a usb mounted dosfs drive (/mnt/lacie/).
When I cp or mv files with more than one extension it appears to copy 2
copies of the file, one with the original name of the file and one with
a dos 8.3 name invented by the system.  I thought at first it was just
2 names pointing to the same data but they can independently deleted.
It gets weirder - notice the timestamp on the 8.3 file after the second
copy.  The file name changes but the timestamp doesn't!

# ls /mnt/lacie/LMT
# cp 00000013.tar.Z* /mnt/lacie/LMT
# ls /mnt/lacie/LMT
00000013.tar.Zaa  000000~1.ZAA
# touch x.y.z.p
# mv -f x.y.z.p /mnt/lacie/LMT
# ls /mnt/lacie/LMT
00000013.tar.Zaa  000000~1.ZAA      XYZ~1.P           x.y.z.p
# rm /mnt/lacie/LMT/000000~1.ZAA               
# ls /mnt/lacie/LMT                            
00000013.tar.Zaa  XYZ~1.P           x.y.z.p
# ls -l  /mnt/lacie/LMT
total 566
-rwxrwxrwx    1 root     root        9272296 Dec 21 11:23
00000013.tar.Zaa
-rwxrwxrwx    1 root     root              0 Dec 21 11:25 XYZ~1.P
-rwxrwxrwx    1 root     root              0 Dec 21 11:24 x.y.z.p
# touch x.y.z.p
# mv -f x.y.z.p /mnt/lacie/LMT
# ls -l  /mnt/lacie/LMT
total 566
-rwxrwxrwx    1 root     root        9272296 Dec 21 11:23
00000013.tar.Zaa
-rwxrwxrwx    1 root     root              0 Dec 21 11:25 XYZ~2.P
-rwxrwxrwx    1 root     root              0 Dec 21 14:12 x.y.z.p
#   


Anybody know a solution to this or is it a bug? Otherwise the script
I'm working on will need a mecahnism for deleting such entries.
-- 

David Fosdike
IT Consultant
Adelaide, Australia.

david.fosdike at the google mail service (you know the one!)

5.File Snapshots like Volume shadow copy in Windows 2003

Ok, I'm driving for our internal IT group to get a server and install Red 
Hat on it for File Serving, but the oppositions key selling point for them 
and Windows 2003 is the Volume Shadow Copy feature (enables live backup of 
open files - among the benefits).  Is there a similar feature in Red Hat? 


6. [News] Bill Gates Manipulates Politicians to Suppress Linux Adoption

7. Valid Product Keys for Windows XP SP2 Professional Volume License Edition

8. Valid Product Keys for Windows XP SP2 Professional Volume License Edition



Return to VxWorks

 

Who is online

Users browsing this forum: No registered users and 81 guest