From: Sven L. <sve...@wa...> - 2003-08-22 20:31:36
|
Hello everyone. I have a new parted version available for testing at : deb http://people.debian.org/~luther/parted . for apt-get, but you can also get it directly. It is a full build, but you only need the libparted and parted packages. This one has full partition table read/write acces, altough the write support is not yet intesively tested, so please make a copy of your partition table first. How you do that ? You simply launch parted, use the print option, and look at the rdb_RDBBlocksHi value of the rdb (609 for me) and then you can do : # dd if=/dev/sda of=sda.backup count=609 Which will save the whole partiton table (in my case naturally). You can restore it with : # dd if=sda.backup of=/dev/sda And everything will be as usual. There isa lot of debugging information included, but it goes to the stderr, so you can write it to a log file with : # parted 2> parted.log And if you have any problems, or see wrong stuff in your partition table, please send it to me. The code for detecting the filesystem type for ffs, sfs and pfs filesystem doesn't yet include support for block sizes other than 512. Support for that would need some changes in parted, but i will be working on it nextly. Ffs, sfs and pfs filesystems only support the probing code right now, so you cannot create new or duplicate or copy existing filesystemes of these types. Ok, that is all for this week, please give it a try if you have a spare harddisk or something, and report to me anything special you notice. Note to the linux-m68k people, Andrew Clausen said that he (or i) will add the fixes to the ufs code needed for running on m68k, but it is not yet in this version, so you have to disable the ufs and maybe reiserfs filesystems as before. Geert, if i remember well, the amiga filesystem stuff did also segfault on your m68k box, if this is still true, i would like to debug this stuff nextly. Also, could someone forward this mail to the corresponding linux-m68k mailing list, and/or send me the corresponding address, so i can include it in a next roundmail about this. BTW, if someone feels like building parted on morphos i would be happy to know the result. There doesn't seem to be any fork or something such in the code, and the low level read/write stuff is either using the linux arch or the gnu arch. I guess the gnu arch should be able to run with the ixemul.library, or whatever similar thing we have in morphos these days. I would do it myself, but i am not really familiar with the morphos development environment yet. Friendly, Sven Luther |