On Mon, Jun 16, 2008 at 5:08 PM, Michael Stone <[EMAIL PROTECTED]> wrote:
> On Mon, Jun 16, 2008 at 01:46:32PM -0400, [EMAIL PROTECTED] wrote:
>> From: Martin Langhoff <[EMAIL PROTECTED]>
>> +# make the lock dir if needed
>> +if [ ! -d ~/.sugar/default/lock ]
>> +then
>> +    mkdir ~/.sugar/default/lock
>> +fi
>
> Why not use /var/lock like everybody else? We can add appropriate users
> to the lock group if needed. (Or however Fedora does these things.) Are
> we better off making ~/.sugar/default contain our complete parallel
> FHS?

I suggested /var/lock too, but I'm following Tomeu's hints here
http://lists.laptop.org/pipermail/devel/2008-May/014440.html

>> +# Clean up the lock - if we can ;-)
>> +rm $LOCKFILE 2>/dev/null
>
> Why bother to add more writes to JFFS2? Presumably we'll be reusing the
> same file in a few minutes.

good point.

Had a chance to peruse  Tomeu's patch?




m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
_______________________________________________
Server-devel mailing list
[email protected]
http://lists.laptop.org/listinfo/server-devel

Reply via email to