OSDN Git Service

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