From: M0E L. <m0...@gm...> - 2007-08-14 20:40:28
|
Well, if this is for the "auto-partition" mode, then I think we definitely need to know how much space we got to play with ;) That way, the installer can allocate the necessary space for the necessary partitions. On 8/14/07, uel archuletta <ue...@gm...> wrote: > you shouldnt need to know the unused space on a partition only the partit= ion > size. since we should format the partitions, shouldnt we? > > Uel > > On 8/14/07, Eug=E9ne Suter <ea...@gm...> wrote: > > > > Well, a little update on whats happening with the drive partitioning: > > I'm trying to get the installer to check for available space before > installing anything (since this was one of the flaws that the text instal= ler > has: it will crash and burn if space runs out). > > > > This is easy enough to accomplish for the full-auto partitioning mode, > since the installer creates the partitions, it knows how much space there= is > available. > > But for the "free-space mode" its a different story: the unused space > values have to be obtained some other way, and from reading parted's > documentation and asking on the #parted channel, libparted does not provi= de > any way to know the amount of unused space on an *unmounted* partition. > > > > One possible way would be to mount ALL the partitions found and parse d= f, > but thats a somewhat messy approach. > > The best would be to get the amount of unused space when the partitions > are still unmounted (so these values can be displayed to the user before > selecting a partition). > > > > I've opened a thread on the GParted forum about this > (http://gparted-forum.surf4.info/viewtopic.php?id=3D862 ), > since they have obviously found a way to do this. > > Any ideas on solving this problem some other way? > > > > Cheers, > > > > Eug=E9ne > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Vectorlinux-devel mailing list > > Vec...@li... > > > https://lists.sourceforge.net/lists/listinfo/vectorlinux-devel > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Vectorlinux-devel mailing list > Vec...@li... > https://lists.sourceforge.net/lists/listinfo/vectorlinux-devel > > |