OSDN Git Service

post-release administrivia
[android-x86/external-parted.git] / NEWS
1 GNU parted NEWS                                    -*- outline -*-
2
3 * Noteworthy changes in release ?.? (????-??-??) [?]
4
5
6 * Noteworthy changes in release 2.0 (2009-10-06) [beta]
7
8 ** Improvements
9
10   Parted now supports disks with sector size larger than 512 bytes.
11   Before this release, Parted could operate only on disks with a sector
12   size of 512 bytes.  However, disk manufacturers are already making disks
13   with an exposed hardware sector size of 4096 bytes.  Prior versions of
14   Parted cannot even read a partition table on such a device, not to
15   mention create or manipulate existing partition tables.
16   Due to internal design and time constraints, the following
17   less-common partition table types are currently disabled:
18     amiga, bsd, aix, pc98
19   "bsd" and "amiga" are mostly done, but had a few minor problems,
20   so may remain disabled until someone requests that they be revived.
21
22 ** Bug fixes
23
24   big-endian systems can once again read GPT partition tables
25   [bug introduced in parted-1.9.0]
26
27   ped_partition_is_busy no longer calls libparted's exception handler,
28   since doing so caused trouble with anaconda/pyparted when operating on
29   dmraid devices.
30
31   Partitions in a GPT table are no longer assigned the "microsoft
32   reserved partition" type.  Before this change, each partition would
33   be listed with a type of "msftres" by default.
34
35
36 * Noteworthy changes in release 1.9.0 (2009-07-23) [stable]
37
38 ** Bug fixes
39
40   parted now preserves the protective MBR (PMBR) in GPT type labels.
41   http://lists.alioth.debian.org/pipermail/parted-devel/2008-December/\
42     002473.html
43   http://lists.gnu.org/archive/html/bug-parted/2008-12/msg00015.html
44
45   gpt_read now uses SizeOfPartitionEntry instead of the size of
46   GuidPartitionEntry_t.  This ensures that *all* of the partition
47   entries are correctly read.
48   http://lists.alioth.debian.org/pipermail/parted-devel/2008-December/\
49     002465.html
50   http://lists.alioth.debian.org/pipermail/parted-devel/attachments/\
51     20081202/b7c0528d/attachment.txt
52
53   mklabel (interactive mode) now correctly asks for confirmation, when
54   replacing an existent label, without outputting an error message.
55   http://lists.alioth.debian.org/pipermail/parted-devel/2009-January/\
56     002739.html
57
58   resize now handles FAT16 file systems with a 64k cluster.  This
59   configuration is not common, but it is possible.
60   http://parted.alioth.debian.org/cgi-bin/trac.cgi/ticket/207
61
62   parted now ignores devices of the type /dev/md* when probing.  These
63   types of devices should be handled by the device-mapper capabilities
64   of parted.
65   http://lists.alioth.debian.org/pipermail/parted-devel/2009-April/\
66     002781.html
67
68   The parted documentation now describes the differences in the options
69   passed to mkpart for the label types.
70   http://lists.alioth.debian.org/pipermail/parted-devel/2009-April/\
71     002782.html
72
73 ** Changes in behavior
74
75   include/parted/beos.h, include/parted/gnu.h and include/parted/linux.h
76   have been removed.  The symbols contained in these files (GNUSpecific,
77   ped_device_new_from_store, BEOSSpecific, LinuxSpecific,  LINUX_SPECIFIC)
78   were moved to the individual files that need them.
79
80   In libparted, the linux-swap "filesystem" types are now called
81   "linux-swap(v0)" and "linux-swap(v1)" rather than "linux-swap(old)"
82   and "linux-swap(new)" as in parted 1.8, or "linux-swap" as in older
83   versions; "old" and "new" generally make poor names, and v1 is the
84   only format supported by current Linux kernels. Aliases for all
85   previous names are available.
86
87 * Noteworthy changes in release 1.8.8.1 (2007-12-17) [stable]
88
89 ** FIXME: fill in details
90
91 * Noteworthy changes in release 1.8.8 (2007-08-09) [stable]
92
93 ** GNU parted is now licensed under the GNU General Public License version 3
94    or higher.  See the COPYING file for more details.
95
96 ** libparted:
97   - Add compute_block_counts() to improve ext2fs support.
98   - Properly detect 'ext2 fs too small' cases.
99   - Move formatting commands out of translatable strings.
100   - Read an msdos partition table from a device with 2K sectors.
101   - Remove always-false "Unable to open" diagnostic in ped_disk_new(),
102     leave the "unrecognized disk label" diagnostic.
103   - Don't leak partition table buffer in amiga_read().
104   - Don't read/write initialized memory with DEBUG turned on off for
105     'mklabel bsd' and 'mklabel amiga' command calls.
106   - Turn off DEBUG in libparted.c to avoid initializing all allocated
107     memory to '1' bits.
108   - Correct handling of HeaderSize field in GPT labels.
109   - Fix block number used when checking for ext2 fs state.
110   - Add detection support for Xen virtual block devices (/dev/xvd*).
111   - When reading DASD labels, check the filesystem type as well as
112     partition flags to determine what's on the partition.
113   - Add _dm_probe_all() from Debian to probe for all device-mapper
114     devices.
115
116 ** parted:
117   - Fixed exception handling in mkpart and mkpartfs commands.
118   - Add the --dry-run option to the partprobe command.
119   - Update docs: cannot specify 'primary' for a partition on a loop
120     device.
121   - Remove unused functions (get_spaces).
122   - Fix off-by-one error in str_list_print_wrap().
123   - Use xmalloc() and xrealloc() to check return values.
124   - Fix invalid command line argument handling.
125   - Close memory leaks in parted.c and table.c.
126   - Fix warnings when compiling with translation support enabled.
127   - Use a consistent prompt when asking for a file system type.
128   - Update docs: don't reference old versions of gzip.
129
130 ** misc:
131   - Improve the testing framework in the tests/ subdirectory.  Build out
132     more of the testing scripts so we can start using that to ensure we
133     don't introduce regressions in releases.
134   - Support testing with tmpfs filesystems on Linux.
135   - Work around inadequate libreadline in the configure script.
136   - Don't include config.h from internal headers.
137
138 * Noteworthy changes in release 1.8.7 (2007-05-09) [stable]
139
140 ** libparted:
141   - Prevent compilation of DASD code on GNU Hurd systems.
142   - Integrate new unit testing framework for parted and libparted.
143   - Fix primary partition cylinder alignment error for DOS disk labels.
144   - Use PED_PARTITION_NORMAL in place of PED_PARTITION_PRIMARY.
145   - Avoid segfault due to a double free on reiserfs support.
146
147 ** parted:
148   - Fix script mode (-s) for mkfs command in parted.
149   - Suppress "you are not superuser..." warning in script mode.
150   - Fix off-by-one bug in parted when displaying information about the
151     disk.
152   - Do not translate partition names in the 'parted print' command.
153     This causes problems for non-Latin-based character sets.
154   - Send errors to stderr rather than stdout.
155   - Handle command line options independent of the order.
156   - Abort on any invalid option and handle -v and -h first.
157   - Only display the update /etc/fstab message when there has been a
158     change to the disk (a shorter and more direct message too).
159
160 * Noteworthy changes in release 1.8.6 (2007-03-20) [stable]
161
162 ** Revert the implementation of the linux-swap(new) and linux-swap(old) types.
163    The type is 'linux-swap' for v1, v2, and s1suspend swap partitions on Linux.
164
165 * Noteworthy changes in release 1.8.5 (2007-03-20) [stable]
166
167 ** Another minor update.  Both versions 1.8.3 and 1.8.4 lacked po translation
168    files.  These are included with version 1.8.5.
169
170 * Noteworthy changes in release 1.8.4 (2007-03-19) [stable]
171
172 ** Minor bug fix release for 1.8.3 to fix build issues on various
173    platforms:
174   - Use 'uname -m' to determine if we build on System Z or not.
175   - Include <parted/vtoc.h> in <parted/fdasd.h> for format1_label_t
176     definition.
177   - Remove unused variables in libparted/arch/linux.c (-Werror).
178   - Check return values on fgets() and asprint() in libparted/arch/linux.c
179     (-Werror).
180   - Check for tgetent() in libtinfo in the configure script.
181   - Move some macro definitions in <parted/disk.h> to fix a compile
182     problem with gcc-4.1.2 as indicated here:
183     http://lists.gnu.org/archive/html/bug-parted/2007-03/msg00008.html
184
185 * Noteworthy changes in release 1.8.3 (2007-03-16) [stable]
186
187 ** libparted:
188   - Header file clean ups.
189   - Sync the linux-swap header according to the Linux kernel sources.
190   - Enable support for swsusp partitions and the ability to differentiate
191     between old and new versions of linux-swap partitions.
192   - Renaming PARTITION_EXT to PARTITION_DOS_EXT in the DOS disklabel
193     code (consitency with Linux kernel source).
194   - Added libparted.pc pkg-config file.
195   - Remove unused functions, ifdefs, and other code.
196   - Deprecate ped_[register|unregister]_disk_type in favor of
197     ped_disk_type_[register|unregister].
198   - Small test program fixes (in label.c and common.c).
199   - Make functions const-correct.
200   - Handle systems where libreadline is not available.
201   - Preserve starting sector for primary NTFS 3.1 partitions on DOS
202     disklabel.
203   - Handle 2048-byte logical sectors in linux_read().
204   - Use PED_SECTOR_SIZE_DEFAULT macro in place of 512.
205   - Don't assume logical sector size is <= 512B on AIX.
206   - Detect HFS write failure.
207   - Use mkstemp() in place of mktemp().
208   - Added HFS+ resize support.
209   - Don't build DASD support on non-zSeries hardware.
210
211 ** parted/partprobe:
212   - Use fputs() and putchar() in place for printf(), when possible.
213   - Detect/report stdout write errors.
214   - Accept the --version and --help options.
215   - Fix memory leaks in parted(8).
216
217 ** general:
218   - Synchronize the manual page and --help documentation.
219   - GNU autoconf and automake updates.
220   - 'gcc -Wall -Wshadow' warning cleanups.
221   - Don't define _GNU_SOURCE manually.
222   - Documentation updates and cleanups (AUTHORS, copyright notices,
223     etc).
224   - Use gnulib (http://www.gnu.org/software/gnulib/).
225
226 * Noteworthy changes in release 1.8.2 (2007-01-12) [stable]
227
228 ** libparted:
229   - Add the ped_device_cache_remove() function to remove a device from
230     the cache.  This is necessary for some things that use libparted,
231     including pyparted.
232   - Fix a segfault in ped_assert() where the wrong pointer is freed in
233     the backtrace handler.
234   - Only call _disk_warn_loss(disk) in do_mklabel() if disk is not NULL.
235     Fixes a segfault when initializing new volumes.
236   - Dynamically allocate space for exception messages.
237   - Output a backtrace when catching SEGV_MAPPER or a general SIGSEGV.
238
239 ** parted:
240   - Destroy all objects before return when called with --list or --all
241     option.
242   - Zero sized device is shown as 0.00B and not -0.00kB.
243   - Implement 'print devices' command.
244   - Alias 'print list' to 'print all'.
245   - Alias 'mktable' to 'mklabel'.
246
247 ** misc:
248   - Other bug fixes, documentation updates, and translation improvements.
249   - Code and API clean-ups.
250
251 * Noteworthy changes in release 1.8.1 (2006-12-04) [stable]
252
253 ** libparted:
254   - Rework backtrace support.
255   - Code cleanups.
256   - Added --enable-selinux configure option to enable linking libparted with
257     libselinux and libsepol.
258   - Disable ext2fs resize for now, tell user to use resize2fs.
259
260 ** parted:
261   - Fix loop in print_all().
262   - Introduce the -list command-line switch.
263   - Make mktable aliased to mklabel.
264   - Warn before mklabel and mkfs.
265   - Code cleanups in _partition_warn_busy(), _disk_warn_busy(),
266     _partition_warn_loss(), and _disk_warn_loss().
267   - Avoid warning about user permissions when using --version.
268   - Fix 'print' command help.
269   - Proper print when there are no extended partitions, but partition names.
270
271 ** misc:
272   - Generate SHA-1 digest of the archive files and upload those along with the
273     actual archive files.
274   - Update translation files.
275   - Remove automatically generated files from version control.
276
277 * Noteworthy changes in release 1.8.0 (2006-11-17) [stable]
278
279 ** libparted:
280   - GPT fixes:
281        - Correctly handle disks with non-512 byte sector sizes
282        - Support LUN resizing (see new space, allow parted to use it)
283        - Prevent overlap of LastUsableLBA and PartitionEntryLBA in backup GPT
284   - Prevent SIGFPE when FAT sector size is 0
285   - Add ped_exception_get_handler()
286   - DASD support for IBM zSeries systems
287   - AIX disk label support
288   - Detect Promise SX8 storage devices
289   - Macintosh (ppc and x86) disk label improvements:
290        - Prevent LVM and RAID partition types from corrupting the table
291        - Fix removal of driver partition
292   - Add support binary units (MiB, KiB, GiB)
293   - In ped_register_disk_type(), handle disk_types==NULL case
294   - In ped_unregister_disk_type(), handle case where type is not registered
295   - Fix geometry read problems on 64-bit Macs (and probably other 64-bit systems)
296   - Add support for /dev/mapper devices via libdevmapper library
297   - Detect Apple_Boot partition types correctly on MacOS X 10.4 systems
298
299 ** parted:
300   - Various bug fixes, signal handling fixes, and spelling error fixes
301   - UI improvements to display more information about the disk and transport
302     layer
303
304 ========================================================================
305
306 Copyright (C) 2001-2009 Free Software Foundation, Inc.
307
308 Permission is granted to copy, distribute and/or modify this document
309 under the terms of the GNU Free Documentation License, Version 1.2 or
310 any later version published by the Free Software Foundation; with no
311 Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
312 Texts.  A copy of the license is included in the ``GNU Free
313 Documentation License'' file as part of this distribution.