LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Mobile (http://www.linuxquestions.org/questions/linux-mobile-81/)
-   -   How is File Listing of SD Card done when connected in UMS mode? (http://www.linuxquestions.org/questions/linux-mobile-81/how-is-file-listing-of-sd-card-done-when-connected-in-ums-mode-4175424739/)

sanrio alvares 08-30-2012 04:43 AM

How is File Listing of SD Card done when connected in UMS mode?
 
I would like to know who does the file listing of the SD card when it is connected to a PC through a mobile phone in USB Mass Storage Mode. Also how is this done?

aus9 08-31-2012 06:39 PM

not sure what you mean by your first question...unless you mean what software?

udev for modern distros....check your udev rules.

I don't use ubuntu but there should be at least 2 places to look. If you are struggling (or need an exam answer) google linux find command

theNbomr 09-02-2012 03:20 PM

The USB Mass Storage Mode mounts the filesystem, and then any software with suitable permissions on the PC can access it. In that respect it is no different from any other filesystem mount. The phone exports the SD as a block device, much like a SD flash reader device would. At least that's how my phone does it. The phone does not have to do anything that interacts directly with userspace code on the PC. It interacts solely with the kernel driver, if the PC is running Linux.
--- rod.


All times are GMT -5. The time now is 05:14 PM.