Re: C2N232 + cbmlink on a PET 3032 with Basic 2/4

From: Marko Mäkelä <msmakela_at_gmail.com>
Date: Tue, 16 Oct 2012 00:15:34 +0300
Message-ID: <20121015211534.GC4471@x220>
On Mon, Oct 15, 2012 at 10:10:14PM +0200, Ingo Korb wrote:
>USB storage is problematic because it just exports a block-level view 
>of the card to the host - you'd potentially have two devices accessing 
>the same file system at the same time which is a really nice way to 
>corrupt said file system.

Right, the USB-storage access would have to lock the file system from 
the rest of the system.

>MTP exports a "file-level" view of the medium, so all card accesses 
>would be routed through just a single FAT implementation on the device.

FAT or whatever file system is used on the medium, right?

The downside of MTP seems to be poor compatibility with free operating 
systems. It is a bit ironic that I have not managed to get a MTP 
connection from my GNU/Linux computer to my Android/Linux phone.

>Or you could turn everything around and implement a file-serving 
>application for the PC that allows the device to access a directory on 
>the PC.

Right, but which USB profile would that fit? Or how would it work 
without writing a USB device driver? Wouldn't it also nicely turn around 
the roles of USB host and USB device? :-)

	Marko

       Message was sent through the cbm-hackers mailing list
Received on 2012-10-15 22:00:05

Archive generated by hypermail 2.2.0.