On Wed, Aug 19, 2009 at 11:43, Sascha Silbe<sascha-ml-ui-sugar-de...@silbe.org> wrote: > On Wed, Aug 19, 2009 at 08:41:28AM +0200, Tomeu Vizoso wrote: > >> The public API is the POSIX one, though I don't know how this will be >> affected by future versions of Rainbow. > > I can't find anything regarding mount points in POSIX 2001. How do you > expect Jims activity to discover them? > Two ways come to my mind: > a) parse /proc/mounts periodically > Linux-only, time-wasting but future-proof > > b) use what the Journal is using internally, i.e. the Gnome way of the day > cross-platform (as much as Gnome/Sugar are), event-driven, but likely to > break on next release > > Just as a reminder: The intended workflow for Jims activity seems to be: > 1. Start activity > 2. Plug in USB stick with photos > 3. Select and/or manage(?) photo from within the activity > > Answering "use POSIX" is like "use a computer", it doesn't help getting the > job done. If the answer is "we want the user to copy the photos to the data > store first", that doesn't get the job done either, but it's a policy and > can be catered for (i.e. documented).
I agree that my answer wasn't nor complete nor accurate, thanks for following up. Regards, Tomeu > CU Sascha > > -- > http://sascha.silbe.org/ > http://www.infra-silbe.de/ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iQEcBAEBAgAGBQJKi8kiAAoJELpz82VMF3Da9+kH/iA64CVf2gkml2dmLezzWdPt > HwDhOjpqh+eAs06i+we8UlqwRAgoEmqBMQ7eC16eqm4UrWhSKo6OeX0Rk1RdW8/o > Lf1a7HsHpCjxWhudDOtxMcGUeLtb4ahGZR+0mYNiXG5I6DhJh6Diq+UAbGqRXZy7 > mo80yjbFDf6NTW2J7qI6mTvhNJl1pEOEpx+FF30Dg5BpUZ+b5ES03nL2WhDK4LUV > O6FTEPFfsXSLvYFUTG2TA7Ggjz43RxeAnp2Vuc2Pu6YbNX21iT5OT+12hAWzyMDx > QWqOSjEedKZZvT6bhXOWsBGPuff/XmOz83KESR4JsLXQp208BI+3zFBEmxBoYDQ= > =Yl9z > -----END PGP SIGNATURE----- > > -- «Sugar Labs is anyone who participates in improving and using Sugar. What Sugar Labs does is determined by the participants.» - David Farning _______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel