Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Patches
  • Category Rbutil
  • Assigned To
    bluebrother
  • Operating System Another
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by bluebrother - 2007-10-09
Last edited by barrywardell - 2007-10-13

FS#7913 - rbutil: mountpoint resolving using getmntinfo() on OS X

This is my first try to get mountpoint resolving on OS X running using getmntinfo(). As I can’t test it myself I’m posting it as patch in the hope for someone else to test it ;-)

Closed by  barrywardell
2007-10-13 16:28
Reason for closing:  Fixed
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

Works great!

I just tried this on my Intel mac and get these warnings:

autodetection.cpp: In member function ‘QStringList Autodetection::getMountpoints()’:
autodetection.cpp:178: error: ‘MNT_WAIT’ was not declared in this scope
autodetection.cpp:178: error: ‘getmntinfo’ was not declared in this scope
autodetection.cpp:180: error: invalid use of undefined type ‘struct statfs’ autodetection.cpp:176: error: forward declaration of ‘struct statfs’ autodetection.cpp:181: error: cannot increment a pointer to incomplete type ‘statfs’ autodetection.cpp: In member function ‘QString Autodetection::resolveMountPoint(QString)’:
autodetection.cpp:225: error: ‘MNT_WAIT’ was not declared in this scope
autodetection.cpp:225: error: ‘getmntinfo’ was not declared in this scope
autodetection.cpp:227: error: invalid use of undefined type ‘struct statfs’ autodetection.cpp:223: error: forward declaration of ‘struct statfs’ autodetection.cpp:228: error: invalid use of undefined type ‘struct statfs’ autodetection.cpp:223: error: forward declaration of ‘struct statfs’ autodetection.cpp:229: error: invalid use of undefined type ‘struct statfs’ autodetection.cpp:223: error: forward declaration of ‘struct statfs’ autodetection.cpp:230: error: cannot increment a pointer to incomplete type ‘statfs’

added the includes I forgot and fixed typos.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing