Commit Graph

26 Commits

Author SHA1 Message Date
Volker Lanz d82e50e5d5 check return codes from external commands in fs classes
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1127069
2010-05-15 13:10:34 +00:00
Volker Lanz be3fbd844a add a method to the backend plugin interface to let backend plugins set fs
command support types

export the fs implementation class symbols to let backend plugins access them

make the static properties holding the command support information in the
implementations public so backend plugins can change them

rename resizeInternal to resizeBackend in the resize filesystem job

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1119648
2010-04-27 14:53:04 +00:00
Volker Lanz ebf1612dc8 add setting of default FS to config dialog
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1101986
2010-03-11 14:17:21 +00:00
Volker Lanz 2d49f64f16 export classes
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1097419
2010-03-01 10:50:35 +00:00
Volker Lanz b7a0b4c4e1 set the uuid when copying a FileSystem
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1091925
2010-02-17 22:07:28 +00:00
Volker Lanz 4849ec5ff8 Add colors to identify each individual type of file system plus a config page
to change these colors.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1091881
2010-02-17 19:39:24 +00:00
Volker Lanz 44af166f83 rename all values in CommandSupportType to make them more unique
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1081018
2010-01-27 13:00:14 +00:00
Volker Lanz 84acbea6ac rename FileSystem::SupportType to FileSystem::CommandSupportType
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1081014
2010-01-27 12:48:42 +00:00
Volker Lanz a6427ee3ce rename log class to Log to avoid clashes with the C math lib function of the
same name

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1080742
2010-01-26 21:12:42 +00:00
Volker Lanz 3bcaabaa9d add code forked from mtools to allow settings FAT labels
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1080534
2010-01-26 11:35:23 +00:00
Volker Lanz b394afa487 do not any longer make a disctinction between internal support for a command
and libparted support: this distinction has not been used anywhere.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1073174
2010-01-11 19:23:35 +00:00
Volker Lanz bab4194a10 use libblkid api for UUID too.
no static functions for reading labels and uuids: that doesn't make any sense.
just use methods in FileSystem and its implementations. this means no more
distinction between internal and external support (for reading labels and UUIDs
that is), but I don't see that this will be missed.


svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1073165
2010-01-11 18:50:38 +00:00
Volker Lanz eb961b06c3 also use internal readLabel support here
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1073154
2010-01-11 18:37:23 +00:00
Volker Lanz 016addec2e use libblkid api and not external process invokations to read FS labels
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1073145
2010-01-11 18:14:16 +00:00
Volker Lanz 26e7f9d7ef use QUuid instead of calling libuuid directly.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1073104
2010-01-11 16:06:14 +00:00
Volker Lanz 02e231a651 make sure we use blkid as an alternative if vol_id is not available: a
certain distro now ships blkid exclusively.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1056190
2009-11-29 16:02:24 +00:00
Volker Lanz 0e518a5a9d Add a virtual method to the FileSystem base class to allow updating the boot
sector for a file system after it has been moved or copied. Currently, only
NTFS requires such a special treatment, however.

Implement this virtual method for NTFS and update the file system's start
sector in the NTFS boot sector according to
http://thestarman.pcministry.com/asm/mbr/NTFSBR.htm

BUG: 202329

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1005978
2009-08-02 18:47:17 +00:00
Volker Lanz 5c0acb2bba Read and display UUID for some filesystems.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=964310
2009-05-06 14:19:23 +00:00
Volker Lanz e648eb9c78 Don't forget the volume label when resizing a linuxswap filesystem.
BUG: 191801

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=964244
2009-05-06 11:33:22 +00:00
Volker Lanz 9c5580d1e2 Add support for getting fat16 and fat32 volume labels (no support for setting,
still).

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=964225
2009-05-06 11:12:19 +00:00
Volker Lanz 2c2587902e Don't use values() in foreach. Also, use qDeleteAll() if possible.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=954970
2009-04-16 16:41:54 +00:00
Volker Lanz 7ebf6816ce Add ext4 support.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=901473
2008-12-25 16:00:48 +00:00
Volker Lanz 577ffb39f5 Reserved blocks are not included in the number of free blocks anyway, so don't
substract them.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=901471
2008-12-25 15:59:07 +00:00
Laurent Montel 34ced586d7 Fix forward declaration
svn path=/trunk/kdereview/partitionmanager/; revision=877303
2008-10-29 07:41:08 +00:00
Laurent Montel 4d1c7f2d04 Pedantic
svn path=/trunk/playground/sysadmin/partitionmanager/; revision=864677
2008-09-25 11:53:41 +00:00
Volker Lanz d6dc26bd90 import of KDE Partition Manager
svn path=/trunk/playground/sysadmin/partitionmanager/; revision=864431
2008-09-24 19:32:01 +00:00