This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#7913 - rbutil: mountpoint resolving using getmntinfo() on OS X
Attached to Project:
Rockbox
Opened by Dominik Riebeling (bluebrother) - Tuesday, 09 October 2007, 19:11 GMT+2
Last edited by Barry Wardell (barrywardell) - Saturday, 13 October 2007, 18:28 GMT+2
Opened by Dominik Riebeling (bluebrother) - Tuesday, 09 October 2007, 19:11 GMT+2
Last edited by Barry Wardell (barrywardell) - Saturday, 13 October 2007, 18:28 GMT+2
|
DetailsThis 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 ;-)
|
This task depends upon
Closed by Barry Wardell (barrywardell)
Saturday, 13 October 2007, 18:28 GMT+2
Reason for closing: Fixed
Additional comments about closing: Works great!
Saturday, 13 October 2007, 18:28 GMT+2
Reason for closing: Fixed
Additional comments about closing: Works great!
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'