> > > Could you create a daemon that attaches to a usb gadget driver? The daemon > in > > > user space would be able to access whichever file system you want? > > > > I could try that, but I did not want to touch g_file_storage. > > Instead I wanted to write my own block device driver which is used by > g_file_storage in turn. > > So the daemon would be connected to my driver then .. I don't know, that > sounds complicated. > > USB storage is one of the most complex devices out there. I would not > recommend using it for a beginning project, it's quite messy. > > Pick something "simple" like nfs :) > > good luck, > > greg k-h > I take the hint, that the nfs code is very easy to comprehend for someone without any background in it ^^ Anyway, I decided to go with the dirty approach and try to read the file system from the kernel. If I ever get it working ther eI look into a clean solution Dan -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ