Volker Lanz
a6715ebebe
increase version
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1133462
2010-06-01 19:21:50 +00:00
Volker Lanz
b47363f3a2
remove some actions from default toolbars to make them more usable
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1133421
2010-06-01 17:52:53 +00:00
Volker Lanz
bd3a3db8b9
make sure the max value of first and last sector isn't set wrong
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1132901
2010-05-31 17:12:18 +00:00
Volker Lanz
07d3bcb15c
add minimum capacity for btrfs
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1132764
2010-05-31 11:06:20 +00:00
Volker Lanz
e66fa24e52
don't allow editing mount points for mounted partitions
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1130885
2010-05-26 17:33:39 +00:00
Volker Lanz
b7dfc67ca9
resolve symlinks when reading device nodes from fstab
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1130866
2010-05-26 16:52:20 +00:00
Volker Lanz
88494c8607
copy the old partition table pointer from the current op to the pushed op if
...
we're merging two ops to create partition tables on the same device
add doxygen comments for new merge method
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129889
2010-05-24 04:00:54 +00:00
Volker Lanz
ed05e673e0
rename method and make description property non const; it might change, after
...
all, during the lifetime of the object if some other operation is merged with
this operation (generally speaking, not necessarily true for copyops)
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129885
2010-05-24 03:28:16 +00:00
Volker Lanz
0c15c050da
generate the copy operation's description once in the ctor, don't dynamically
...
create it each time description() is called; this avoids lots of little bugs
when the source partition is, for example, resized after the copy is made or
its file system changes...
this is probably how this generally should be done for all operations.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129879
2010-05-24 02:36:29 +00:00
Volker Lanz
51ae5ddcb4
clear the clipboard if undo deleted the partition that's in it
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129877
2010-05-24 01:52:36 +00:00
Volker Lanz
15e23d806e
backup op does not target a device
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129869
2010-05-24 01:11:57 +00:00
Volker Lanz
5327ca792a
compare partition's device path with device's, not partition table pointers
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129867
2010-05-24 01:05:01 +00:00
Volker Lanz
f123525c22
fix comment
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129866
2010-05-24 01:04:17 +00:00
Volker Lanz
b91e35ca12
remove unused arg
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129821
2010-05-23 21:21:13 +00:00
Volker Lanz
bd5accaa16
merge creating a new partition table with previous ops if they target the
...
device; i.e., if there are ops that target the device where the partition table
is created, delete those ops.
this needs a lot of testing still. also, if the user undoes the creating of the
partition table, the deletes ops don't just magically reappear. this could
probably be solved by not deleting them but moving them to some qlist in the
create partition table op...?
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129812
2010-05-23 20:15:51 +00:00
Volker Lanz
ea4031b645
add methods to each operation to return if the op targets a given device or
...
partition
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129811
2010-05-23 20:13:46 +00:00
Volker Lanz
b8d25fa809
add operator==() and operator!=() for partition and device classes
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129809
2010-05-23 20:12:06 +00:00
Volker Lanz
91b6ce0a47
make formatted spinbox work when suffix or prefix are set
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129714
2010-05-23 14:05:57 +00:00
Volker Lanz
94f45fca5c
disable resizing for btrfs, i can't get it to work outside partition manager
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129308
2010-05-21 21:41:43 +00:00
Volker Lanz
0422bfcc15
don't overflow, it's signed... also, an EiB of disk storage ought to be big
...
enough for everyone.. for the next months, at least.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129273
2010-05-21 20:20:39 +00:00
Volker Lanz
90dc6b318b
make mfs.extX shup up so it doesn't kill the qt widget with its output
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129270
2010-05-21 20:10:57 +00:00
Volker Lanz
765681d239
fix support tools name and url
...
fix order of support checks
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129269
2010-05-21 20:10:26 +00:00
Volker Lanz
f9c0fcd0b3
don't crash checkinf file system support if no partition table is present
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129264
2010-05-21 19:52:22 +00:00
Volker Lanz
aa065376b3
allow passing device node via command line
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129237
2010-05-21 18:09:55 +00:00
Volker Lanz
2605e75757
properly handle cmd line args when invoking ourselves with root helper
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129224
2010-05-21 17:12:44 +00:00
Volker Lanz
91b3dc546a
unmount device as long as we find mountpoints for it, not just once
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129201
2010-05-21 15:29:10 +00:00
Volker Lanz
2d39afad2b
suppressing sleep only works as long as we're not root. that's hardly helpful.
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128987
2010-05-20 20:56:54 +00:00
Volker Lanz
a59062f073
suppress sleep mode while applying operations -- untested
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128978
2010-05-20 20:37:03 +00:00
Volker Lanz
7196b3a37e
add copy() and updateUUID() methods to linuxswap
...
actually make use of the length param in linuxswap::resize()
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128926
2010-05-20 17:27:19 +00:00
Volker Lanz
c2f0ff7528
add move() stub
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128924
2010-05-20 17:25:39 +00:00
Volker Lanz
046c9006e0
keep UUID when resizing swap (i.e. recreating it)
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128909
2010-05-20 16:19:34 +00:00
Volker Lanz
08da1fac60
move FileSystemSupportDialogWidget to a file of its own
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128905
2010-05-20 16:09:29 +00:00
Volker Lanz
bdfce5576f
delete delgate in dtor
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128892
2010-05-20 15:38:15 +00:00
Volker Lanz
e9871e0e82
add a check when scanning devices if support for all file systems we found is
...
present. if not, show a messagebox with detailed information what is missing.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128887
2010-05-20 15:25:55 +00:00
Volker Lanz
68ccea7ac2
reiser4 was missing max capacity method. the actual max capacity of reiser4
...
is "unknown" according to wikipedia. a quick web search also reveals
nothing.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128815
2010-05-20 11:18:01 +00:00
Volker Lanz
d6417cbbab
revert r1128581 and implement this as an additional check in
...
CopyOperation::canPaste() instead.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128813
2010-05-20 11:02:00 +00:00
Volker Lanz
696b368463
add a select device submenu to the device menu
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128594
2010-05-19 18:39:40 +00:00
Volker Lanz
d8d7b82862
use pretty name from Device class
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128593
2010-05-19 18:38:32 +00:00
Volker Lanz
6b260d97ec
use pretty print method from Device
...
output device name in bold
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128592
2010-05-19 18:38:00 +00:00
Volker Lanz
10fded0d7f
add method to print pretty device name
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128591
2010-05-19 18:37:14 +00:00
Volker Lanz
8b912ffb88
prevent the user from pasting a partition on another that is too big for the
...
source partition's file system
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128581
2010-05-19 17:38:12 +00:00
Volker Lanz
2b1f937917
warn if user tries to overwrite an existing partition with another or an image
...
file
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128576
2010-05-19 17:11:15 +00:00
Volker Lanz
6d939c372d
ws fix
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128540
2010-05-19 15:25:04 +00:00
Volker Lanz
eaf893cc35
use -n option of fsck.msdos to keep it from modifying the file system when
...
reading usage
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128535
2010-05-19 15:15:18 +00:00
Volker Lanz
3b78c8766c
It would not make sense to use CoreBackendDevice instead of Device in
...
CoreBackendPartitionTable::detectFileSystemBySector(), though it would be
possible. But all other methos use Partition, not CoreBackendPartition, so it
would not be consistent. Nothing gained.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128324
2010-05-18 22:52:25 +00:00
Volker Lanz
faa406a201
make API cleaner: don't use out param if a return value will do
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128321
2010-05-18 22:48:56 +00:00
Volker Lanz
d058abce6e
doxygen updates
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128312
2010-05-18 22:27:30 +00:00
Volker Lanz
2069e191de
make sure to update unallocated space after changing the alignment type. also,
...
update partition widget after changing the alignment type since now the
unallocated space might have changed.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1127793
2010-05-17 16:36:18 +00:00
Volker Lanz
6f248fc6da
remove entries about fixed bugs (exit codes from external commands not being
...
checked)
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1127781
2010-05-17 16:09:20 +00:00
Volker Lanz
2202629829
ws fix
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1127770
2010-05-17 15:50:10 +00:00