startup question

Mikus Grinbergs mikus at bga.com
Tue Feb 12 19:31:48 EST 2008


>>> http://dev.laptop.org/git?p=journal-activity;a=blob;f=volumesmanager.py
> 
>> adding
>>
>> if os.path.exists(device.GetProperty('volume.mount_point') + '.do_not_scan'):
>>     return False
>>
>> to that method and putting a file named .do_not_scan in the devices
>> top level directory should prevent it from scanning it.
> 
> Thank you.  I did the above, and it worked.

I see now that not only did this remove the SD card icon from the 
Journal view, it also removed the 'mount' itself (of the SD card). 
Not a big deal - I can issue the 'mount' myself.

mikus




More information about the Devel mailing list