How can I determine if a file loaded with a sugar object chooser was selected from the datastore or from an external storage device?<div><br></div><div><font class="Apple-style-span" face="'courier new', monospace">dsobject = chooser.get_selected_object( )</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">logger.debug( "opening %s" % dsobject.file_path )</font></div><div><br></div><div>On an xo, opening a file from the usb results in something like:</div>
<div><br></div><div><span class="Apple-style-span" style="background-color: rgb(192, 192, 192);">opening /home/olpc/.sugar/default/data/rawobject ...</span></div><div><span class="Apple-style-span" style="background-color: rgb(192, 192, 192);"><br>
</span></div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 255);">... which is not too different from opening a file from the journal.  Is there some additional metadata to look at to determine where the file came from?</span></div>