I've been looking through Cosmos for a large majority of the day and I'm loving what I'm seeing so far. From other discussions it seems that File IO is relatively new and mostly reading without any writing (at least FAT seems to be that way).
I've gotten as far as
this discussion has in that I can read the files in the root. Specifically, I can see their existence, their size, and (if they're a file) the content of the file itself. The SubDir directory, though, I have no clue how to access. Is it supported and
if so, how can I get started at browsing sub folders?
Also, in my wandering through the FAT File Systems, I eventually settled to this code to open what I assume to be the mounted HD for the image:
List<BlockDevice> devices = BlockDevice.Devices;
FatFileSystem fat = new FatFileSystem(devices);
The list devices only has 2 elements when I run it, but if I use devices an error is thrown saying "Invalid data size". My assumption is that at index 0, I'm trying to reference the mounted ISO image that's for the OS to boot and that's not
supported. I'm not 100% about this and appreciate any insight anybody might have as to what these 2 devices truly are. I'll be the first to say I'm taking shots in the dark for the safe of educating myself.
VS 2010 Professional, MS 5 User Kit