log in | register | forums
Show:
Go:
Forums
Username:

Password:

User accounts
Register new account
Forgot password
Forum stats
List of members
Search the forums

Advanced search
Recent discussions
- R-Comp releases Genealogy v2 (News:)
- Will we see 5.30 released at Wakefield show? (News:1)
- Sine Nomine updates RiscOSM and Impact (News:)
- Netfetch version 5.55 released (News:)
- Prizes for Wakefield Show announced (News:)
- Heretic update from R-Comp (News:)
- Wakefield Show 2024 is next Saturday (News:)
- Git client updated to 0.07 (News:2)
- Archive Edition 27:1 reviewed (News:)
- Rougol April 2024 meeting on monday is Anniversary time (News:1)
Latest postings RSS Feeds
RSS 2.0 | 1.0 | 0.9
Atom 0.3
Misc RDF | CDF
 
View on Mastodon
@www.iconbar.com@rss-parrot.net
Site Search
 
Article archives
Acorn Arcade forums: Programming: FAT32 library
 
  FAT32 library
  jeff-doggett (12:49 2/11/2007)
  nunfetishist (15:24 2/11/2007)
    Phlamethrower (15:40 2/11/2007)
      nunfetishist (15:43 2/11/2007)
        epistaxsis (19:33 2/11/2007)
    jeff-doggett (00:00 3/11/2007)
      jeff-doggett (08:01 17/11/2008)
        druck (09:32 17/11/2008)
 
Jeff Doggett Message #105095, posted by jeff-doggett at 12:49, 2/11/2007
Member
Posts: 21
There's still no decent FAT32 implementation on the Iyonix for USB drives > 2GB. A quick google for FAT32 libraries has the very first result listed here: http://www.robs-projects.com/filelib.html
At first sight, this appears to be a very plausible library to build into a filecore module - ie filecore frontend and usb backend.
Anyone up for the challenge????!!!
  ^[ Log in to reply ]
 
Rob Kendrick Message #105098, posted by nunfetishist at 15:24, 2/11/2007, in reply to message #105095
nunfetishist
Today's phish is trout a la creme.

Posts: 522
One of us is confused. FileCore *is* a file system, like FAT32. And the only file system it speaks is its own.

The 2GB limit happens because DOSFS is an image file system, and as such it expects to work on files, not block devices. This means that its API can't cope with large files.

Somebody could possibly write an entirely new file system module that interfaced directly to FileSwitch that used this library and spoke to the USB stack, but FileCore would be in no way involved.
  ^[ Log in to reply ]
 
Jeffrey Lee Message #105099, posted by Phlamethrower at 15:40, 2/11/2007, in reply to message #105098
PhlamethrowerHot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff

Posts: 15100
I think a few months ago someone on the Iyonix list released some work-in-progress drivers for reading FAT32 USB devices. But I can't remember who it was, what it was called, or what progress has been made. If I can remember, I'll have a hunt through my emails at home and try and find out more about it.
  ^[ Log in to reply ]
 
Rob Kendrick Message #105100, posted by nunfetishist at 15:43, 2/11/2007, in reply to message #105099
nunfetishist
Today's phish is trout a la creme.

Posts: 522
I think Dave Higton did some work - but it was a bit of a hack, in BASIC, and could cause the OS to explode if you weren't careful.

I don't know if it was just a proof-of-concept, or something he was going to develop further.

Of course, the same issue exists using Simtec's stack, and it should be reasonably easy to make such a file system agnostic of stack by making it use the block driver's SWIs for reading and writing blocks: on the Iyonix, it'd work through SCSIFS, and with Simtec USB it'd use MassFS.
  ^[ Log in to reply ]
 
keith dunlop Message #105104, posted by epistaxsis at 19:33, 2/11/2007, in reply to message #105100
epistaxsis

Posts: 159
yeah it was called ROFS.

But now the source is out I am expecting him to sort the problem out - and told him so at RISC OS SE :-p
  ^[ Log in to reply ]
 
Jeff Doggett Message #105109, posted by jeff-doggett at 00:00, 3/11/2007, in reply to message #105098
Member
Posts: 21
Yes, of course I meant FileSwitch - realised shortly after hitting submit! Basically it needs a front end that recognises the disc geometry and fills in the FileSwitch API. And a backend that reads the sectors from the disc.
  ^[ Log in to reply ]
 
Jeff Doggett Message #108788, posted by jeff-doggett at 08:01, 17/11/2008, in reply to message #105109
Member
Posts: 21
Right, I've had a crack at writing a module using the efsl embedded library from here http://www.efsl.be/

You can get the module from here:
http://jeffd.drobe.co.uk/

There's no wimp front end or anything user friendly.
  ^[ Log in to reply ]
 
David J. Ruck Message #108790, posted by druck at 09:32, 17/11/2008, in reply to message #108788
Member
Posts: 9
Just as I bought 3 2GB micro SD cards instead of a couple of larger SDHC ones! I'll have to try that out tonight.

One thing I did notice using the Iyonix and both DOSFS and Win95FS at the weekend was the time it took to transfer 9000 files totalling 900MB to the SD card using a USB2 card reader. It seemed writing the FAT and directory was the main overhead, only copying one file every 2 seconds regardless of the size, and taking over 4 hours!

For the second card, I shared the Iyonix's directory over NFS using Moonfish, mounted the EEE PC on to it over the wireless network, and put the card its built in slot. It did the entire copy in under 20 minutes, including one dialog on an illegal file name which I probably took a few minutes to spot.

I've got some more files to copy on to the last SD card tonight, so it will be interesting to see the speed of Fat32FS
  ^[ Log in to reply ]
 

Acorn Arcade forums: Programming: FAT32 library