#11741 NORM Future : Audacity warns about available scratch space to work with

Zarro Boogs per Child bugtracker at laptop.org
Wed Mar 28 17:07:57 EDT 2012


#11741: Audacity warns about available scratch space to work with
-------------------------------------+--------------------------------------
           Reporter:  greenfeld      |       Owner:  martin.langhoff                  
               Type:  defect         |      Status:  new                              
           Priority:  normal         |   Milestone:  Future Release                   
          Component:  gnome-desktop  |     Version:  Development build as of this date
         Resolution:                 |    Keywords:                                   
        Next_action:  design         |    Verified:  0                                
Deployment_affected:                 |   Blockedby:                                   
           Blocking:                 |  
-------------------------------------+--------------------------------------
Changes (by Quozl):

  * next_action:  diagnose => design
  * version:  not specified => Development build as of this date


Comment:

 The code in audacity:src/DirManager.cpp looks a little like this:

 {{{
    wxLongLong freeSpace = 0;
    if (wxGetDiskSpace(globaltemp, NULL, &freeSpace)) {
       if (freeSpace < wxLongLong(wxLL(100 * 1048576))) {
          ShowWarningDialog(NULL, wxT("DiskSpaceWarning"),
                            _("There is very little free disk space left on
 this volume.\nPlease select another temporary directory in
 Preferences."));
       }
    }
 }}}

 This shows 100MB is required.  /tmp has roughly 50MB on our builds, set by
 /etc/fstab which is probably set by olpc-os-
 builder:modules/base/kspost.10.core.inc .  Temporarily increasing the
 allocation for /tmp removes the warning:

 {{{
 mount -o remount,size=128M /tmp
 }}}

 This can be considered a workaround.

 The warning is useful, so I don't think it should be suppressed.

 I do not recommend moving the working area to eMMC or microSD without
 complete testing of recording throughput.

-- 
Ticket URL: <http://dev.laptop.org/ticket/11741#comment:2>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list