From: <ea...@gm...> - 2007-09-04 23:29:05
|
Well, here is just an update on the installer's "progress": for about nearl= y 2 weeks I've been trying to use Gambas to call functions in libparted directly for access to a partition's filesystem name and to the free/unused space available. Parsing parted's (libparted's frontend) output on the command line is very slow, so thats basically set aside. It would be really cool to implement libparted's functions in the installer= , but so far I haven't been able to declare the functions in a way that they can be used in Gambas. Here is the thread that has been going on in the gambas-usel mailing list about this issue: http://www.nabble.com/Calling-library-functions-in-Gambas2-tf4295859.html Right now the most appealing approach other than direct use of libparted is the df command. So thats what I'll be using so that work on the installer can continue. But I'm posting this so that if anyone has any idea on how to declare the libparted functions in a usable manner in Gambas, then that can be implemented instead of parsing df... Cheers, Eug=E9ne |