
Disk Manager
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
The Disk Manager is a visual partitioning utility, written on top of GNU parted, that can create, format, resize/move, copy or delete partitions, with 13 known filesystems.
The application interface is in the style of QtParted or GParted, but, is very modular, and, as part of DARKSTAR's ALICE (Advanced Linux Installation and Configuration Environment), is used by the installer for partitioning objectives.
It is capable, of running from a console, even though it is written entirely in KDE/Qt.
It requires OpenSuSE's hwinfo, parted and HAL/DBus support, and is part of the DARKSTAR Linux Project.
NOTE: The development of the Disk Manager is sponsored by the easys GNU/Linux, http://easys.gnulinux.de.
Musikolo
13 years ago
make[3]: Entering directory `/usr/src/yoper/BUILD/diskman-0.9.7/src/hwprobe'
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/alicecore -I../../src/hwprobe -I/usr/lib/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O3 -march=i686 -mtune=i686 -m32 -fomit-frame-pointer -maccumulate-outgoing-args -pipe -fPIC -fvisibility-inlines-hidden -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fexceptions -MT hwparse.lo -MD -MP -MF ".deps/hwparse.Tpo" -c -o hwparse.lo hwparse.cpp; \
then mv -f ".deps/hwparse.Tpo" ".deps/hwparse.Plo"; else rm -f ".deps/hwparse.Tpo"; exit 1; fi
hwparse.cpp: In member function 'QMap<QString, QVariant> HwProbePrivate::hd2map(hd_t*)':
hwparse.cpp:930: error: 'struct s_hd_t::is_s' has no member named 'hotpluggable'
hwparse.cpp:1988: error: 'struct monitor_info_t' has no member named 'width'
hwparse.cpp:1989: error: 'struct monitor_info_t' has no member named 'height'
hwparse.cpp:1990: error: 'struct monitor_info_t' has no member named 'width_mm'
hwparse.cpp:1991: error: 'struct monitor_info_t' has no member named 'height_mm'
hwparse.cpp:2086: error: 'struct s_hd_t' has no member named 'udi'
hwparse.cpp: At global scope:
hwparse.cpp:2332: warning: unused parameter 're_probe'
make[3]: *** [hwparse.lo] Error 1
make[3]: Leaving directory `/usr/src/yoper/BUILD/diskman-0.9.7/src/hwprobe'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/yoper/BUILD/diskman-0.9.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/yoper/BUILD/diskman-0.9.7'
make: *** [all] Error 2
mach@Yoper ~/BUILD/diskman-0.9.7 $
Before reaching the above point I've had to run many commands like the following ones:
/usr/lib/qt-3.3/bin/moc src/alicecore/lblockingprocess.h -o src/alicecore/lblockingprocess.moc
/usr/lib/qt-3.3/bin/moc src/alicecore/loperationobserver.h -o src/alicecore/loperationobserver.moc
...etc.
Questions:
1.- Why do I have to run 'moc' manually a lot of times to keep on building the application?
2.- Apart from the previous question, why do I get the error shown at the beginning? How could I fix it?
Help really appreciated!
Musikolo
Report
psychicist
13 years ago
Report
amigib
13 years ago
hope it works good enough for Slackers, but cant enable additional languages, any idea?
Report
amigib
13 years ago
http://www.amigib.nazwa.pl/linuks_en.php#DISKMAN
www in english...
Report
Left
13 years ago
In file included from hwparse.cpp:39:
hwprobe_p.h:40:26: error: hd.h: No such file or directory
Where to find hd.h? :-\
Report
darkstarlinuxro
13 years ago
Install this package...
Report
dovidhalevi
13 years ago
/usr/bin/ld: cannot find -lext2fs
collect2: ld returned 1 exit status
. . .
I tried adding library directory /lib to the configure since ext2fs.so is there but did not help.
I was first missing hd.h but installed the -dev package needed to get that.
Report
darkstarlinuxro
13 years ago
Report
trisz
13 years ago
(Compilation error!)
Report
darkstarlinuxro
13 years ago
The Parted ( the console app ;-) ) properly work in your system?
Report
trisz
13 years ago
The ext2fs is missing.
Debian unstable:
http://packages.debian.org/sid/hurd
Debian stable:
http://packages.debian.org/sid/genext2fs
There is not any other file resembles to ext2fs.
Which one is the right?
Report
CrazyFluger
13 years ago
make[3]: Entering directory `/home/crazyfluger/builds/diskman/diskman-0.9.7/src/alicecore'
/usr/share/qt3/bin/moc ./lblockingprocess.h -o lblockingprocess.moc
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/alicecore -I/usr/include/kde -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fexceptions -MT lblockingprocess.lo -MD -MP -MF ".deps/lblockingprocess.Tpo" -c -o lblockingprocess.lo lblockingprocess.cpp; \
then mv -f ".deps/lblockingprocess.Tpo" ".deps/lblockingprocess.Plo"; else rm -f ".deps/lblockingprocess.Tpo"; exit 1; fi
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/alicecore -I/usr/include/kde -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fexceptions -MT lcdrom.lo -MD -MP -MF ".deps/lcdrom.Tpo" -c -o lcdrom.lo lcdrom.cpp; \
then mv -f ".deps/lcdrom.Tpo" ".deps/lcdrom.Plo"; else rm -f ".deps/lcdrom.Tpo"; exit 1; fi
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/alicecore -I/usr/include/kde -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fexceptions -MT lconfigfile.lo -MD -MP -MF ".deps/lconfigfile.Tpo" -c -o lconfigfile.lo lconfigfile.cpp; \
then mv -f ".deps/lconfigfile.Tpo" ".deps/lconfigfile.Plo"; else rm -f ".deps/lconfigfile.Tpo"; exit 1; fi
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/alicecore -I/usr/include/kde -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fexceptions -MT lgetoptions.lo -MD -MP -MF ".deps/lgetoptions.Tpo" -c -o lgetoptions.lo lgetoptions.cpp; \
then mv -f ".deps/lgetoptions.Tpo" ".deps/lgetoptions.Plo"; else rm -f ".deps/lgetoptions.Tpo"; exit 1; fi
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/alicecore -I/usr/include/kde -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fexceptions -MT liconloader.lo -MD -MP -MF ".deps/liconloader.Tpo" -c -o liconloader.lo liconloader.cpp; \
then mv -f ".deps/liconloader.Tpo" ".deps/liconloader.Plo"; else rm -f ".deps/liconloader.Tpo"; exit 1; fi
In file included from liconloader.cpp:24:
liconloader.h:25:19: error: qlist.h: No such file or directory
make[3]: *** [liconloader.lo] Error 1
make[3]: Leaving directory `/home/crazyfluger/builds/diskman/diskman-0.9.7/src/alicecore'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/crazyfluger/builds/diskman/diskman-0.9.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/crazyfluger/builds/diskman/diskman-0.9.7'
make: *** [all] Error 2
Report
darkstarlinuxro
13 years ago
You can read the X.org Setup comments, from http://kde-apps.org/content/show.php/X.org+Setup?content=56982 , to instruct for building this ALICE application under Debian, because the both utilities share a common code base.
Report
prizident
13 years ago
error: g_spawn_command_line_sync: Failed to execute child process "/usr/sbin/diskman.bin" (No such file or directory)
home diskman-0.9.7 # /usr/kde/3.5/sbin/diskman.bin
biaries got installed at wrong locations for me. my system is gentoo
Report
darkstarlinuxro
13 years ago
./configure --prefix=/usr
Report
vip
13 years ago
there's problem when compiling with threaded build; e.g. using make -j4:
if /bin/sh ../../../../libtool --silent --tag=CXX --mode=compile i686-pld-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/alicecore -I/usr/include/qt -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -fno-strict-aliasing -fwrapv -march=i686 -mtune=pentium4 -gdwarf-2 -g2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fexceptions -MT common.lo -MD -MP -MF ".deps/common.Tpo" -c -o common.lo common.cpp; \
then mv -f ".deps/common.Tpo" ".deps/common.Plo"; else rm -f ".deps/common.Tpo"; exit 1; fi
if i686-pld-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/alicecore -I/usr/include/qt -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -fno-strict-aliasing -fwrapv -march=i686 -mtune=pentium4 -gdwarf-2 -g2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fexceptions -MT monitors2xml.o -MD -MP -MF ".deps/monitors2xml.Tpo" -c -o monitors2xml.o monitors2xml.cpp; \
then mv -f ".deps/monitors2xml.Tpo" ".deps/monitors2xml.Po"; else rm -f ".deps/monitors2xml.Tpo"; exit 1; fi
make[5]: *** No rule to make target `../../../../src/hwdata/data/convert/libconvert.la', needed by `monitors2xml'. Stop.
make[5]: *** Waiting for unfinished jobs....
monitors2xml.cpp:92: warning: unused parameter 'argc'
monitors2xml.cpp:92: warning: unused parameter 'argv'
make[5]: Leaving directory `/home/users/vip/rpm/BUILD/diskman-0.9.7/src/hwdata/data/convert'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/users/vip/rpm/BUILD/diskman-0.9.7/src/hwdata/data'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/users/vip/rpm/BUILD/diskman-0.9.7/src/hwdata'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/users/vip/rpm/BUILD/diskman-0.9.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/users/vip/rpm/BUILD/diskman-0.9.7'
make: *** [all] Error 2
błąd: Błędny status wyjścia z /tmp/rpm-tmp.32861 (%build)
BTW, there's some inconsistency. Why can't You name the package directory and output binary as "diskmanager"?
Regards,
vip
Report
darkstarlinuxro
13 years ago
And, of course, the source structure respect the original (ALICE) source structure on some parts, because the source tree use a pure SVN "bindings" (aka "externals") of really ALICE source tree...
Report
psilocybe
13 years ago
both of these are very nice utils.
Disk Manager will replace gparted as my disk partitioning software. the x.org setup will be nice for new linux converts.
Report