1 Note: there are now separate ChangeLog files for the library and the
2 front-end. This file is only for reference purposes and top-level changes.
4 See libparted/ChangeLog and parted/ChangeLog.
6 ==============================================================================
7 2006-09-15 David Cantrell <dcantrell@redhat.com>
8 * doc/pt_BR/partprobe.8.pt_BR.po: Removed extra double quote at the end
11 * include/parted/Makefile.am: Add vtoc.h and fdasd.h to the list.
13 * doc/Makefile.am: Tabs for the updatepo target.
15 * doc/po4a.mk: Removed fake* stuff. Fixed all-local target so you don't
16 end up in an infinite make loop trying to make '*'. Fixed the remove
19 2006-09-01 David Cantrell <dcantrell@redhat.com>
20 * include/parted/device.h: add PED_DEVICE_VIODASD.
21 * include/parted/exception.h: add ped_exception_get_handler() prototype.
23 2006-08-31 David Cantrell <dcantrell@redhat.com>
24 * include/parted/device.h: add PED_DEVICE_DASD (direct attached storage
26 * inlcude/parted/disk.h: add PED_PARTITION_METADATA and
27 PED_PARTITION_PROTECTED.
28 * include/parted/fdasd.h: add fdasd header file.
29 * include/parted/vtoc.h: add VTOC header file.
30 * include/parted/linux.h: if on zSeries, declare real_sector_size
33 2006-08-30 David Cantrell <dcantrell@redhat.com>
34 * include/parted/device.h: add PED_DEVICE_SX8 (Promise SX8 SATA device).
36 2006-06-01 Otavio Salvador <otavio@debian.org>
37 * po/hu.po: add Hungarian translation. Thanks to SZERVĂC Attila
38 <sas-guest@haydn> for the file. Debian bug: #360457.
40 2006-05-25 Leslie Polzer <leslie.polzer@gmx.net>
41 * configure.ac: added libdl to linker flags.
43 2006-05-21 Otavio Salvador <otavio@debian.org>
44 * doc/*: add suport to use po4a to translate the manpages.
46 2006-05-18 Otavio Salvador <otavio@debian.org>
47 * Makefile.am: add scripts and data need for abi checking. It'll
48 be used to avoid ABI broken packages;
49 improve logic to detect ABI brokeness;
51 2006-05-08 Otavio Salvador <otavio@debian.org>
52 * doc/parted.texi: Rephrase some parted documentation based on
53 patches sent to Debian.
55 2006-04-26 Otavio Salvador <otavio@debian.org>
56 * po/it.po: Update Italian translation. Thanks to Giuseppe Sacco
57 <giuseppe@eppesuigoccas.homedns.org> for the po file.
59 2006-04-03 Otavio Salvador <otavio@debian.org>
60 * Makefile.am, scripts/extract_symvers: Add support to a simple
63 * scripts/data/abi/baseline_symbols.txt: First version of our
66 2006-03-13 Ithamar Adema <ithamar@unet.nl>
67 * configure.ac, libparted/Makefile.am, libparted/libparted.c,
68 libparted/arch/beos.c, include/parted/beos.h: Added
69 _experimental_ BeOS (& descendents) support.
71 * libparted/fs/xfs/platform_defs.h, libparted/fs/ext2/ext2.h: Type
72 definition fixes for BeOS support.
74 * libparted/fs/hfs/hfs.c, libparted/fs/xfs/xfs.c, libparted/fs/jfs/jfs.c,
75 libparted/fs/reiserfs/reiserfs.c, libparted/fs/linux_swap/linux_swap.c,
76 libparted/fs/ntfs/ntfs.c, libparted/fs/ufs/ufs.c,
77 libparted/fs/amiga/affs.c: Explicit block_sizes initialization in
78 PedFileSystemType declarations (needed to satisfy gcc2 compiler).
80 2006-03-03 Leslie Polzer <leslie.polzer@gmx.net>
81 * configure.ac: removed "-std=c99" from CFLAGS -- this implies so many
82 changes that a branch makes sense.
84 * configure.ac (AC_OUTPUT): removed libparted/fs/bfs/Makefile.in.
86 * po/POTFILES.in: updated to match new directory layout.
88 2006-02-26 Leslie Polzer <leslie.polzer@gmx.net>
89 * configure.ac: added "-std=c99" to CFLAGS -- C99 extensions may be
90 used because we need "long long int".
92 2006-02-11 Leslie Polzer <leslie.polzer@gmx.net>
93 * libparted/fs/reiserfs/reiserfs.c: added valid block sizes for
96 2006-02-06 Leslie Polzer <leslie.polzer@gmx.net>
97 * libparted/arch/linux.c (_device_probe_geometry): added preliminary
98 fix for HDIO_GETGEO ioctl returning failure (this will be superseded
101 2006-02-01 Leslie Polzer <leslie.polzer@gmx.net>
102 * configure.ac, aclocal.m4, parted/Makefile.am: removed static build
105 2006-01-31 Leslie Polzer <leslie.polzer@gmx.net>
107 * libparted/fs/ext2/ext2_mkfs.c
108 (ext2_mkfs_create_lost_and_found_inode): fixed allocation bug.
110 * libparted/fs/hfs/reloc_plus.c: changed msgid "[...] should not
111 contain its own extents." to "[...] should not contain its own
114 2006-01-26 Leslie Polzer <leslie.polzer@gmx.net>
116 * parted/parted.c (do_mkpart): changed an erroneous conditional that
117 would have prevented the creation of partitions on disk labels that
118 do not support the concept of extended partitions.
120 * libparted/fs/fat/fat.c, libparted/fs/ext2/interface.c,
121 libparted/fs/bfs/bfs.c, libparted/fs/amiga/affs.c,
122 libparted/fs/amiga/apfs.c, libparted/fs/amiga/asfs.c: added list of
123 supported block sizes.
125 2006-01-20 Leslie Polzer <leslie.polzer@gmx.net>
127 * libparted/labels/gpt.c (gpt_probe): initialize pth to NULL and free
128 pth only if non-NULL.
130 * parted/parted.c (do_print): block size printf now uses %lld.
131 This fixes display of physical sector size.
133 2006-01-18 Andres Salomon <dilinger@debian.org>
134 * libparted/arch/linux.c (linux_probe_all): use /sys/block in favor of
135 /proc/partitions where possible.
136 * libparted/arch/linux.c: added functions _skip_entry [static],
137 _probe_sys_block [static]
139 2006-01-13 Leslie Polzer <leslie.polzer@gmx.net>
140 * libparted/labels/rdb.c (amiga_probe): made function use actual sector
143 2006-01-11 Leslie Polzer <leslie.polzer@gmx.net>
144 * libparted/fs/Makefile.am: removed BFS until it is ready.
146 * include/parted/parted.h: added ped_calloc prototype.
148 * libparted/arch/linux.c (struct hd_driveid): added ATAPI/ATA7 words
151 2006-01-02 Leslie Polzer <leslie.polzer@gmx.net>
152 * libparted/labels/gpt.c (pth_free): fixed assertion's return statement.
154 * libparted/libparted.c (ped_calloc): added.
156 2005-12-25 Harley D. Eades III <hde@foobar-qux.org>
157 * libparted/labels/gpt.c (pth_free): New function.
158 * libparted/labels/gpt.c (gpt_probe): Added a call to pth_free().
159 * libparted/labels/gpt.c (gpt_clobber): Now calls pth_free() on gpt
160 before returning and calls pth_free() on error_free_with_gpt instead
163 2005-12-25 Harley D. Eades III <hde@foobar-qux.org>
164 * libparted/labels/gpt.c (pth_free): New function.
165 * libparted/labels/gpt.c (gpt_probe): Added a call to pth_free().
166 * libparted/labels/gpt.c (gpt_clobber): Now calls pth_free() on gpt
167 before returning and calls pth_free() on error_free_with_gpt instead
170 2005-12-25 Leslie Polzer <leslie.polzer@gmx.net>
171 * include/parted/debug.h (PED_DEBUG): fixed variable arguments stuff.
172 * configure.ac: added some compiler checks.
173 * libparted/arch/linux.c (_device_seek, _partition_get_part_dev),
174 libparted/fs/reiserfs/geom_dal.c (__dev):
176 * libparted/arch/linux.c (_disk_sync_part_table),
177 libparted/fs/bfs/bfs.c (bfs_probe, bfs_clobber),
178 libparted/fs/ext2/ext2.c (ext2_copy_block, ext2_commit_metadata):
179 libparted/fs/ext2/ext2_mkfs.c (ext2_mkfs_create_lost_and_found),
180 libparted/labels/dos.c (probe_filesystem_for_geom),
181 libparted/labels/gpt.c (gpt_read):
182 turned runtime-length array into pointer.
183 * libparted/fs/ext2/ext2_mkfs.c (ext2_mkfs_init_sb),
184 libparted/fs/jfs/jfs_types.h: renamed u_int*_t to uint*_t.
185 * libparted/fs/reiserfs/reiserfs.c: sanitized function prototype.
186 * libparted/fs/xfs/platform_defs.h: renamed __uint*_t to uint*_t
187 and __int*_t to int*_t.
188 * libparted/labels/dos.c (probe_filesystem_for_geom): added assertions.
189 * libparted/labels/gpt.c (struct _GuidPartitionEntryAttributes_t):
190 added fallback structure for non-GCC compilers (with #warning).
192 2005-12-25 Leslie Polzer <leslie.polzer@gmx.net>
193 * include/parted/debug.h: made PED_DEBUG a function if GCC is not being
194 used (which means the compiler might not support C99, where variadic
195 macros were introduced).
196 * include/parted/debug.h: added check for __JSFTRACE__ which is an
197 instrumenting preprocessor disguising itself as GCC.
199 2005-12-20 Leslie Polzer <leslie.polzer@gmx.net>
200 * parted/parted.c (do_set): now offers toggled flag state as default.
202 2005-12-19 Leslie Polzer <leslie.polzer@gmx.net>
203 * configure.ac: added AC_C_INLINE check.
204 * Doxyfile: adapted input files to new directory layout.
205 * parted/parted.c (do_mkpart, do_mkfs, do_mkpartfs): automatically set
206 LBA flag on partition if available.
208 2005-12-18 Leslie Polzer <leslie.polzer@gmx.net>
209 * libparted/fs/ext2/interface.c (_ext2_get_resize_constraint): replaced
210 'PED_SECTOR_SIZE_DEFAULT' with device's sector_size.
211 * libparted/labels/Makefile.am: corrected crc32.c to efi_crc32.c.
212 * libparted/fs/bfs/Makefile.am, libparted/fs/bfs/bfs.c: added.
214 2005-12-17 Leslie Polzer <leslie.polzer@gmx.net>
215 * parted/Makefile.am, configure.ac: added BUILDINFO
216 * parted/parted.c: added build information (date, user, hostname)
217 * libparted/fs/Makefile.am, libparted/labels/Makefile.am: added
218 * libparted/crc32.c: renamed to efi_crc32.c
219 * libparted/disk_amiga.c: renamed to rdb.c
220 * libparted/labels/, libparted/fs/, libparted/cs/, libparted/arch/: added
223 2005-12-15 Leslie Polzer <leslie.polzer@gmx.net>
224 * libparted/fs_ext2/ext2_block_relocator.c (ext2_block_relocate_grow):
225 get inode table offset from group descriptor.
226 * libparted/fs_ext2/ext2.h, libparted/fs_ext2/ext2.c,
227 libparted/fs_ext2/ext2_block_relocator.c, libparted/fs_ext2/ext2_mkfs.c,
228 libparted/fs_ext2/ext2_resize.c, libparted/fs_ext2/ext2_meta.c:
229 removed 'howmany' macro and changed its calls to 'ped_div_round_up'.
231 2005-12-08 Leslie Polzer <leslie.polzer@gmx.net>
232 * parted/ui.c: changed bug reporting instructions.
234 2005-11-18 Leslie Polzer <leslie.polzer@gmx.net>
235 * parted/command.h (struct Command): added 'non_interactive' field indicating
236 whether it makes sense to use this command in non-interactive mode.
237 * parted/command.h, parted/command.h: changed signature and body of
238 command_create to match new field 'non_interactive'.
239 * parted/ui.c (non_interactive_mode): honor 'non_interactive' field.
240 * parted/parted.c (do_print): removed display of start (should be always
242 * parted/parted.c (do_print): changed some wordings.
243 * parted/parted.c (do_print, partition_print): added some blank lines.
244 * libparted/natmath.c (ped_alignment_intersect): added debug statement
245 facilitating the debugging of the solver.
246 * doc/API (preamble): added notice regarding deprecation.
248 2005-11-16 Guillaume Knispel <k_guillaume@libertysurf.fr>
249 * libparted/fs_hfs/hfs.c, libparted/fs_hfs/hfs.h: Added hfs_block_count and
250 hfsp_block_count global variables, they contain the number of FS blocks
251 allocated in memory for the copy buffer. Renamed MAX_BUFF to BLOCK_MAX_BUFF,
252 added BYTES_MAX_BUFF = 8MB.
253 * libparted/fs_hfs/reloc.c (hfs_pack_free_space_from_block): Fill the cache
254 before allocating the copy buffer, limit the maximum buffer size to the max
255 of min(8MB, 1 HFS block) and allocate at least the size needed by the cache.
256 Store the number of HFS blocks allocated in hfs_block_count.
257 * libparted/fs_hfs/reloc.c (hfs_effect_move_extent): Copy hfs_block_count
258 blocks by hfs_block_count blocks (instead of MAX_BUFF).
259 * libparted/fs_hfs/reloc_plus.c (hfsplus_pack_free_space_from_block): Limit
260 the maximum buffer size to the max of min(8MB, 1 HFS+ block) and allocate
261 at least the size needed by the cache. Store the number of HFS+ blocks
262 allocated in hfsp_block_count.
263 * libparted/fs_hfs/reloc_plus.c (hfsplus_effect_move_extent): Copy
264 hfsp_block_count by hfsp_block_count blocks (instead of MAX_BUFF).
265 * libparted/fs_hfs/probe.c, libparted/fs_hfs/probe.h (hfsc_can_use_geom):
266 Added - check if the sector size is really 512B.
267 * libparted/fs_hfs/probe.c (hfs_and_wrapper_probe, hfsplus_probe, hfs_probe,
268 hfsx_probe): Added calls to hfsc_can_use_geom.
269 * libparted/fs_hfs/hfs.c (hfs_open, hfsplus_open): Added calls to
271 * parted/ui.c (command_line_get_sector): Handle range == NULL cleanly
272 (do_rescue uses that value...).
273 * libparted/unit.c (parse_chs, ped_unit_parse_custom): Handle range == NULL
276 2005-11-14 Leslie Polzer <leslie.polzer@gmx.net>
277 * include/parted/device.h, libparted/device.c, include/parted/disk.h,
278 include/libparted/disk.c: added documentation.
279 * include/parted/device.h (struct _PedDevice): made fields sector_size and
280 phys_sector_size 64 bit wide.
283 2005-11-11 Otavio Salvador <otavio@debian.org>
284 * configure.ac: add AM_GNU_GETTEXT_VERSION macro to ensure that we have a
285 good gettetxt version and let autoreconf happy ;-)
286 * config.h.in, config.guess, config.sub, libtool, ltconfig, ABOUT-NLS,
287 depcomp, missing, mkinstalldirs, ltmain.sh, install.sh, INSTALL,
288 po/Makefile.in.in po/Rules-quot, m4/: removed. Those can be generated
289 when we're going to build the tarball.
290 * configure.ac, Makefile.am: don't use m4/Makefile.in since won't install
292 * autogen.sh: added to be easier to us to build the tarball.
294 2005-11-11 Guillaume Knispel <k_guillaume@libertysurf.fr>
295 * parted/parted.c (do_print): removed diagnostic message displaying
296 if the free argument was given or if a partition number was given.
297 * parted/parted.c (do_print): "Sector" instead of "Block" size, append 'B'
299 * libparted/unit.c, include/parted/unit.h, doc/API: added (declares, defined,
300 and documented) ped_unit_format_custom_byte based on ped_unit_format_custom,
301 added ped_unit_format_byte (wrapper of ped_unit_format_custom_byte),
302 transformed ped_unit_format_custom and ped_unit_format to wrappers of
303 ped_unit_format_custom_byte.
304 Depending of the unit and value to represent, ped_unit_format_custom_byte
305 can output representations with a precision up to 1/100 unit.
306 * parted/parted.c (do_print): make use of ped_unit_format_byte instead of
307 ped_unit_format to get representation of end of partitions / device
308 (point to the last byte of the last sector instead of the first byte of
311 2005-11-11 Leslie Polzer <leslie.polzer@gmx.net>
312 * parted/parted.c (do_mkpart, do_mkpartfs): support partition naming.
313 * parted/parted.c (do_mkpart, do_mkpartfs): ask for primary/extended only
316 2005-11-10 Leslie Polzer <leslie.polzer@gmx.net>
317 * include/parted/debug.h: added 'PedDebugHandler' type.
318 * include/parted/debug.h: added 'PED_DEBUG' macro.
319 * include/parted/debug.h, include/parted/debug.c: added ped_debug
320 and ped_debug_set_handler.
321 * include/parted/debug.h: added some documentation.
322 * configure.in: renamed to configure.ac.
323 * libparted/disk_loop.c (loop_probe): removed gratuitous const cast.
324 * libparted/disk_amiga.c: replaced 'dev->sector_size' with
325 'PED_SECTOR_SIZE_DEFAULT' (first see whether Amiga PTs support bs != 512).
326 * libparted/linux.c (init_generic): replaced dev->sector_size with
327 'PED_SECTOR_SIZE_DEFAULT' (non-initialized).
328 * libparted/linux.c (_device_probe_geometry): make cylinder size calculation
330 * libparted/debug.c (ped_debug): calls 'debug_handler' now instead of
333 2005-11-09 Leslie Polzer <leslie.polzer@gmx.net>
334 * include/parted/device.h (struct _PedDeviceArchOps, extern ped_device_read),
335 include/parted/disk.h (struct _PedDiskOps, _ped_disk_alloc):
336 changed the prototype of 'read', 'probe' and 'alloc' to take a const PedDevice.
337 * include/parted/unit.h: renamed 'PED_SECTOR_SIZE' to
338 'PED_SECTOR_SIZE_DEFAULT'.
339 * libparted/disk.c (_ped_disk_alloc), libparted/disk_amiga.c (_amiga_read_block,
340 _amiga_find_rdb, amiga_probe, amiga_alloc), libparted/disk_bsd.c (bsd_probe,
341 bsd_alloc), libparted/disk_dos.c (msdos_probe, msdos_alloc),
342 libparted/device.c (ped_device_read), libparted/disk_dvh.c (dvh_probe,
343 dvh_alloc), libparted/disk_gpt.c (gpt_probe, gpt_alloc, _read_header,
344 _non_metadata_constraint), libparted/disk_loop.c (loop_alloc, loop_probe),
345 libparted/disk_mac.c (mac_probe, mac_alloc), libparted/disk_pc98.c
346 (pc98_probe, pc98_alloc), libparted/disk_sun.c (sun_probe, sun_alloc),
347 libparted/linux.c (_device_seek, _read_lastoddsector, linux_read):
348 made 'dev' const and added const cast where necessary.
349 * libparted/disk_amiga.c (_amiga_checksum, amiga_probe, amiga_alloc, amiga_read,
350 amiga_write, amiga_partition_new), libparted/disk_bsd.c (bsd_alloc),
351 libparted/disk_msdos.c (probe_filesystem_for_geom), libparted/disk_gpt.c
352 (gpt_alloc, gpt_read, _write_pmbr, gpt_write, gpt_alloc_metadata),
353 libparted/fs_amiga/affs.c, libparted/fs_amiga/amiga.c,
354 libparted/fs_amiga/apfs.c, libparted/fs_amiga/asfs.c,
355 libparted/fs_ext2/interface.c, libparted/fs_hfs/advfs.c,
356 libparted/fs_hfs/advfs_plus.c, libparted/fs_hfs/cache.c,
357 libparted/fs_hfs/file.c, libparted/fs_hfs/file_plus.c, libparted/fs_hfs/hfs.c,
358 libparted/fs_hfs/journal.c, libparted/fs_hfs/probe.c, libparted/fs_hfs/reloc.c
359 libparted/fs_hfs/reloc_plus.c, libparted/fs_reiserfs/reiserfs.c,
360 libparted/gnu.c, libparted/linux.c:
361 replaced 'PED_SECTOR_SIZE' or '512' with 'PedDevice.sector_size' or
362 at least 'PED_SECTOR_SIZE_DEFAULT'.
363 * libparted/disk_amiga.c (amiga_read), libparted/disk_bsd.c (bsd_alloc),
364 libparted/disk_msdos.c (probe_filesystem_for_geom), libparted/linux.c
365 (_device_get_length, linux_read, linux_write, _blkpg_add_partition):
366 added sector size assertion.
367 * libparted/disk_gpt.c (struct _GuidPartitionTableHeader): made Reserved2
368 dynamic (need not be 420 bytes).
369 * libparted/disk_gpt.c (pth_get_size, pth_get_size_static, pth_get_size_rsv2,
370 pth_new, pth_new_zeroed, pth_new_from_raw, pth_get_raw, pth_crc32): added.
371 * libparted/disk_gpt.c (gpt_probe, gpt_clobber, _header_is_valid,
372 _read_header, _parse_header, gpt_read, _generate_header, gpt_write):
373 adapted to new Reserved2 and pth_* functions.
374 * libparted/disk_gpt.c (gpt_probe): replaced '1' with 'GPT_HEADER_SECTORS'.
375 * libparted/disk_gpt.c (_header_is_valid): added PedDevice argument.
376 * libparted/disk_gpt.c (_parse_header, _write_pmbr): replaced '92' with
377 'pth_get_size_static'.
378 * libparted/disk_gpt.c (ped_disk_gpt_init): removed header size assertion.
379 * libparted/linux.c (_device_get_sector_size): renamed to
380 '_device_set_sector_size'
381 * libparted/linux.c (_device_set_sector_size): sets real sector size now
383 * libparted/linux.c (_device_probe_geometry): calls 'device_set_sector_size'
385 * libparted/linux.c (init_ide): added stub for setup of
386 'PedDevice.phys_sector_size'.
387 * libparted/linux.c (_blkpg_add_partition): added assertion for 'disk'.
388 * doc/parted.texi (Related Software and Info): updated URLs for 'yaboot'
390 * doc/parted.texi (Related Software and Info): parted@gnu.org ->
392 * doc/parted.texi (unit): corrected note on sector size.
394 2005-11-07 Otavio Salvador <otavio@debian.org>
395 * parted/parted.c (do_print): print a error when called with a invalid
397 * parted/parted.c (do_print): add 'free' argument that display information
398 about disk freespace.
400 2005-11-05 Leslie Polzer <leslie.polzer@gmx.net>
401 * parted/ui.c: updated wording of bug reporting instructions
402 * libparted/disk_gpt.c: updated to work with block sizes > 512 bytes
404 2005-11-02 Leslie Polzer <leslie.polzer@gmx.net>
407 2005-10-28 Guillaume Knispel <k_guillaume@libertysurf.fr>
408 * libparted/fs_hfs/journal.c, libparted/fs_hfs/hfs.c: fix some exception
410 * libparted/unit.c (ped_unit_format_custom): remove unused variable "result".
412 2005-10-25 Guillaume Knispel <k_guillaume@libertysurf.fr>
413 * libparted/disk_mac.c (_disk_add_part_map_entry): the function didn't
414 work when mac_disk_data->last_part_entry_num was null (when the only
415 existing partition is the partition table and the user destroy it).
417 2005-10-24 Guillaume Knispel <k_guillaume@libertysurf.fr>
418 * parted/parted.c (prefer_snap): incorrectly chose MOVE_STILL instead
419 of MOVE_UP or MOVE_DOWN if both weren't activated.
421 2005-10-15 Guillaume Knispel <k_guillaume@libertysurf.fr>
422 * libparted/filesys.c (_probe_with_open): The file system was considered
423 valid if the open method was not implemented. Now openable file systems
424 are considered first (if one and only one is successfully opened,
425 return it), then if only one non openable file system is remaining,
426 return it (else return NULL).
428 2005-10-14 Guillaume Knispel <k_guillaume@libertysurf.fr>
429 * libparted/disk_dos.c (_log_meta_overlap_constraint): ignore inactive
431 * parted/parted.c (snap_to_boundaries): didn't reliably work since the
432 range is variable, complete rewrite.
433 * parted/parted.c (try_snap): was called by snap_to_boundaries, removed.
434 * parted/parted.c (prefer_snap): new function called by snap_to_boundaries,
435 detect if the sector should be snaped to the begining of the partition
436 it belongs to, or to the end.
438 2005-10-13 Guillaume Knispel <k_guillaume@libertysurf.fr>
439 * libparted/disk_gpt.c (add_metadata_part): don't forget to free the
440 constraint if adding the metadata partition failed.
442 2005-10-04 Guillaume Knispel <k_guillaume@libertysurf.fr>
443 * doc/parted.texi: Unit command description added, based on what
444 was previously in 2.2 Using GNU Parted (which has been replaced
445 by a reference to the unit command...). Also various fixes in
446 @copying layout and some typos fixes.
448 2005-10-03 Otavio Salvador <otavio@debian.org>
451 2005-10-03 Guillaume Knispel <k_guillaume@libertysurf.fr>
452 Applied patch from Colin Watson <cjwatson@debian.org>:
453 * libparted/linux.c (_device_get_part_path): check for devfs-style /disc
454 without even testing if _have_devfs(), because udev can be used instead
455 with the same behavior.
457 2005-10-02 Guillaume Knispel <k_guillaume@libertysurf.fr>
458 Applied patch from Matt Zimmerman <mdz@debian.org>:
459 * include/parted/device.h: PED_DEVICE_UBD added in PedDeviceType.
460 * libparted/linux.c (_device_probe_type): recognize UML UBD devices.
461 * libparted/linux.c (linux_new): handle UML UBD devices.
463 2005-09-21 Guillaume Knispel <k_guillaume@libertysurf.fr>
464 * po/id.po: added (thanks to Arif E. Nugroho <arif_endro@yahoo.com>)
466 * doc/parted.8: updates from A. Costa <agcosta@gis.net>
467 Applied patch from Otavio Salvador <otavio@debian.org>:
468 * libparted/disk_dos.c (probe_partition_for_geom): Fix compiler warnings
469 while compiling with gcc 4.0.
470 * libparted/disk_sun.c (sun_read): bugfix - recognize partitions on sun
473 2005-08-22 Guillaume Knispel <k_guillaume@libertysurf.fr>
474 * libparted/disk_dos.c (_align_logical_no_geom): removed
475 _calc_min_logical_start() and use a true constraint instead, generated by
476 the new _log_meta_overlap_constraint(). This constraint should enforce
477 necessary gaps between logical partitions to fit the linked list of
478 partition tables. This should get ride of the infamous Assertion
479 (metadata_length > 0) failed bug for extended msdos disklabels generated
481 * libparted/disk_dos.c (_align_logical): also use
482 _log_meta_overlap_constraint() as mandatory.
484 2005-08-21 Guillaume Knispel <k_guillaume@libertysurf.fr>
485 * libparted/unit.c (parse_chs, ped_unit_parse_custom): set *range to NULL
486 and *sector to 0 on failure.
487 * parted/ui.c (command_line_get_sector): set *value to 0 on failure.
488 * parted/parted.c (do_mkpart, do_mkpartfs, do_move, do_resize): more memory
489 leak fixes (range_start, range_end).
491 2005-08-10 Leslie Polzer <leslie.polzer@gmx.net>
492 * parted/ui.c: updated wording of bug reporting instructions
495 2005-08-09 Leslie Polzer <leslie.polzer@gmx.net>
496 Applied patch from Eduardo Righes <eduardo@tteng.com.br>, HP Brazil:
497 * include/parted/disk.h, libparted/disk.c, libparted/disk_gpt.c:
498 hidden partitions support and command to set MS Reserved partitions
499 through "set" command.
501 2005-08-08 Leslie Polzer <leslie.polzer@gmx.net>
502 * parted/parted.c (do_resize): fixed memory leak (range_start, range_end).
504 2005-08-03 Guillaume Knispel <k_guillaume@libertysurf.fr>
505 * libparted/disk_dos.c (msdos_partition_destroy): leak correction, free
506 ((DosPartitionData*)(part->disk_specific))->orig if necessary.
507 * libparted/fs_fat/traverse.c (fat_traverse_complete): leak correction, free
509 * libparted/linux.c (_device_get_sector_size): preassign sector_size to
510 PED_SECTOR_SIZE to make Valgrind happy.
511 * parted/ui.c (command_line_get_sector): set *range to NULL in case of failure.
513 2005-08-01 Guillaume Knispel <k_guillaume@libertysurf.fr>
514 * libparted/disk_dos.c (probe_partition_for_geom): integer only calculation
515 of cyl_size and head_size, to avoid FP arithmetic approximation problems.
516 * doc/API: fixed documentation for PedUnit according to new prototypes.
518 2005-07-26 Leslie Polzer <leslie.polzer@gmx.net>
519 * parted/ui.c (command_line_get_sector): set range in default case
521 2005-07-19 Guillaume Knispel <k_guillaume@libertysurf.fr>
522 * all files: FSF address changed to
523 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
525 2005-07-11 Guillaume Knispel <k_guillaume@libertysurf.fr>
527 HFSX and journaled HFS+ / HFSX now supported.
528 The HFS+ / HFSX allocation bitmap is saved during relocation.
530 * libparted/fs_hfs/*: cosmetic changes in ped_exception_throw calls.
531 * libparted/fs_hfs/journal.c: added.
532 * libparted/fs_hfs/journal.h: added.
533 * libparted/fs_hfs/Makefile.am: journal.c and journal.h added.
534 * libparted/fs_hfs/cache.h: new tags for journal info block (CR_BTREE_CAT_JIB)
535 and journal (CR_BTREE_CAT_JL)
536 * libparted/fs_hfs/hfs.h: journal structs (HfsJJournalInfoBlock,
537 HfsJJournalHeader, HfsJBlockInfo, HfsJBlockListHeader) described.
538 HFSJ_JOURN_IN_FS, HFSJ_JOURN_OTHER_DEV, HFSJ_JOURN_NEED_INIT,
539 HFSJ_HEADER_MAGIC, HFSJ_ENDIAN_MAGIC, HFSX_CASE_FOLDING, HFSX_BINARY_COMPARE
541 Fields dirty_alloc_map, allocation_file, jib_start_block, jl_start_block of
542 HfsPPrivateFSData added.
543 * libparted/fs_hfs/hfs.c (hfsplus_open): allocate dirty_alloc_map and open
544 allocation_file. Do not emit the warning exception about untested attributes
546 (hfsplus_close): free dirty_alloc_map and close allocation_file.
547 New HFSX descriptors hfsx_ops && hfsx_type.
548 (ped_file_system_hfs_init, ped_file_system_hfs_done): (un)register HFSX.
549 * libparted/fs_hfs/reloc.c (hfs_effect_move_extent): don't save the allocation
551 (hfs_move_extent_starting_at): save it here.
552 * libparted/fs_hfs/reloc_plus.c (hfsplus_do_move): handle journal and bitmap
554 (hfsplus_move_extent_starting_at): call to the new hfsplus_save_allocation
556 * libparted/fs_hfs/probe.c, libparted/fs_hfs/probe.h: hfsx_probe added.
557 * libparted/disk_mac.c (mac_partition_set_system): HFSX support.
558 * doc/parted.texi: updated documentation to reflect new journaled and hfsx
561 2005-07-10 Andrew Clausen <clausen@gnu.org>
562 * libparted/disk.c (_partition_check, _partition_check_extended): replaced
563 a specific start<=end sanity check in _partition_check_extended with
564 a generic assertion in _partition_check.
565 * libparted/parted.c (_ped_abs, _solution_check_distant, _get_left_bound,
566 _get_right_bound, _grow_over_small_freespace): removed and replaced with
567 snap_to_boundaries() et al:
568 * libparted/parted.c (snap_to_boundaries, try_snap, snap): these functions
569 do similar things to the functions above that they replace, except that
570 they constrain themselves by the recently introduced unit-specific ranges
571 rather than "small" magic numbers. In addition, it will snap to an
572 existing partition boundary to avoid consuming slightly more free space.
573 (So, it could possibly shrink or grow)
574 * libparted/disk.c (ped_disk_add_partition, ped_disk_set_partition_geom):
575 these functions now deduce if a there are no constraint solutions because of
576 overlapping problems, and throws an appropriate exception. This means
577 that lots of "Unable to satisfy constraints" messages will be replaced
578 with "Can't have overlapping partitions" messages where appropriate.
581 2005-07-06 Andrew Clausen <clausen@gnu.org>
582 * po/POTFILES.in: added libparted/fs_hfs/* and libparted/unit.c.
583 * po/vi.po: added (thanks to Tran Thi Hoang Quyen!)
584 * configure.in: added vi (Vietnamese) to the language list.
585 * po/ja.po po/nl.po: updated.
586 * libparted/disk_dvh (dvh_alloc, _handle_no_volume_header,
587 _get_extended_constraint): make the volume header partition include
588 the first sector of the disk (which contains the partition table.)
589 * libparted/disk_dvh (_handle_no_volume_header): removed the Ignore option
590 for disks without a volume header partition.
591 * libparted/disk_dvh (_get_primary_constraint, _get_extended_constraint):
592 don't align to cylinder boundaries any more.
593 * libparted/fs_ext2/ext2_block_relocator.c: added some comments.
596 2005-07-04 Andrew Clausen <clausen@gnu.org>
597 * include/parted/natmath.h (ped_div_round_to_nearest): added.
598 * libparted/unit.c (ped_unit_parse_custom, geometry_from_centre_radius):
599 move out-of-disk detection into geometry_from_centre_radius(), because
600 the tolerance level depends on the radius.
601 * libparted/unit.c (ped_unit_parse_custom): clip the sector inside the
602 disk, if it passed the geometry_from_centre_radius() tolerance check.
603 * libparted/unit.c (ped_unit_format_custom): round to the nearest unit.
604 * libparted/unit.c (ped_unit_format_custom): format cylinders separately,
605 because they shouldn't be rounded.
606 * libparted/unit.c (ped_unit_parse_custom): start counting at -1, so that
607 -0 is past the end of the disk.
608 * libparted/constraint.c (ped_constraint_solve_nearest): it is not a bug
609 to have no end solution.
610 * libparted/constraint.c (_constraint_get_end_range): fixed an out-by-1
611 error on the length sanity check.
612 * libparted/unit.c (ped_unit_parse_custom): reduce the radius by 1.
613 This means a location is fuzzy only to strictly less than the unit
616 2005-07-03 Andrew Clausen <clausen@gnu.org>
617 * include/parted/unit.h: rearranged the order of prototypes, and changed
619 * libparted/unit.c (ped_unit_get_size, get_sectors_per_cent, remove_punct):
620 rearranged order of functions.
621 * libparted/unit.c (ped_unit_format_custom): rewrote more compactly,
622 using ped_unit_get_name().
623 * libparted/unit.c (parse_chs, ped_unit_parse_custom): moved CHS parsing
624 into a new separate function.
625 * libparted/unit.c (parse_unit_suffix, ped_unit_parse_custom): moved
626 the unit parsing code into a separate new function.
627 * libparted/unit.c (ped_unit_parse_custom): restructed error handling.
628 * libparted/unit.c (ped_unit_get_size): make % simple: length*SECTOR_SIZE/100
629 * libparted/parted.c: applied a patch by Benno Schulenberg to clean up
630 error message / UI text strings.
632 2005-07-02 Leslie Polzer <leslie.polzer@gmx.net>
633 * libparted/unit.c: fixed off-by-one error
634 * doc/parted.texi: removed passage on ``='' notation and changed it
635 to document the new range handling.
637 2005-07-01 Leslie Polzer <leslie.polzer@gmx.net>
638 * libparted/unit.c: moved handling of negative locations to the right
641 2005-06-30 Leslie Polzer <leslie.polzer@gmx.net>
642 * include/parted/unit.h (ped_unit_format): changed signature (swapped
644 * include/parted/unit.h (ped_unit_format_custom): changed signature to
645 match new API interface.
646 * include/parted/unit.h (ped_unit_parse): changed signature to match
648 interface (added range argument).
649 * include/parted/unit.h (ped_unit_parse_custom): changed signature to
650 match new API (added ``range'' argument)
651 * include/parted/unit.h (ped_unit_get_size): added.
652 * parted/parted.c: fixed typo in help ("MUMBER").
653 * parted/parted.c (_solution_check_distant): changed calls to match new
654 ped_unit_format signature.
655 * parted/parted.c (_grow_over_small_freespace): removed handling of
656 is_start_exact and is_end_exact.
657 * parted/parted.c (do_mkpart, do_mkpartfs, do_move, do_resize): changed
658 calls to command_line_get_sector and constraint_from_start_end to match
660 * parted/parted.c (do_move, do_print): changed calls to ped_unit_format
661 to match new signature.
662 * parted/parted.c (do_print): changed calls to ped_unit_format_custom
663 to match new signature.
664 * parted/ui.h (command_line_get_sector): changed signature
665 (replaced ``int* is_exact'' with ``PedRange** range'')
666 * parted/ui.c (command_line_get_integer): changed calls to
667 ped_unit_format to match new signature.
668 * parted/ui.c (command_line_get_sector): removed handling of
669 is_start_exact and is_end_exact and changed signature accordingly.
670 * libparted/unit.c: added API documentation.
671 * libparted/unit.c (ped_unit_format): rewrote call to
672 ped_unit_format_custom to match new signature.
673 * libparted/unit.c: (clip): added.
674 * libparted/unit.c (geometry_from_centre_radius): added.
675 * libparted/unit.c (ped_unit_parse_custom): removed differentiation
676 between double and long - double should be enough.
677 * libparted/unit.c (ped_unit_parse_custom): vast simplification due to
678 new range handling and usage of new functions
679 geometry_from_centre_radius and ped_unit_get_size.
680 * libparted/unit.c (get_sectors_per_cent): added.
681 * libparted/unit.c (ped_unit_get_size): added.
682 * libparted/disk.c (ped_disk_check): changed calls to match new
683 ped_unit_format signature.
684 * libparted/fs_fat/calc.c (fat_check_resize_geometry): changed calls to
685 match new ped_unit_format signature.
687 2005-06-18 Andrew Clausen <clausen@gnu.org>
688 * libparted/constraint.c: more comments.
690 2005-06-15 Andrew Clausen <clausen@gnu.org>
691 * po/zh_TW: added. From Wei-Lun Chao <chaoweilun@pcmail.com.tw>.
693 2005-06-12 Andrew Clausen <clausen@gnu.org>
694 * libparted/disk_dos.c (probe_partition_for_geom): some OEM partitioning
695 software (?) has an out-by-one error for numbering the ending cylinder
696 of partitions. This change supresses any exceptions, and treats the
697 CHS information as if the correct information had been given.
699 2005-06-11 Andrew Clausen <clausen@gnu.org>
700 * libparted/disk_dos.c (probe_partition_for_geom): the old code couldn't
701 infer any information when the start head didn't divide the end head.
703 2005-06-04 Andrew Clausen <clausen@gnu.org>
704 * libparted/linux.c (init_scsi, scsi_get_product_info,
705 scsi_query_product_info, read_device_sysfs_file): Use /sys to
706 fetch vendor/product names before trying the deprecated ioctl,
707 SCSI_IOCTL_SEND_COMMAND. Based on a patch by Chris Lumens (thanks!)
708 * libparted/geom.c: added more comments.
709 * libparted/natmath.c: added more comments.
710 * libparted/constraint.c: added more comments.
711 * libparted/device.c: added more comments.
712 * libparted/timer.c: added more comments.
713 * libparted/filesys.c: added more comments.
714 * libparted/disk.c: added more comments.
716 2005-06-03 Andrew Clausen <clausen@gnu.org>
717 * libparted/disk_mac.c (_rawpart_is_active): empty partition names with
718 the type "Apple_Free" can also be free space partitions.
720 2005-06-02 Andrew Clausen <clausen@gnu.org>
721 * libparted/fs_fat/fat.c (fat_check): typecast -1 to (FatCluster). (gcc
723 * libparted/linux.c (init_ide): call strip_name() on the prepared buffer
724 rather than the raw input.
726 2005-05-14 Andrew Clausen <clausen@gnu.org>
727 * libparted/fs_fat/fat.c (fat_check): don't complain about the information
728 sector reporting the number of free clusters as -1 ("I don't know").
730 2005-05-10 Andrew Clausen <clausen@gnu.org>
731 * libparted/disk_mac.c (mac_partition_set_flag): put curly braces around
732 the if body in the PED_PARTITION_BOOT case.
734 2005-04-20 Andrew Clausen <clausen@gnu.org>
735 * libparted/disk_mac.c (_rawpart_is_active): treat Apple_Free partitions
736 with names other than Extra as normal (active) partitions.
737 * parted/parted (do_resize): allow resizing of extended partitions,
738 even if some logical partitions are mounted.
740 2005-03-29 Andrew Clausen <clausen@gnu.org>
741 * everything: more punctuation / grammatical fixes from Benno Schulenberg
742 <benno@nietvergeten.nl>.
743 * libparted/disk_dvh.c (_handle_no_volume_header): only give a lax
744 constraint on the new volume header. (Previously, if there wasn't
745 much space, then the volume header would not be created. Now, a smaller
747 * libparted/disk_dvh.c (_parse_partition, _generate_partition): retire the
748 hack in which the start of the volume header was temporarily represented
750 * libparted/disk_dvh.c (_get_strict_extended_constraint): added.
751 * libparted/disk_dvh.c (dvh_partition_align): allow the volume header
752 (extended partition) to begin on sector 0 in both strict and lax
754 * libparted/disk_dvh.c (dvh_alloc_metadata): only protect the partition
755 table with a metadata partition if the volume header (extended partition)
756 does not protect it already.
757 * libparted/disk_dvh.c (dvh_alloc_metadata): always protect the partition
758 table, but use a logical metadata partition if the volume header
759 includes the partition table.
761 2005-03-28 Andrew Clausen <clausen@gnu.org>
762 * everything: more punctuation / grammatical fixes from Benno Schulenberg
763 <benno@nietvergeten.nl>.
764 * everything: filesystem -> file system. (messages / comments only)
765 * parted/parted.c (init_commands): describe "=" notation.
766 * doc/parted.texi: describe "=" notation.
767 * doc/parted.texi: link www.namesys.com/pub/libreiserfs
769 2005-03-27 Andrew Clausen <clausen@gnu.org>
770 * parted/parted.c (_rescue_add_partition()): fixed memory leaks.
771 * parted/parted.c (_rescue_pass()): now accepts partitions that end within
772 the allowed end range. (Was previously buggy.)
773 * parted/parted.c (_rescue_add_partition()): use ped_constraint_exact()
774 to force the partition geometry to match the probed filesystem's
776 * libparted/unit.c, doc/parted.texi: changes units to match SI standards.
777 eg: Mb -> MB, Kb -> kB.
778 * libparted/libparted.c (init_disk_types, done_disk_types): put in
780 * parted/ui.c parted/ui.h (command_line_get_integer, command_line_get_sector,
781 command_line_get_state, command_line_get_device, command_line_get_disk,
782 command_line_get_partition, command_line_get_fs_type,
783 command_line_get_disk_type):
784 all command_line_get_*() functions now take their default input value from
785 the same location as the output value.
786 * parted/ui.c (command_line_get_sector): "=" specifies that the user
787 would like the partition to be exactly in that location, without
788 any possibility of being moved due to alignment or other reasons.
789 * parted/parted.c (do_check, do_cp, do_mklabel, do_mkfs, do_mkpart,
790 do_mkpartfs, do_move, do_name, do_print, do_rescue, do_resize, do_rm,
791 do_select, do_set): updated to new ui.h interface.
792 * parted/parted.c (do_name): include the old name as default.
793 * everything: applied many punctuation / grammatical fixes from
794 Benno Schulenberg <benno@nietvergeten.nl>.
796 2005-03-21 Andrew Clausen <clausen@gnu.org>
797 * libparted/disk_mac.c (mac_partition_set_flag, _rawpart_is_lvm):
798 Now uses "Linux_LVM" in the system name, not "lvm" in the volume name.
799 * libparted/disk_mac.c (mac_partition_set_flag, _rawpart_is_raid,
800 _rawpart_analyse): Added analogous support for RAID partitions.
801 * libparted/unit.c (ped_unit_parse_custom): throw an exception if the
802 location doesn't have any numbers as input.
803 * parted/parted.c (do_print): remove padding spaces from text, and replace
804 them with numbers. This should make life easier for the translation
807 2005-03-20 Andrew Clausen <clausen@gnu.org>
808 * include/parted/unit.h: added.
809 * include/parted/parted.h: now includes unit.h.
810 * include/parted/device.h: PED_SECTOR_SIZE is now defined in unit.h.
811 * libparted/unit.c: added.
812 * libparted/disk.c (ped_disk_check): use new unit.h formatting code.
813 * libparted/fs_fat/calc.c (fat_check_resize_geometry): use new unit.h
815 * parted/parted.c (do_unit): added a command for selecting the default unit.
816 * parted/parted.c (_solution_check_distant): uses new unit.h formatting code.
817 The prototype changed to include "dev", which is required to format the "%"
819 * parted/parted.c (partition_print, do_print, _rescue_add_partition):
820 uses new unit.h formatting code.
821 * parted/parted.c (do_print): changed "Minor" -> "Number".
822 * parted/ui.c (command_line_get_sector): changed to use new unit.h
823 parsing and formatting code.
824 * parted/ui.c (command_line_get_unit): added.
825 * parted/ui.h: added command_line_get_unit() prototype.
826 * doc/API: added documentation for PedUnit.
827 * parted/parted.c: updated help text to reflect change from Minor to Number.
828 * doc/parted.texi: update documentation to reflect change from Minor to Number.
829 * doc/parted.texi: update documentation to reflect units changes.
830 * include/parted/unit.h: added CHS support. (PED_UNIT_CHS)
831 * libparted/unit.c: added CHS support.
832 * parted/parted.c: display the size of partitions, except if the unit is CHS.
834 2005-03-20 Andrew Clausen <clausen@gnu.org>
837 2005-03-14 Chris Lumens <clumens@redhat.com>
838 * libparted/fs_fat/fat.h: Change name to a char array in _FatDirEntry.
839 * libparted/fs_fat/traverse.c (fat_dir_entry_is_active): One last unsigned
840 char vs. char compiler warning fix.
841 * libparted/device.c: Functions named things like read, write, and check
842 can be implemented as macros which will get expanded here and cause
843 problems. Surround the names with parentheses to prevent macro expansion.
844 * libparted/linux.c (_mount_table_search): Ignore sccanf result.
846 2005-03-11 Guillaume Knispel <k_guillaume@libertysurf.fr>
847 * libparted/fs_hfs/hfs.c, libparted/fs_hfs/reloc.c,
848 libparted/fs_hfs/reloc_plus.c: Make use of ped_geometry_sync_fast in hfs
851 2005-03-08 Chris Lumens <clumens@redhat.com>
852 * libparted/disk_amiga.c, libparted/disk_gpt.c, libparted/disk_pc98.c,
853 libparted/disk_sun.c, libparted/linux.c, libparted/fs_hfs/reloc.c: Fix up
854 unsigned char vs. char compiler warnings.
856 2005-03-07 Chris Lumens <clumens@redhat.com>
857 * libparted/disk_mac.c: support LVM on PPC by setting the proper flags on the
858 partition (patch from Paul Nasrat <pnasrat@redhat.com>).
860 2005-03-06 Andrew Clausen <clausen@gnu.org>
861 * libparted/disk_sun.c: many changes, including:
862 - replaced hw_geom with bios_geom.
863 - disk_specific->length is now set to cylinder_size * label->ncyl.
864 - label->acyl is now set to 0 by default.
866 2005-03-05 Andrew Clausen <clausen@gnu.org>
867 * doc/parted.8: changed "mips" to "dvh" to be consistent with the Parted
869 * doc/parted.texi: added http:// and ftp:// onto some URLs.
871 2005-03-04 Chris Lumens <clumens@redhat.com>
872 * libparted/fs_fat/context.c: fix casting typo.
873 * include/parted/constraint.h, libparted/constraint.c: remove
874 ped_constraint_none that wasn't being referenced anywhere.
876 2005-03-04 Andrew Clausen <clausen@gnu.org>
877 * libparted/fs_fat/count.c (flag_traverse_fat): in the assignment to
878 cluster_info [clst].units_used, store 0, rather than 64. The code
879 has the same semantics, but no gcc4 compiler warning. (0 == 64 when
880 you use 6-bit integers; 0 is interpreted as 64 in all relevant code)
881 (problem reported by Chris Lumens <clumens@redhat.com>)
883 2005-02-19 Guillaume Knispel <k_guillaume@libertysurf.fr>
884 * libparted/fs_hfs/hfs.c (hfs_resize): do nothing when nothing to do.
885 * libparted/fs_hfs/hfs.c (hfsplus_resize): do nothing when nothing to do.
886 * libparted/fs_hfs/hfs.c (hfsplus_open): leak in the error handling code
889 2005-02-17 Guillaume Knispel <k_guillaume@libertysurf.fr>
890 * include/parted/device.h (_PedDeviceArchOps): field sync_fast added.
891 * include/parted/device.h (ped_device_sync_fast): added.
892 * include/parted/geom.h (ped_geometry_sync_fast): added.
893 * libparted/device.c (ped_device_sync_fast): added.
894 * libparted/geom.c (ped_geometry_sync_fast): added.
895 * libparted/gnu.c (gnu_dev_ops): sync_fast pointing to gnu_sync added.
896 * libparted/linux.c (linux_sync_fast): added.
897 * libparted/linux.c (linux_dev_ops): sync_fast pointing to linux_sync_fast
899 * doc/API : new ped_device_sync_fast and ped_geometry_sync_fast API
902 2005-02-14 Chris Lumens <clumens@redhat.com>
903 * parted/parted.c : on the help for the mkfs, mkpart, and resize commands,
904 only list filesystem types that are supported
906 2005-02-02 Guillaume Knispel <k_guillaume@libertysurf.fr>
907 * integrated HFS Patch 16 :
908 * libparted/fs_hfs/hfs.c
909 * libparted/fs_hfs/hfs.h
910 * libparted/fs_hfs/probe.c
911 * libparted/fs_hfs/probe.h
912 * libparted/fs_hfs/cache.c
913 * libparted/fs_hfs/cache.h
914 * libparted/fs_hfs/advfs.c
915 * libparted/fs_hfs/advfs.h
916 * libparted/fs_hfs/file.c
917 * libparted/fs_hfs/file.h
918 * libparted/fs_hfs/reloc.c
919 * libparted/fs_hfs/reloc.h
920 * libparted/fs_hfs/advfs_plus.c
921 * libparted/fs_hfs/advfs_plus.h
922 * libparted/fs_hfs/file_plus.c
923 * libparted/fs_hfs/file_plus.h
924 * libparted/fs_hfs/reloc_plus.c
925 * libparted/fs_hfs/reloc_plus.h
926 * libparted/Makefile.am : modified according new source files listed above
927 * libparted/disk_mac.c (mac_partition_set_system): tag partition with type
928 "Apple_HFS" if the filesystem is "hfs+" in addition to "hfs"
929 * debug/test/test_fs_hfs : new non-regression tests for hfs
930 * debug/test/test_fs_hfsplus : new non-regression tests for hfs+
931 * debug/test/test (ped_test_get_val): allow bash evaluation of $post_command
932 * doc/parted.texi (Supported File Systems): added resize operation for hfs
933 and hfs+, and a note stating they can only be made smaller.
934 * doc/parted.texi (Command explanation Resize): talk about hfs.
936 2005-01-16 Andrew Clausen <clausen@gnu.org>
939 2005-01-10 Sven Luther <luther@debian.org>
940 * libparted/disk.c, doc/parted.texi : renamed prep-boot prep partition name to
943 2005-01-08 Andrew Clausen <clausen@gnu.org>
944 * libparted/linux.c (linux_disk_commit): if the BLKPG method fails, try
945 the BLKRRPART method.
947 2005-01-06 Andrew Clausen <clausen@gnu.org>
948 * libparted/disk_dos.c (msdos_write): put in a unique identifier (which
949 is misleadingly called the "MBR signature" by Microsoft docs and
950 EFI specs). Based on a patch by Matt Domsch <Matt_Domsch@dell.com>.
952 2005-01-05 Sven Luther <luther@debian.org>
953 * include/parted/endian.h : fixed PED_SWAP macros missing (), since it broke
954 on 64bit hardware as shown in the PED_CPU_TO_BE32(part ? part_num : LINK_END)
955 code snipplet, which applied the uint32 cast to part, and not the value.
956 * libparted/disk_amiga.c, libparted/fs_amiga/amiga.c : Added some uint32 casts.
958 2005-01-05 Andrew Clausen <clausen@gnu.org>
959 * libparted/disk_sun.c (sun_alloc, sun_read, sun_write): fixed
960 cylinder recording stuff. pcylcount is now 2 more, and ncyl is now
961 2 less than it was before.
962 * libparted/filesys.c (ped_file_system_clobber): removed a useless
963 (always-thrown) assertion for file system support for clobbering.
965 2004-12-26 Harley D. Eades III <hde@grics.net>
966 * libparted/gnu.c (gnu_new): Added three new variables ro_err, rw_err and
967 ispath. The ispath variables is set to 1 if path is indeed a path and not a
968 store type name. This prevents having to use strchr more then once. Added
969 a check for determining if the inputted path is a path and not a store-type
970 name. If (const char *)path is a path then use store_open (). If (const
971 char *)path is a store-type name use store_typed_open ().
973 2004-12-21 Andrew Clausen <clausen@gnu.org>
974 * libparted/linux.c (_disk_sync_part_table): removed duplicate error message.
976 2004-12-19 Andrew Clausen <clausen@gnu.org>
977 * libparted/linux.c (_device_get_part_path): only treat the device as
978 devfs if it has /disc on the end.
979 * libparted/linux.c (_partition_get_part_dev): added.
980 * libparted/linux.c (_partition_is_mounted_by_dev ): added.
981 * libparted/linux.c (_partition_is_mounted): now uses
982 _partition_is_mounted_by_dev(). This is more reliable than guessing
983 the partition's device name.
984 * libparted/linux.c (_device_probe_type): sets the type to
985 PED_DEVICE_UNKNOWN on block devices that don't fall into the
986 standard categories. This makes libparted correctly update
987 the kernel's view of partition tables, etc.
989 2004-12-18 Andrew Clausen <clausen@gnu.org>
990 * libparted/disk_dos.c (probe_partition_for_geom): improved heuristic
991 for finding broken partition tables: test if any feasible solution
992 geometry exists against the end cylinder rather than 1024. This
993 heuristic now has fewer false negatives and no false positives.
995 2004-12-18 Andrew Clausen <clausen@gnu.org>
996 * libparted/disk_dos.c (msdos_probe): look for SBML signature at offset 0x40,
997 rather than 0x39. (oops!)
998 * libparted/disk_amiga.c: added (from Sven Luther)
999 Note: I did some cleanups, added assertions, etc.
1000 * libparted/fs_amiga/affs.c: added.
1001 * libparted/fs_amiga/affs.h: added.
1002 * libparted/fs_amiga/amiga.c: added.
1003 * libparted/fs_amiga/amiga.h: added.
1004 * libparted/fs_amiga/apfs.c: added.
1005 * libparted/fs_amiga/apfs.h: added.
1006 * libparted/fs_amiga/asfs.c: added.
1007 * libparted/fs_amiga/asfs.h: added.
1008 * libparted/fs_amiga/interface.c: added.
1011 2004-12-14 Harley D. Eades III <hde@grics.net>
1012 * libparted/disk_dos.c (msdos_probe): Fixed typo changed strcmp to
1015 2004-12-08 Andrew Clausen <clausen@gnu.org>
1016 * libparted/disk_dvh.c (_generate_boot_file): zero out the boot file name
1017 record before writing the name in. Previously, there was a misplaced
1018 null-terminator that caused gcc to complain.
1020 2004-12-04 Andrew Clausen <clausen@gnu.org>
1021 * libparted/filesys.c (ped_file_system_resize, ped_file_system_copy):
1022 only attempt to check file systems if checking is implemented for
1023 that file system type.
1025 2004-11-29 Andrew Clausen <clausen@gnu.org>
1026 * libparted/fs_fat/bootsector.c (fat_boot_sector_analyse): when correcting
1027 the boot sector, use fat_boot_sector_write() to make sure the backup
1028 copy gets written (if applicable).
1029 * libparted/disk_dos.c (msdos_probe): don't treat Smart Boot Manager Loader
1030 boot blocks as FAT file systems.
1032 2004-11-28 Sven Luther <luther@debian.org>
1033 * libparted/disk_dos.c: Added support for the prep-boot partition type.
1035 2004-11-28 Andrew Clausen <clausen@gnu.org>
1036 * libparted/fs_fat/boot_sector.c (fat_boot_sector_analyse): if the
1037 file system's CHS geometry is insane, then let the user fix it.
1038 This is important, because Linux refuses to mount FAT file systems
1039 with insane CHS geometry. Moreover, a few recent versions of Parted
1040 wrote some insane values here, so this allows users to fix the damage.
1043 2004-11-22 Andrew Clausen <clausen@gnu.org>
1044 * parted/ui.c (_construct_prompt): previously forgot to assign "prompt = ..."
1045 in a realloc_and_cat() call. Patch from Woody Suwalski <woodys@xandros.com>
1047 2004-11-21 Andrew Clausen <clausen@gnu.org>
1048 * libparted/linux.c (linux_new): get rid of pointless exception for
1049 exotic block devices.
1050 * configure.in, libparted/fs_reiserfs/reiserfs.c (reiserfs_fs_check):
1051 applied patch by Yury to do a proper file system check.
1053 2004-11-20 Andrew Clausen <clausen@gnu.org>
1054 * libparted/disk_dos.c (probe_partition_for_geom): don't attempt
1055 to infer geometry from a partition whose end can't possibly be addressed
1056 with CHS (regardless of the CHS geometry).
1057 * libparted/disk_dos.c (msdos_read): initialize bios_geom to the old
1058 value, in case no better geometry can be found.
1060 * libparted/disk_gpt.c (_generate_header): changed a misleading comment
1061 "per 1.02 spec" -> "per 1.00 spec".
1062 * libparted/disk_mac.c (mac_duplicate): don't create a partition map
1063 entry - leave that for later.
1064 * libparted/disk_dos.c (msdos_read): avoid infinite recursion.
1065 * libparted/disk_dos.c (msdos_partition_align): refuse to resize
1066 Windows Dynamic Disk partitions.
1068 2004-11-19 Andrew Clausen <clausen@gnu.org>
1069 * libparted/fs_fat/resize.c (create_resize_context): copy CHS info across.
1070 (Was previously uninitialized - bug)
1073 2004-11-11 Andrew Clausen <clausen@gnu.org>
1074 * libparted/disk_dos.c (msdos_partition_set_system): sun-ufs partitions
1075 now have an ID of 0xbf.
1076 * libparted/disk_dos.c (probe_partition_for_geom): rewrote with lots
1077 more comments + mathematical paranoia.
1079 2004-11-10 Andrew Clausen <clausen@gnu.org>
1080 * libparted/disk_dos.c (realloc_metadata, msdos_read): better solution...
1081 just call msdos_read() again if the CHS geometry needs to be changed.
1082 * libparted/disk_gpt.c (write_pmbr): if the partition is longer than
1083 32-bits can fit, then write 0xffffffff as per GPT spec. Patch from
1084 Matt Domsch <Matt_Domsch@dell.com>.
1086 2004-11-08 Andrew Clausen <clausen@gnu.org>
1087 * libparted/disk_dos.c (realloc_metadata): stupid bug fix: reset the start/end
1088 to be the same as what they were before.
1091 2004-10-17 Andrew Clausen <clausen@gnu.org>
1092 * libparted/disk_dos.c (probe_partition_for_geom): ignore CHS geometry
1093 if the start cylinder is greater than the end cylinder.
1094 * libparted/fs_fat/bootsector.h: add another __attribute__ ((packed))
1095 thingy to ensure the right alignment.
1096 * parted/parted.c (do_print, _rescue_add_partition): removed bogus
1097 (int) casts. (%f, what was I thinking?!)
1099 2004-09-19 Andrew Clausen <clausen@gnu.org>
1100 * libparted/disk_dos.c: replaced magic number 1023 with MAX_CHS_CYLINDER,
1101 and set this constant to >1021 rather than >=1023. Some partition tables
1102 in the wild have 1022 as a "partition-too-big-for-CHS" indicator.
1105 2004-09-13 Harley D. Eades III <hde@grics.net>
1106 * libparted/gnu.c (_device_probe_geometry): Variable declaration had
1109 2004-09-08 Andrew Clausen <clausen@gnu.org>
1110 * libparted/disk_dos.c (realloc_metadata, read_table): added an ugly hack to
1111 force metadata to be reallocated according to the new BIOS geometry.
1112 * libparted/disk_dos.c (msdos_alloc_metadata): yet another overlapping case
1113 I missed: the extended partition's partition table area needs to be
1114 small enough to leave room for the logical partition (or logical partition
1115 table) that follows it.
1116 * libparted/linux.c (linux_check): s/int/PedSector/ to be on the safe side.
1118 2004-09-07 Andrew Clausen <clausen@gnu.org>
1119 * libparted/gnu.c (_device_probe_geometry): fixed compile bug with the
1120 bios_geom initialization, and now initializes hw_geom as well.
1122 2004-09-06 Andrew Clausen <clausen@gnu.org>
1125 2004-09-05 Andrew Clausen <clausen@gnu.org>
1126 * libparted/disk_dos.c (partition_probe_bios_geometry): fixed the
1127 call ped_partition_is_active... it wasn't a function call before!
1129 2004-09-04 Andrew Clausen <clausen@gnu.org>
1130 * libparted/disk_dos.c (chs_get_sector): a bitmask operation is more elegant.
1131 * libparted/disk_dos.c (chs_to_sector, probe_partition_for_geom):
1132 replaced 1022 with 1023 for consistency.
1133 * libparted/disk_dos.c (probe_partition_for_geom): added assertions that
1134 test if the goal has been met.
1135 * libparted/disk_dos.c (read_table, msdos_alloc_metadata):
1136 Use PED_PARTITION_NORMAL instead of 0.
1137 * libparted/disk_dos.c (msdos_alloc_metadata, add_startend_metadata):
1138 Now make sure the placeholder/metadata partitions never overlap with real
1139 partitions. Should get rid of the "overlapping partitions" error message
1143 2004-09-03 Andrew Clausen <clausen@gnu.org>
1144 * libparted/disk_dos.c (disk_probe_bios_geometry): check if the partition
1145 is active before querying if it has the boot flag set. This prevents
1146 some spurious error exceptions from ped_partition_get_flag().
1147 * libparted/disk_dos.c (read_table): if we have an invalid partition table
1148 signature, we now ignore the entire partition table rather than processing
1151 2004-08-31 Andrew Clausen <clausen@gnu.org>
1152 * doc/API: fixed PedDevice documentation.
1153 * libparted/disk_dos.c (msdos_partition_duplicate): now duplicates
1154 partition->dos_data->orig.
1156 2004-08-29 Andrew Clausen <clausen@gnu.org>
1157 * libparted/linux.c (_mount_table_search): now works by comparing device
1158 major/minor rather than device names.
1159 * libparted/linux.c (_partition_is_mounted, _partition_is_mounted_by_path,
1160 linux_is_busy): minor cosmetic changes.
1161 * parted/parted.c (_partition_warn_busy): removed the "Ignore" option.
1162 Users *must* unmount!
1164 2004-08-17 Andrew Clausen <clausen@gnu.org>
1165 * libparted/exception.c (log2): renamed to ped_log2 to avoid clash with
1166 a new gcc builtin. Bug reported by David Ronis (thanks!)
1168 2004-08-16 Andrew Clausen <clausen@gnu.org>
1171 2004-08-15 Andrew Clausen <clausen@gnu.org>
1172 * include/parted/device.h (PedDevice): replaced sectors, heads, cylinders
1173 with hw_geom and bios_geom.
1174 * libparted/disk_dos.c: rewrote to use better heuristics and have a more
1175 "subjective" view of CHS geometry. (i.e. each partition's "opinion"
1177 * configure.in parted/Makefile.am: fixed linker invocation. Rumored
1178 to fix ppc64 build issues. Sent by Jeremy Katz <katzj@redhat.com>.
1180 2004-06-26 Andrew Clausen <clausen@gnu.org>
1181 * libparted/disk_dos.c (read_table): big cleanup
1182 * libparted/disk_dos.c (read_table, process_bad_chs): now probes Microsoft
1183 file systems for BIOS CHS geometry. This idea was suggested by
1184 Steffen Winterfeldt <snwint@suse.de>.
1186 2004-06-21 Andrew Clausen <clausen@gnu.org>
1187 * libparted/disk_dvh.c: some cleanups and change to fill in all fields in the
1188 header from Eric Sandeen (sandeen@sgi.com)
1190 2004-06-16 Andrew Clausen <clausen@gnu.org>
1191 * libparted/fs_fat/bootsector.c: bs->cluster_size is 8-bit; removed byteswap.
1192 Patch from John Gilmore gnu@toad.com (thanks!)
1194 2004-05-01 Andrew Clausen <clausen@gnu.org>
1195 * libparted/debug.c include/parted/debug.h (ped_assert): change prototype
1196 to have all (pointer) parameters to be const. (char* -> const char *)
1198 2004-04-25 Andrew Clausen <clausen@gnu.org>
1199 * libparted/linux.c (linux_read, linux_write): don't do the kludge ioctl
1200 for linux >= 2.6.0. Patch from Matt Domsch. (Thanks!)
1201 * libparted/fs_reiserfs/geom_dal.c, libparted/geom.c, libparted/gnu.c,
1202 libparted/linux.c: trivial patch to move pointers dereferences after
1203 "not-NULL" assertions. Patch from Guillaume. (Thanks!)
1206 2004-04-16 Andrew Clausen <clausen@gnu.org>
1207 * libparted/disk_mac.c (mac_alloc): fixed incorrect malloc() check
1208 (alex.kiernan@thus.net)
1209 * libparted/linux.c (_device_get_sector_size): always return a sane value.
1210 * added new translation: it (thanks to Giuseppe Sacco)
1211 * added new translation: uk (thanks to Maxim V. Dziumanenko)
1214 2004-04-04 Andrew Clausen <clausen@gnu.org>
1215 * re-ran libtoolize. (Patrick LoPresti <patl@users.sf.net> pointed out that
1216 ltmain.sh was way out of date)
1219 2004-03-27 Andrew Clausen <clausen@gnu.org>
1220 * configure.in: removed intl/ from AC_OUTPUT
1223 2004-03-20 Andrew Clausen <clausen@gnu.org>
1224 * libparted/disk_sun.c: avoid endian conversion on a constant (Sven Luther)
1225 * libparted/linux.c (BLKGETSIZE64): pass type directly, not sizeof().
1227 * libparted/fs_reiserfs/reiserfs.h libparted/fs_ufs/ufs.c: fix padding sizes
1229 * include/parted/disk.h libparted/disk_dos.c: add HP palo partition type.
1233 2004-03-11 gettextize <bug-gnu-gettext@gnu.org>
1234 * Makefile.am (SUBDIRS): Add m4.
1235 (SUBDIRS): Remove intl.
1236 (ACLOCAL_AMFLAGS): New variable.
1237 (EXTRA_DIST): Add config.rpath.
1238 * configure.in (AC_OUTPUT): Add m4/Makefile.
1240 2003-07-26 Andrew Clausen <clausen@gnu.org>
1241 * added new translation: zh_CN (thanks Wang Li :)
1242 * updated translation: tr
1245 2003-07-21 Andrew Clausen <clausen@gnu.org>
1246 * applied updated translations: cs, fr, ja, pl
1248 2003-06-30 Andrew Clausen <clausen@gnu.org>
1249 * libparted/disk_*.c (*_partition_duplicate): added new_part->num = part->num
1250 or result->num = part->num.
1251 * libparted/fs_ext2/ext2.c (ext2_open): changed "not cleanly unmounted"
1252 from a warning to an error, and default to cancel. Added a message saying
1253 not ignoring could cause severe corruption.
1254 * parted/parted.c (_partition_warn_busy): added a message saying not ignoring
1255 could cause severe corruption.
1256 * released 1.6.6-pre2
1257 * libparted/fs_ext2/ext2_resize.c (ext2_resize): offer to disable dir_index,
1258 explaining how to reenable it later.
1259 * libparted/fs_ext2/ext2_fs.h libparted/fs_ext2/ext2.c: added DIR_INDEX
1260 stuff... now doesn't complain too much about dir_index.
1261 * doc/parted.texi: applied Thomas Hood's changes. (thanks!)
1263 2003-06-29 Andrew Clausen <clausen@gnu.org>
1264 * libparted/disk.c (ped_disk_get_maximum_geom): applied a tight constraint
1265 for restoring the geometry. (It was loose before, and sometimes being
1266 reverted incorrectly. Ooops!)
1267 * parted/parted.c (start_end_msg): describe semantics of negative values.
1268 * released 1.6.6-pre1
1269 * added Czech translations (thanks Miloslav :)
1270 * updated Turkish, Danish translations
1272 2003-06-22 Andrew Clausen <clausen@gnu.org>
1273 * applied new Polish translations.
1274 * doc/parted.texi: s/mkparted/mkpart/ (Kent Robotti's program)
1275 * libparted/disk_gpt.c: changed some large constants to LL (long long).
1276 * parted/parted.c (do_print): translate partition type names. ("primary", etc.)
1277 * switched to new autoconf/automake/libtool. This means acconfig.h was
1278 removed, and comments were added to AC_DEFINE invocations in configure.in.
1280 2003-02-23 Andrew Clausen <clausen@gnu.org>
1281 * libparted/disk_gpt.c: applied patch from Arun Sharma <arun.sharma@intel.com>
1282 to use write version 1.0, not 1.02 on the table, for compatibility reasons.
1283 Insignificant for copyright purposes, IMHO.
1286 2003-02-16 Andrew Clausen <clausen@gnu.org>
1287 * libparted/linux.c (_disk_sync_part_table): fixed an array over-run
1288 bug reported by Sven Hartrumpf <Sven.Hartrumpf@FernUni-Hagen.de>.
1289 Applied a modified version of this patch. Insignificant for copyright
1291 * doc/parted.texi: fixed somes of typos and broken URLs.
1293 2003-01-03 Andrew Clausen <clausen@gnu.org>
1294 * released 1.6.5-pre1
1296 2002-12-26 Andrew Clausen <clausen@gnu.org>
1297 * libparted/linux.c (_match_rd_device, _compare_digit_state,
1298 _probe_proc_partitions): added, added and modified respectively to
1299 match raid devices looking like /dev/rd/c0d0, which are not partitions.
1300 * libparted/disk_dvh.c, libparted/Makefile.am, libparted/libparted.c:
1301 renamed from everything from mips to dvh, including the file name
1302 libparted/disk_mips.c.
1304 2002-12-08 Andrew Clausen <clausen@gnu.org>
1305 * applied updated translations: de
1307 2002-12-07 Andrew Clausen <clausen@gnu.org>
1308 * applied updated translations: fr, gl, tr, ja
1309 * configure.in parted/Makefile.am partprobe/Makefile.am:
1310 renamed PARTED_LDFLAGS to PARTEDLDFLAGS... it was causing automake to
1311 do some odd things (name-space collision?)
1314 2002-12-06 Andrew Clausen <clausen@gnu.org>
1315 * libparted/fs_fat/calc.c (fat_calc_sizes, fat_recommend_min_cluster_size):
1316 for fat32, try to avoid getting more than 2,000,000 clusters by increasing
1317 the cluster size. Otherwise, Windows coughs.
1318 * released 1.6.4-pre2
1320 2002-11-15 Andrew Clausen <clausen@gnu.org>
1321 * released 1.6.4-pre1
1323 2002-11-13 Andrew Clausen <clausen@gnu.org>
1324 * debug/test/test_fs_ext2: added a test for creating 0-length fs
1325 * doc/API: fixed docs for ped_disk_get_partition_by_sector() and
1326 ped_constraint_any()
1327 * doc/parted.texi: updated section on bootdisks
1328 * libparted/fs_fat/bootsector.c (fat_boot_sector_read): defined the
1329 role of error checking in this function better. [It should guarantee
1330 fat_boot_sector_probe_type() will work]. Added a check for
1331 bs->cluster_size != 0) to satisfy this clarification. (msw reported
1333 * libparted/linux.c (init_file): replaced assertion dev->length > 0 with
1334 a check + error message.
1335 * (_partition_is_root_device): now returns -1 ("unknown") on error
1336 * (_partition_is_mounted_by_path): re-did the logic with case statements,
1337 and now remembers if /proc/mounts and /etc/mtab are broken. Gives
1338 a better error message.
1339 * parted/parted.c (do_print): removed cruft: we don't print free-space
1341 * applied updated translations: fr, ja
1343 2002-08-31 Andrew Clausen <clausen@gnu.org>
1344 * parted/parted.c (do_mkpart): moved ped_constraint_destroy() to just
1345 before the return, so error handling occurs correctly.
1347 2002-08-11 Andrew Clausen <clausen@gnu.org>
1350 2002-08-10 Andrew Clausen <clausen@gnu.org>
1351 * libparted/linux.c (_kernel_has_blkgetsize64, _device_get_length):
1352 applied patch from Matt Domsch that adds support for a new ioctl,
1354 * parted/parted.c (_done): surpress the /etc/fstab advice in script mode
1356 2002-08-08 Andrew Clausen <clausen@gnu.org>
1357 * updated translations: da, de, es, fr, gl
1358 * new translations: tr (Turkish) - thanks EyĂźp :)
1360 2002-07-06 Andrew Clausen <clausen@gnu.org>
1361 * doc/parted.texi: more fixes for name, print
1364 2002-07-03 Andrew Clausen <clausen@gnu.org>
1365 * doc/pt_BR-parted.texi doc/pt_BR-FAQ: added (by Bernardo JoĂŁo Torres da
1367 * doc/Makefile.am: changes for the pt translations
1368 * doc/API: misc. fixes
1369 * doc/parted.texi: point people interested in reiserfs to reiserfs.osdn.org.ua
1370 * doc/parted.texi: updated docs for "rescue"
1371 * configure.in libparted/Makefile.am: fixed reiserfs linking issues with
1372 --enable-all-static --disable-dynamic-loading
1373 * libparted/disk.c (_disk_check_sanity): removed ugly MSDOS sanity-check.
1374 The code's well tested, and occassionally the "insane" condition occurs
1376 * libparted/disk_pc98.c (pc98_probe, check_partition_consistency): made
1377 probing a bit stricter.
1378 * libparted/fs_fat/table.c (fat_table_read): fixed a bug in the
1379 initialization of ft->cluster_count. It was calculating (incorrectly),
1380 rather than using fs_info->cluster_count. This was causing assertions to
1381 fail soon after, in some situations. This is always harmless (if you
1383 * libparted/linux.c (_mount_table_search): don't confuse "/dev/hda12"
1384 with "/dev/hda1", etc.
1385 * parted/parted.c (_timer_handler): rewrote, much simpler. Also,
1386 friendlier to epileptics!
1387 * (do_check): added a check to see if the partition in busy
1388 * (do_rescue): new implementation: now only searches in a small radius
1389 around the start for signatures. Much faster.
1390 * (wipe_line): from parted.c to ui.c
1392 2002-05-12 Andrew Clausen <clausen@gnu.org>
1393 * updated translations: ca, es, fr, gl
1394 * debug/test/test_fs_ext2: added a test for creating "0 size" fs's. (the
1395 constraint solver should deal with this)
1396 * libparted/fs_fat/bootsector.c (fat_boot_sector_analyse): when the FATs
1397 are apparantly too small... this isn't an error! Just assume there are
1399 * partprobe/Makefile.am: move @PARTED_LIBS@ to end of partprobe_LDADD.
1400 Static linking (--enable-all-static) failed without this.
1403 2002-04-30 Andrew Clausen <clausen@gnu.org>
1404 * doc/parted.texi: removed duplication of commands
1405 * updated translations: ca, es
1408 2002-04-28 Andrew Clausen <clausen@gnu.org>
1409 * parted/Makefile.am: moved @PARTED_LIBS@ after libparted in the parted
1410 rule, to satisfy dependencies correctly (--enable-all-static seemed
1412 * doc/parted.texi: updated to reflect current state of reiserfs support.
1413 Also updated legal notices to match the current situation.
1414 * doc/pt_BR-parted.8: added (thanks Minami!)
1415 * doc/Makefile.am: some automake gymnastics to get pt_BR-parted.8 installed
1417 * updated translations: de, fr, gl, ja
1418 * debug/test/fs_reiserfs: added reiserfs regression tests
1419 * libparted/fs_reiserfs/reiserfs.c (reiserfs_get_create_constraint):
1420 was setting the minimum size too low, since it was returning in (4k) blocks,
1421 not libparted 512 blocks.
1422 * released 1.6.0-pre11
1424 2002-04-25 Andrew Clausen <clausen@gnu.org>
1425 * libparted/fs_reiserfs/reiserfs.c libparted/fs_reiserfs/reiserfs.h
1426 libparted/fs_reiserfs/geom_dal.c libparted/fs_reiserfs/geom_dal.h:
1427 basically rewrote. Now interfaces to Yura Umanets' libreiserfs
1428 which can be found at: http://reiserfs.linux.kiev.ua/
1429 This patch is mainly by Yura himself. It supplies a similar level
1430 of support to that of current ext2 support. (resize-the-end, etc.)
1431 Note: libreiserfs has not been widely tested yet. Use your own judgement.
1432 * configure.in: added a "dynamic linking" option, enabled by default.
1433 Components that support this feature will only be enabled if their
1434 respective dependencies are available at *run-time*. Only reiserfs
1435 supports this. (It has a *soft* dependency on libreiserfs)
1436 * released 1.6.0-pre10
1437 * libparted/fs_fat/bootsector.c libparted/fs_fat/bootsector.h
1438 (fat_boot_sector_probe_fat_type): renamed from probe_fat_type(), and
1440 * libparted/fs_fat/fat.c (fat_probe): doesn't fail on failure in
1441 fat_boot_sector_analyse() anymore.
1443 2002-04-23 Andrew Clausen <clausen@gnu.org>
1444 * updated translations: fr.po gl.po
1445 * debug/tests/test_fs_ext2 (test_mkpartfs): added test for creating 0
1446 size file system. (Should succeed, by constraint solver finding closest
1448 * libparted/disk_gpt.c (gpt_alloc): minor bug fix (forgot /512)
1449 * (gpt_partition_new): forgot to initialize gpt_part_data->hp_service
1450 * libparted/fs_ext2/ext2_mkfs.c (ext2_mkfs): complain if the fs is too small
1451 * (_ext2_get_create_constraint): oops, the minimum size needs to be 64
1453 * libparted/timer.c (ped_timer_update): need to cast to long, because the
1454 language lawyers tell us it is necessary for ia64
1455 * parted/parted.c (_timer_handler): moved fflush() and cleaned up a bit
1456 * (_solution_check_distant): better heuristic
1457 * (main): script mode now means "non-interactive mode". This might hurt
1458 some people... please scream if it does!
1459 * parted/ui.c (command_line_get_word): minor changes in semantics.
1460 * (command_line_get_sector): use doubles, not long doubles. (yet-another
1461 gcc bug work-around)
1463 2002-04-10 Andrew Clausen <clausen@gnu.org>
1464 * "all over": moved #include <libintl.h> and friends inside #ifdef ENABLE_NLS
1465 (reported by umanets)
1466 * libparted/disk_mips.c (_flush_stale_flags): moved outside of
1467 #ifdef DISCOVER_ONLY (reported by Umanets :)
1468 * updated translations: es
1469 * include/parted/disk.h libparted/disk.c: added a flag PED_PARTITION_HPSERVICE
1470 * libparted/disk_gpt.c (gpt_partition_set_flag): fixed... wasn't setting system
1471 * libparted/disk_gpt.c: added the hp-service flag
1472 * libparted/fs_ufs/ufs.c: fixed struct ufs_super_block... wrong types for
1473 some fields... and added an assertion to ped_file_system_ufs_init() to
1474 make sure it's right (reported by Richard Hirst)
1475 * released 1.6.0-pre9
1477 2002-04-08 Andrew Clausen <clausen@gnu.org>
1478 * "all over": #include <stdint.h> and use standard types
1479 * configure.in: removed checks for __u8 and friends
1480 * updated translations: de, fr, gl, nn
1481 * libparted/disk_gpt.c: comment out __attribute__ ((packed))... work around
1483 * released 1.6.0-pre8
1485 2002-04-05 Andrew Clausen <clausen@gnu.org>
1486 * libparted/linux.c (_flush_cache): count from 1. (first partition is 1)
1487 * (_device_get_part_path): was a bit broken for devfs, causing segfaults
1488 * libparted/fs_fat/fat.c (fat_clobber): remove the "FAT16" or "FAT32"
1489 signatures as well, since lots of programs look for them.
1490 * parted/ui.c (non_interactive_mode): push each argument on as a line,
1491 so quoted parameters are parsed correctly, like "mkpartfs primary"
1492 is parsed as two words.
1493 * libparted/disk_mac.c (_rawpart_analyse): ignore boot region stuff,
1494 so it works properly with Mac OSX.
1495 * released 1.6.0-pre7
1497 2002-04-02 Andrew Clausen <clausen@gnu.org>
1498 * libparted/disk_dos.c (msdos_probe): removed lots of pc98 voodoo... really
1499 unnecessary since pc98_probe() is very conservative.
1501 2002-04-01 Andrew Clausen <clausen@gnu.org>
1502 * updated/new translations: da, de, es (new! thanks Vicente!), fr, gl, nn
1503 * doc/parted.8: updated (Timshel)
1504 * doc/partprobe.8: added (Timshel)
1505 * doc/parted.texi: updated - removed a lot of (now) unnecessary commentary
1506 * include/parted/endian.h (PED_LE64_TO_CPU): fixed... now uses PED_SWAP64
1507 * libparted/fs_linux_swap/linux_swap.c: complete restructure
1508 * parted/parted.c (do_check): return failure if ped_file_system_check()
1510 * (do_mkpart): removed leak on peek_word
1511 * (do_print, partition_print_flags, partition_print): added a more
1512 detailed print option for a single partition. (eg: "print 5")
1513 * parted/ui.c (command_line_get_fs_type): s/unkown/unknown/
1514 * (_can_create_primary): out-by-one bug on for loop
1515 * (command_line_get_new_part_type): if you can't create anymore partitions,
1517 * released 1.6.0-pre6
1519 2002-03-23 Andrew Clausen <clausen@gnu.org>
1520 * parted/parted.c (main): return 1 (error) if no device is found
1521 * libparted/linux.c (_dev_get_part_path): for devfs: strip off "/disc"
1522 (suggested by Woody Suwalski <woodys@xandros.com>)
1523 * libparted/disk_dos.c (msdos_partition_set_system): for raid/lvm,
1524 call ped_partition_set_system(), like everyone else.
1526 2002-03-16 Andrew Clausen <clausen@gnu.org>
1527 * parted/ui.c (command_line_push_line): rewrote, and commented more.
1528 * (command_line_get_sector): now accepts "-XXX" notation, to count from the
1529 end of the device (idea from Timshel, but rewritten to a 2-line change...)
1530 * libparted/disk.c (_partition_get_overlap_constraint): subtle fixes
1531 * parted/parted.c (do_resize): set default start/end to the old start/end
1532 * debug/test/test_disk_*: updated tests to test for correction (rather than
1533 failure) of overlap problemas (via the constraint solver)
1534 * updated translations: fr, gl, ja
1535 * released 1.6.0-pre5
1537 2002-03-13 Andrew Clausen <clausen@gnu.org>
1538 * libparted/filesys.c (_test_open): now calls fs_type->ops->close,
1539 not ped_file_system_close(), to be consistent with the call to
1540 fs_type->ops->open() (it opens in a non-standard way).
1541 This also happens to fix a dev->open_count bug, since
1542 ped_file_system_close() calls ped_device_close().
1544 2002-03-11 Andrew Clausen <clausen@gnu.org>
1545 * libparted/linux.c (_flush_cache): only flush partition devices if they
1547 * libparted/constraint.c (_constraint_get_end_range): fixed fencepost
1548 (out-by-one) error in maths
1549 * libparted/disk.c (_partition_get_overlap_constraint): rewrote, this
1550 time running in update mode.
1551 * (ped_disk_add_partition, ped_disk_set_partition_geom): adjusted to
1552 call _partition_get_overlap_constraint() in update mode. Much
1553 cleaner now :) (Also, there were subtle cases that were broken
1554 before, that are correct now, since neither function require
1555 the disk to be in update mode...)
1556 * applied updated translations: ca da de
1557 * libparted/linux.c (_flush_cache): set the device to clean after flushing
1558 * released 1.6.0-pre4
1560 2002-03-09 Andrew Clausen <clausen@gnu.org>
1561 * libparted/disk_dos.c: applied patch from Andreas Dilger... replaced
1562 partition magic values with #defines
1563 * libparted/linux.c (_disk_sync_part_table): applied patch from Andreas
1564 Dilger... delete all non-busy partitions and add them all back, to
1565 avoid overlap problems
1567 2002-03-09 Timshel Knoll <timshel@debian.org>
1568 * libparted/disk_mips.c (_handle_no_volume_header): fixes to "variable might
1569 be used uninitialised in this function" compile warnings. (The wrong
1570 exit goto was being called from the PED_EXCEPTION_CANCEL case)
1571 * parted.m4: don't call AC_CANONICAL_HOST, AC_REQUIRE(AC_CANONICAL_HOST)
1572 instead! This fixes getting an autoconf warning about AC_CANONICAL_HOST
1573 being invoked multiple times
1575 2002-03-03 Andrew Clausen <clausen@gnu.org>
1576 * libparted/device.c (_ped_device_probe): don't need to canonicalize
1577 the path (again). (pointed out by Andreas)
1578 * libparted/disk.c (_partition_get_overlap_constraint,
1579 _disk_check_part_overlaps, _partition_check_basic_sanity,
1580 _check_extended_partition, _check_partition¸ ped_disk_add_partition,
1581 _calc_aligned_geom, _check_new_extended_geometry, _check_changed_geometry,
1582 ped_disk_set_partition_geom, ped_disk_get_max_partition_geometry):
1583 major surgery: when creating/modifying a partition, we compute an overlap
1584 constraint rather than checking if the partition overlaps after going
1585 through the alignment process
1586 * libparted/disk_dos.c (msdos_partition_set_system): check fs_type is
1587 non-null, and get the strcmp right (needed a !)
1588 * parted/parted.c (_solution_check_distant): fixed a bug... it was
1589 only saying that >=10% bigger was "distant" (not >=10% smaller)
1590 * parted/ui.c (command_line_prompt_words): if there is one possibility,
1591 then set it to default
1592 * (command_line_get_fs_type): complain if the user doesn't type in something
1593 that matches a file system
1594 * released 1.6.0-pre3
1596 2002-02-21 Andrew Clausen <clausen@gnu.org>
1597 * libparted/exception.c (default_handler): default_handler now writes to
1598 stderr, not stdout (patch from Andreas Dilger)
1600 2002-01-26 Anderw Clausen <clausen@gnu.org>
1601 * libparted/filesys.c (ped_file_system_copy): don't ped_device_close()
1602 new_fs->geom. (It's still open!) (reported by "andreas t"
1603 <FNEUWUOUTPKR@spammotel.com>)
1604 * libparted/fs_fat/resize.c (create_resize_context): copy old serial number
1605 on resizing (fs_info->serial_number) (reported by Andreas Dilger)
1606 * libparted/linux.c (_probe_proc_partitions): use fgets(), so we don't barf
1607 on junk at end-of-line (patch by Andreas Dilger)
1608 * (linux_probe_all): call _probe_standard_devices unconditionally...
1609 /proc/partitions might give devfs paths, even if there is no devfs,
1610 making /proc/partitions somewhat useless :/
1611 * included new/updated translations: 1.6: fr, nn 1.4: ca, da, de
1612 * released 1.6.0-pre2
1614 2002-01-24 Andrew Clausen <clausen@gnu.org>
1615 * libparted/disk_dos.c (msdos_probe): changed strcmp (x, "FAT") to
1616 strncmp (x, "FAT", 3)... stupid bug
1618 2002-01-23 Andrew Clausen <clausen@gnu.org>
1619 * libparted/filesys.c (ped_file_system_open): now calls fs_type->ops->open
1620 on the probed geometry returned by fs_type->ops->probe. If this doesn't
1621 lie within the geometry passed to ped_file_system_open, then we complain
1622 loudly. Also, this means that:
1623 ped_geometry_test_inside (geom,
1624 ped_file_system_probe_specific (fs->type, geom))
1626 * doc/parted.texi doc/USER/Makefile.am doc/fdl.texi doc/COPYING.doc:
1627 replaced plaintext docs with texinfo versions. This conversions was
1628 done by Richard M. Kreuter (thanks!)
1629 * released 1.6.0-pre1
1631 2002-01-21 Matt Domsch <matt_domsch@dell.com>
1632 * libparted/disk_gpt.c (gpt_probe, _is_pmbr_valid): needed a few
1633 PED_CPU_TO_LEXX conversions to be safe
1634 * (swap_uuid_and_efi_guid, gpt_alloc, gpt_partition_new): Due to Intel
1635 madness, RFC-defined UUIDs and GUIDs and Intel's specification
1636 of efi_guid_t aren't quite the same. Close, but no cigar...
1637 So, uuid_generate(uuid) gives a perfectly valid big-endian uuid, but needs
1638 to have some fields byte-swapped to be considered an efi_guid_t. Likewise,
1639 an efi_guid_t needs to be byte-swapped back to a big-endian uuid prior to
1640 calling uuid_unparse() on it.
1642 2002-01-20 Andrew Clausen <clausen@gnu.org>
1643 * libparted/linux.c (linux_refresh_close): only flush caches if there have
1645 * updated po/nn.po (thanks Kjetil)
1646 * debug/test/HOWTO: wrote/added
1648 -----------------------------------------------------------------------------
1650 -----------------------------------------------------------------------------
1652 2002-01-16 Andrew Clausen <clausen@gnu.org>
1654 updated the user documentation, fixed minor FAT bugs, major MIPS
1655 partition table bugs, minor changes to UI, fixed all regression tests
1657 * debug/clearfat/clearfat.c (main): check if fs->type->name is fat16/fat32,
1659 * debug/test/test (ped_test_get_val, ped_test, ped_test_expect_fail):
1660 now operate in parted's script mode. Removed support for parsing input
1661 in stdin (it gets ignored in script mode)
1662 * debug/test/test_*: remove extra parameter for stdin input
1663 * debug/test/test_disk_* (test_outside_boundary): removed... the front end
1664 deals with this, and obviously works ;)
1665 * debug/test/test_disk_msdos debug/test/test_disk_pc98 (test_primary_overlap):
1667 * debug/test/test_disk_mips: added
1668 * debug/test/test_fs_ext2 (do_diff, prepare_resize_tests): to make the diff
1669 "right", make diff ignore lost+found, rather than deleting it before
1671 * debug/test/test_fs_ext2: e2fsck -n... otherwise new version refuse to run
1673 * debug/test/test_fs_fat (test_mkpartfs): added two tests for creating
1674 minimum size fat16 and fat32. Give the constraint solver some work ;)
1675 * libparted/disk_*.c (*_partition_set_system): removed "special" cases
1676 for partition types, if the special case is the default
1677 * libparted/disk_mips.c (mips_read, mips_write, mips_partition_new,
1678 mips_partition_get_flag, mips_partition_set_flag):
1679 MIPSDiskData now uses partition numbers, not pointers to maintain the
1680 swap/boot/root flags. There was a dangling pointer bug on removing
1681 partitions, which was fundamental to the old bogus design.
1682 * (_flush_stale_flags, mips_partition_enumerate): detect dangling partition
1683 nubers on swap/boot/root flags, and remove them.
1684 * (_handle_no_volume_header, mips_read): deal with missing volume header
1686 * (_generate_partition): fixed out-by-2 bug... should be ajdusting upwards
1688 * (_get_strict_primary_constraint): renamed from (_get_strict_constraint)
1689 * (_get_strict_primary_constraint): now won't "align" a partition on top
1691 * libparted/disk_pc98.c (pc98_partition_set_flag): removed old cruft wrt
1693 * libparted/disk_sun.c (sun_partition_set_flag): removed old cruft wrt
1695 * libparted/fs_fat/calc.c libparted/fs_fat/calc.h
1696 (fat_min_cluster_size, fat_max_cluster_size): added
1697 * (calc_sizes, fat_calc_sizes): replaced first parameter (geom) with a length
1698 * (calc_sizes): make the "fat_space" adjustment only if the old value was
1699 impossible. (This is what Windows does FWICT, but I need to collect more
1701 * (fat_calc_sizes, fat_calc_resize_sizes): iterate between
1702 (fat_min_cluster_size, fat_max_cluster_size)
1703 * libparted/fs_fat/fat.c (fat_create): call (fat_table_set_cluster_count),
1704 so the free cluster count is calculated properly on FAT32
1705 * (_test_resize_size): renamed from (_test_size)
1706 * (_get_min_resize_size): renamed from (_get_min_size)
1707 * (fat_get_create_constraint_fat16, fat_get_create_constraint_fat32):
1708 plugged in magic constants instead of computing. Computing is hard, and
1709 the hack used is commented out (it's fragile). Should be fixed...
1710 * libparted/fs_fat/resize.c (fat_resize, free_root_dir): when the fs
1711 is converted fat32 -> fat16, the root directory was been duplicated,
1712 but not referenced (fat16 has a separate area for the root dir). This
1713 lead to these clusters appearing as "lost clusters" in dosfsck, etc.
1714 Now, we free the root directory.
1715 * parted/parted.c (_grow_over_small_freespace): only grow over freespace
1717 * parted/parted.c (_done): give warnings about lilo and /etc/fstab
1718 * (do_mkpart): made the file system parameter optional
1719 * doc/USER: updated to match 1.5.x
1722 2002-01-14 Andrew Clausen <clausen@gnu.org>
1724 updated API docs, fixed the regression tests, fixed UI code that
1725 does stupid things for non-interactive runs and bug fixes.
1726 * doc/API: updated to be consistent with the libparted API. This involved
1727 lots of small changes, and also the addition of the new PedTimer API.
1728 * include/parted.h libparted/libparted.c libparted/disk.c: removed the PedID
1729 interface. It was for a dead-end idea.
1730 * include/timer.h: added some comments
1731 * libparted/disk.c: misc cleanups, added assertions, etc.
1732 * libparted/disk_dos.c (read_table): merged bugfix from 1.4.x. Nested calls
1733 to read_tables() (on nested extended partitions) are moved out into a
1734 separate loop, to make sure they are called after logical partitions are
1735 added. This makes the numbering consistent with Linux and fdisk. Some
1736 versions of Disk Druid appear to make such partition tables.
1737 * libparted/disk_dos.c (msdos_partition_set_flag): use part->fs_type, rather
1738 than other magic for calling ped_partition_set_system()
1739 * libparted/linux.c: removed all <linux/*> includes, and copied relevant
1741 * (linux_close): added a call to _flush_cache()
1742 * (_disk_sync_part_table): iterate to PED_MAX(last_part, 16), not PED_MIN.
1743 * parted/parted.c (_timer_handler_timer_handler): don't display a progress
1744 meter if stdout isn't a terminal.
1745 * parted/ui.c (exception_handler): don't ask the user for another chance
1746 to select an option, if stdin isn't a terminal.
1747 * (command_line_get_ex_opt): return PED_EXCEPTION_UNHANDLED on error, not
1748 0. (They are the same number... just a philosophical change)
1749 * (command_line_get_ex_opt): iterate from PED_EXCEPTION_OPTION_FIRST not 0
1750 - likewise, same number.
1751 * debug/test/test_disk_dos (test_logical_outside_extended): uncommented
1752 test, and modified to test that the constraint solver fixes this (i.e. puts
1753 the logical partition inside the extended partition)
1754 * (test_shrink_extended_too_far): likewise
1755 * (test_outside_boundary): removed. (the front end will "correct" this to
1756 a certain amount... there are enough assertions to catch problems
1758 * (test_move_primary, test_move_logical): use fat16 instead of fat. (fat
1760 * released 1.5.6-pre3
1762 2002-01-01 Andrew Clausen <clausen@gnu.org>
1763 * renamed discover to partprobe in all occurances (the binary, the directory,
1765 * libparted/disk.c (ped_disk_check): when reporting a mismatch in
1766 partition and file system sizes, was out by a factor of 4
1767 * (_disk_alloc_freespace): wasn't allocating the first sector of the device
1768 to a freespace partition, even if it was free. (in all cases except
1769 loopback, this is occupied by partition table metadata, so it didn't
1770 manifest itself much)
1771 * parted/parted.c (_grow_over_small_freespace): rewrote, old version didn't
1772 deal with some special cases gracefully
1773 * released 1.5.6-pre2
1775 2001-12-31 Andrew Clausen <clausen@gnu.org>
1776 * configure.in: added --enable-debug, --enable-read-only,
1777 --enable-discover-only --enable-fs, and made correspond #define's appear
1778 in config.h (via acconfig.h beaurocracy), with the macros defined as
1779 DEBUG, READ_ONLY, DISCOVER_ONLY, ENABLE_FS respectively. DISCOVER_ONLY
1780 #ifdef's out sanity checks in libparted/disk.c, and all write support
1781 in libparted/disk_*.c, and everything except probing in libparted/fs*/*
1782 * clearfat/clearfat.c: hacked up to compile to a no-op if
1783 --enable-discover-only is selected (it acceses fs_fat internals which
1784 are #ifndef DISCOVER_ONLY)
1785 * parted/debug.h: added #include "config.h", to see if it should enable
1786 PED_ASSERT (if DEBUG is defined)
1787 * include/parted/device.h (ped_device_get_part_path): removed stale prototype
1788 * include/parted/disk.h libparted/disk.c (ped_disk_commit_to_os,
1789 ped_disk_commit_to_arch): added to API and implemented.
1790 * (_ped_partition_attempt_align): added to internal API. It replaces
1791 (_try_constraint) that was cut&pasted in libparted/disk_*.c. Removed
1792 (_try_constraint), and replaced all references
1793 * include/parted/timer.h libparted/timer.c (ped_timer_destroy_nested):
1794 added to API. Calling (ped_timer_destroy) leaked the timer's context.
1795 * libparted/constraint.c (_constraint_get_canonical_start_range): fixed,
1796 so it never attempts to initialize start_min_max_range() outside the
1797 device (and thus throw an exception, etc.)
1798 * libparted/disk_*.c libparted/fs_*: removed method prototypes, and moved
1799 the vtable and registration functions to the end of the file.
1800 * libparted/disk_gpt.c: fixed endianness in *_GUID defines
1801 * libparted/disk_gpt.c libparted/disk_mac.c (_grow_over_small_freespace):
1802 removed all references, etc. Now the responsibility of the frontend
1803 * parted/parted.c (_grow_over_small_freespace, do_mkpart, do_mkpartfs,
1804 do_move, do_resize): added _grow_over_small_freespace, and do_* call it.
1805 * libparted/filesys.c (_raw_copy, _raw_copy_and_resize): added timer
1806 * libparted/fs_fat/clstdup.c (fat_duplicate_clusters, count_frags_to_dup,
1807 write_fragments): better timer heuristic
1808 * parted/ui.c (_readline): in script mode, don't call readline(), because
1809 it doesn't deal with EOF properly
1810 * parted/ui.c (screen_width): return a big number in script mode, so we
1811 don't do wrapping. (Makes parsing output easier)
1812 * parted/ui.c parted/ui.h (command_line_get_sector): now has an extra
1813 parameter, dev. This is used to "round" sectors outside of the device
1814 inside, to avoid the annoying "can't create partition outside disk"
1816 * released 1.5.6-pre1
1818 2001-12-28 Andrew Clausen <clausen@gnu.org>
1819 * include/parted/timer.h libparted/timer.c: added timer API
1820 * include/parted/filesys.h (ped_file_system_create, ped_file_system_copy,
1821 ped_file_system_check, ped_file_system_resize): now use a timer.
1822 Updated all file systems that implement these to match the new API,
1823 and implemented basic timers.
1824 * parted/parted.c: added a timer, and use it for all FS operations than
1828 2001-12-27 Andrew Clausen <clausen@gnu.org>
1829 * include/parted/constraint.h libparted/constraint.c: added a max_size
1830 field to PedConstraint, and updated the constraint solver, etc. to
1832 * (ped_file_system_get_create_constraint,
1833 ped_file_system_get_copy_constraint): added to API, and implemented for
1835 * parted/parted.c (do_move, do_resize, do_mkfs, do_mkpartfs): use
1836 (ped_file_system_get_resize_constraint, ped_file_system_get_copy_constraint)
1837 * applied ext2/ext3 split change that exists in 1.4.x.
1839 2001-12-18 Andrew Clausen <clausen@gnu.org>
1840 * libparted/linux.c: applied modified patch from Hong H. Pham
1842 - (linux_disk_commit): Force reread of partition table if DevFS is active.
1843 - (_have_devfs): added, checks if the system is using DevFS.
1844 - (linux_disk_commit, _device_get_part_path): modified to use (_have_devfs).
1845 - (_get_linux_version): modified to use uname(2), rather than probing
1846 /proc/sys/kernel/osrelease. Kernel version checking is done using by
1847 using the KERNEL_VERSION() macro in <linux/version.h>
1848 Affected functions are (_device_get_sector_size, _have_blkpg).
1849 - (linux_probe_all): if (_probe_proc_partitions) fails, resort
1850 to doing a blind device probe (_probe_standard_devices). Since
1851 /proc/partitions contains all the block devices and partitions that
1852 the kernel has detected and is currently using, I do not see why we
1853 have to waste time probing for devices that do not exist, or devices
1854 that have already been probed. A few seconds in initialisation time
1855 can be saved if we avoid the blind device probe.
1857 2001-12-17 Andrew Clausen <clausen@gnu.org>
1858 * include/parted/disk.h (set_system): added to interface
1859 * (set_extended_system): removed from interface
1860 * include/parted/filesys.h libparted/filesys.c (copy, ped_file_system_copy):
1861 now returns the newly created file system
1862 * (set_system, ped_file_system_set_system): removed. (has now become PedDisk
1863 implementations' responsibility)
1864 * libparted/disk.c (ped_partition_set_system): is now just a simple wrapper
1865 for disk->type->ops->set_system
1866 * updated all file systems and disk labels to new interface
1867 * libparted/disk_mips.c (_checksum, mips_read, mips_write): now check and set
1868 checksum appropriately
1869 * libparted/fs_fat/fat.c libparted/fs_fat/resize.c (ped_file_system_fat_init,
1870 fat_create, fat_probe, fat_copy, resize_context_assimilate): split fat_type
1871 into fat16_type and fat32_type
1872 * parted/parted.c (do_cp, do_resize): update to the new ped_file_system_copy
1873 and ped_partition_set_system interface/semantics
1874 * released 1.5.5-pre6
1876 2001-12-02 Andrew Clausen <clausen@gnu.org>
1877 * libparted/disk_gpt.c: basically rewritten (based on the same file from
1879 * released 1.5.5-pre4
1880 * libparted/disk_mips.c: implemented
1881 * libparted/dvh.h: thieved from dvhtools
1882 * include/parted/disk_mips.h: added
1883 * po/POTFILES.IN: updated
1884 * updated all file systems to support GPT and MIPS
1885 * fixed Makefile.am, so MIPS and GPT support build properly
1886 * released 1.5.5-pre5
1888 2001-12-01 Andrew Clausen <clausen@gnu.org>
1889 * PedDiskOps.free() now returns void
1890 * ped_disk_destroy() now returns void
1892 2001-11-29 Andrew Clausen <clausen@gnu.org>
1893 * merged changes from 1.4.21
1894 * released 1.5.5-pre3
1896 2001-11-20 Andrew Clausen <clausen@gnu.org>
1897 * libparted/linux.c (init_ide, init_scsi, init_file, init_generic,
1898 linux_destroy): applied patch from Hong H. Pham <hhp@unitycode.org>
1899 (with modifications). All dev->model assignments now allocate
1900 memory properly (rather than returning const strings - i.e. the old
1901 code leaked, but didn't corrupt memory), and linux_destroy() frees
1902 properly. SCSI code completely cleaned up (replaced magic numbers
1903 with good structs, etc.)
1905 2001-11-19 Neal H Walfield <neal@cs.uml.edu>
1906 * libparted/gnu.c (gnu_partition_get_path): Fix typo
1908 2001-11-14 Andrew Clausen <clausen@gnu.org>
1909 * libparted/disk.c (ped_disk_new, ped_disk_new_fresh, ped_disk_commit,
1910 ped_disk_clobber, ped_disk_clobber_exclude): now calls ped_device_open and
1912 * libparted/disk_*.c: removed calls to ped_device_open and ped_device_close
1913 * libparted/filesys.c (ped_file_system_open, ped_file_system_create,
1914 ped_file_system_copy, ped_file_system_probe, ped_file_system_clobber):
1915 added to calls to ped_device_open and ped_device_close (on error, and for
1916 normal exit for probe and clobber)
1917 * libparted/filesys.c (ped_file_system_close): now calls ped_device_close
1919 2001-10-11 Andrew Clausen <clausen@gnu.org>
1920 * fixed some minor bugs in libparted/gnu.c (spelling mistakes, etc.)
1921 * released 1.5.5-pre2
1923 2001-10-09 Andrew Clausen <clausen@gnu.org>
1924 * OVERVIEW OF CHANGES:
1925 The _arch_* functions in include/parted/device.h and
1926 include/parted/disk.h where removed, and replaced by vtables. The
1927 vtables are controlled by the ped_set_architecture() function. The
1928 motivation for this change is to allow the same libparted shared library
1929 to support multiple architectures. "architecture" could mean IBM's EVMS,
1930 or any library that wants to expose it's own virtual devices to libparted,
1931 not just "operating system".
1933 * include/parted/device_gnu.h, include/parted/device_linux.h:
1934 renamed to gnu.h and linux.h respectively
1935 * include/parted/device.h (_arch_device_new, _arch_device_destroy,
1936 _arch_device_open, _arch_device_refresh_open, _arch_device_close,
1937 _arch_device_refresh_close, _arch_device_read, _arch_device_write,
1938 _arch_device_check, _arch_device_sync, _arch_device_probe_all):
1939 removed these functions, and added them as fields to the new vtable
1940 "struct _PedDeviceArchOps". Also, a device_is_busy() method was added.
1941 * include/parted/device.h (ped_device_is_busy): added to the API
1942 * include/parted/disk.h (_arch_partition_is_busy, _arch_disk_is_busy,
1943 _arch_disk_commit): removed these functions.
1944 * include/parted/disk.h: added "struct _PedDiskArchOps". Contains
1945 methods partition_get_path, partition_is_busy and disk_commit.
1946 * include/parted/disk.h (ped_disk_is_busy): Removed from API. (Can be
1947 implemented trivially via ped_device_is_busy (disk->dev)). Is this a bad
1949 * include/parted/disk.h (ped_partition_get_path): added to the API
1950 * include/parted/parted.h (ped_set_architecture): added to the API
1951 * include/parted/parted.h: added "struct _PedArchitecture" and
1953 * libparted/Makefile.am: updated to reflect that all linux-specific stuff
1954 is now in linux.c, and gnu/hurd stuff in gnu.c
1955 * libparted/disk_arch_gnu.c, libparted/disk_arch_linux.c,
1956 libparted/device_gnu.c, libparted/device_linux.c: contents moved to
1957 libparted/gnu.c and libparted/linux.c respectively
1958 * libparted/device.c: s/_arch_/ped_architecture->dev_ops->/g
1959 * libparted/device.c (ped_device_is_busy): new function
1960 * libparted/device.c (ped_device_get_part_path): removed. Use
1961 ped_partition_get_path() instead
1962 * libparted/disk.c: s/_arch_/ped_architecture->disk_ops->/g
1963 * libparted/disk.c (ped_disk_is_busy): removed (use ped_device_is_busy instead)
1964 * libparted/disk.c (ped_partition_get_path): new function
1965 * libparted/parted.c (ped_set_architecture): new function
1966 * libparted/parted.c (ped_architecture): new global variable
1967 * parted/ui.c (_readline): call to readline needs to cast away from
1968 (const char*) to char*, due to C brain damage. (readline 4.1 assigns to a
1970 * released 1.5.5-pre1
1972 2001-10-07 Andrew Clausen <clausen@gnu.org>
1973 * merged changes to 1.4.20-pre3, except gpt
1976 2001-08-23 Neal H Walfield <neal@cs.uml.edu>
1977 * configure.in (libshouldbeinlibc): Correct the text.
1978 (libstore): Likewise.
1980 2001-08-24 Neal H Walfield <neal@cs.uml.edu>
1981 * include/parted/device_gnu.h (ped_device_new_from_store): Remove the consume
1983 * libparted/device_gnu.c (ped_device_new_from_store): Likewise.
1985 2001-08-24 Andrew Clausen <clausen@gnu.org>
1986 * released 1.5.4-pre3
1988 2001-08-21 Neal H Walfield <neal@cs.uml.edu>
1989 * parted.m4 (PARTED_CHECK_LIBPARTED): Renamed from AC_CHECK_LIBPARTED.
1990 There are only two resevered autoconf namespaces: AC_* and AM_*;
1991 avoid them. Be more verbose when printing error messages.
1993 2001-08-23 Andrew Clausen <clausen@gnu.org>
1994 * doc/API: updated to reflect new (ped_device_open, ped_device_close,
1995 ped_device_new_from_*, ped_device_destroy) semantics
1997 2001-08-21 Neal H Walfield <neal@cs.uml.edu>
1998 * include/parted/device_gnu.h (_GNUSpecific): New member, consume.
1999 (ped_device_new_from_store): Prototype it.
2000 * libparted/device_gnu.c (_init_device): General PedDevice initializer ripped
2001 from _arch_device_new.
2002 (_arch_device_new): Use _init_device.
2003 (_done_device): General PedDevice destructor, ripped from _arch_device_destroy.
2004 (_arch_device_destory): Reimplemented using _done_device.
2005 (_arch_device_open): Functionality moved from here...
2006 (_arch_device_new): ... here.
2007 (ped_device_new_from_store): New function.
2008 (_arch_device_close): Do not close the store here.
2009 (_arch_device_destory): Close it here if ARCH_SPECIFIC->consume is true.
2011 2001-08-20 Andrew Clausen <clausen@gnu.org>
2012 * include/parted/device.h (ped_device_destroy): added prototype
2013 * libparted/device.c (added ped_device_destroy): implemented
2014 * libparted/device.c (added ped_device_free_all): now calls ped_device_destroy
2015 * released 1.5.4-pre2
2017 2001-08-20 Neal H Walfield <neal@cs.uml.edu>
2018 * parted.m4: Rename AM_PATH_PARTED to AC_CHECK_LIBPARTED.
2019 (AC_CHECK_LIBPARTED): Do proper quoting.
2020 [host_os=gnu]: Check for libshouldbeinlibc and libstore.
2021 Set PARTED_LIBS to detected libraries.
2022 * configure.in: Before checking for libstore, see if an old version of
2023 libparted is installed. When checking for libstore, include all libraries
2024 that we might need (and that were detected).
2026 2001-08-20 Andrew Clausen <clausen@gnu.org>
2027 * merged changes to 1.4.18
2029 2001-08-16 Andrew Clausen <clausen@gnu.org>
2030 * include/parted.c: removed ped_init and ped_done prototypes
2031 * libparted/libparted.c (ped_init, ped_done): replaced with a gcc constructor
2032 / destructor, (_init, _done), respectively.
2033 * libparted/exception.c (ped_exception_set_handler): if NULL is passed,
2034 default_handler() is set.
2035 * parted/parted.c (_init, _done): remove calls to ped_init() and ped_done()
2036 * debug/clearfat.c (main): likewise
2037 * parted/ui.c (done_ui): return to default exception handler
2038 * libparted/device.c (devices): Remove superfluous zero initializer.
2039 (thanks tim/neal/msw!)
2041 2001-08-15 Marcus Brinkmann <marcus@gnu.org>
2042 * configure.in: Correctly detect large file support using
2043 AC_SYS_LARGEFILE, not getconf LFS_CFLAGS.
2045 2001-08-12 Neal H Walfield <neal@cs.uml.edu>
2046 * configure.in: Add check for canonicalize_file_name.
2047 * config.h (HAVE_CANONICALIZE_FILE_NAME): New marcro.
2048 * libparted/device.c (_GNU_SOURCE): Enable GNU extensions.
2049 [!HAVE_CANONICALIZE_FILE_NAME] (canonicalize_file_name):
2051 (_readlink): Depreciated and removed in favor of
2052 canonicalize_file_name.
2053 (_strcut): Likewise.
2054 (_remove_double_slash): Likewise.
2055 (_remove_dots): Likewise.
2056 (_normalize_path): Likewise.
2057 (_ped_device_probe): Use canonicalize_file_name, not
2059 (ped_device_get): Likewise.
2060 * doc/API: Fix errors. Update section the section on ped_disk.
2061 * libparted/device_gnu.c (_arch_device_open): Call store_typed_open, not
2062 store_open. Don't save the error message, save the error code.
2064 August 13th 2001 - Andrew Clausen <clausen@gnu.org>
2065 * merged changes to 1.4.18-pre2
2066 * released 1.5.4-pre1
2068 August 12th 2001 - Andrew Clausen <clausen@gnu.org>
2069 * added a private OS-specific partition table interface, and moved relevant code
2070 from device.c to disk_arch_{linux,gnu}.c.
2071 * added blkpg sync support (for Linux)
2073 August 5th 2001 - Andrew Clausen <clausen@gnu.org>
2074 * fixed mkpartfs on extended partitions
2077 July 27th 2001 - Andrew Clausen <clausen@gnu.org>
2078 * moved FAT table backup comparison out of fat_open() to fat_check()
2079 * added a checked flag to PedFileSystem. ped_file_system_{copy,resize}()
2080 make sure a check happens first.
2083 July 24th 2001 - Andrew Clausen <clausen@gnu.org>
2084 * merged changes to 1.4.17
2086 July 15th 2001 - Andrew Clausen <clausen@gnu.org>
2087 * fixed jfs prober (oops)
2088 * fixed bug in ext2 mkfs code and in ext2_commit_meta(): s_block_group_nr was 0
2089 * _ext2_probe() is now intelligent about finding a superblock that has
2090 s_block_group_nr != 0: it looks for the group 0 super block.
2091 * changed the heuristics for ped_file_system_probe() and ped_disk_check(),
2092 to become less significant for when "the numbers are close". (motivation:
2093 jfs doesn't create a small block group at the end, so it doesn't utilize
2094 the fs fully. We don't want jfs to lose to ext2 in the probe, on a minor
2095 difference like this...)
2096 * merged changes to 1.4.16-pre1
2098 July 14th 2001 - Andrew Clausen <clausen@gnu.org>
2099 * added ped_constraint_new_from_{min,max,min_max}() to the constraint API,
2100 and removed their equivalents from parted/parted.c. Also, used them in
2101 libparted/disk_* where appropriate.
2103 July 13th 2001 - Andrew Clausen <clausen@gnu.org>
2104 * hacked /usr/share/aclocal/gettext.m4, replacing ac_given_srcdir with
2105 ac_srcdir. This fixes the problem of po/Makefile not being generated. (Also
2106 notified bug-gnu-utils@gnu.org) The problem seems to be that gettext 0.10.38
2107 is incompatible with autoconf 2.50.
2108 * released 1.5.3-pre1
2110 July 12th 2001 - Andrew Clausen <clausen@gnu.org>
2111 * updated reiserfs_probe(), to return the probed size, rather than what was
2112 given to it. (All that remain are hfs and ntfs)
2113 * in theory, fixed ufs's probe() (need to test this)
2114 * added xfs and jfs probe()/clobber() support (properly ;-)
2116 July 11th 2001 - Andrew Clausen <clausen@gnu.org>
2117 * added ped_disk_check()
2118 * removed assertions in file system code for fs->geom == probed geometry.
2119 (This is now done ped_disk_check())
2122 July 10th 2001 - Andrew Clausen <clausen@gnu.org>
2123 * removed PED_PARTITION_PRIMARY - think of PedPartitionType as a bit-field
2124 * changed PedFileSystemOps.probe() to return a PedGeometry* (rather than int),
2125 corresponding to the size/location of the discovered file system. Updated
2126 ped_file_system_probe() to use this as a heuristic
2127 * added a rescue command
2128 * made command_line_prompt_words() use "def" (if available) in script mode
2130 June 26th 2001 - Andrew Clausen <clausen@gnu.org>
2131 * released 1.5.2-pre3 (internally)
2133 June 23rd 2001 - Andrew Clausen <clausen@gnu.org>
2134 * applied more GNU/Hurd patches from Neal, and autoconfused them
2136 June 17th 2001 - Andrew Clausen <clausen@gnu.org>
2137 * replaced PedGeometry's PedDisk* disk field with PedDevice* dev
2138 * released 1.5.2-pre2
2140 June 13th 2001 - Andrew Clausen <clausen@gnu.org>
2141 * backed out some experimental changes (checkpoints) in PedDisk
2142 * cleaned up autoconfusion for device_*.c
2143 * merged changes to 1.4.15-pre1
2144 * released 1.5.2-pre1
2146 March 16th 2001 - Andrew Clausen <clausen@gnu.org>
2147 * put libparted/device/* into one file
2149 January 31st 2001 - Andrew Clausen <clausen@gnu.org>
2150 * added ped_disk_duplicate(), and implemented the code for all disk labels
2151 * added a PedDisk checkpoint API
2152 * released 1.5.1-pre1
2154 January 29th 2001 - Andrew Clausen <clausen@gnu.org>
2155 * added Sun regression tests
2156 * added non-interactive mode support to new UI
2159 January 26th 2001 - Andrew Clausen <clausen@gnu.org>
2160 * merged changes in 1.4.8-pre2
2161 * ported disk_sun.[ch] to the new interface
2163 January 25th 2001 - Andrew Clausen <clausen@gnu.org>
2164 * merged forked parted-ui branch (which was unreleased). Makes the
2165 interactive interface much cooler :-)
2166 * released 1.5.0-pre2
2168 January 24th 2001 - Andrew Clausen <clausen@gnu.org>
2169 * added ped_disk_clobber_exclude(PedDevice* dev, PedDiskType* exclude). This
2170 is now used by ped_disk_commit(), because you shouldn't clobber the old disk
2171 label, if it is of the same type, because it might contain information (like
2172 boot strapping) that we want to preserve.
2174 January 23rd 2001 - Andrew Clausen <clausen@gnu.org>
2175 * first stage of new PedDisk interface: replaced
2176 ped_disk_{open,create,read,write,close}
2177 with ped_disk_{new,new_fresh,destroy,commit}
2178 * changed the interface between disk modules and the API, and updated the
2180 * released 1.5.0-pre1
2182 -----------------------------------------------------------------------------
2183 1.4.x (before fork for development version)
2184 -----------------------------------------------------------------------------
2186 January 18th 2001 - Andrew Clausen <clausen@gnu.org>
2187 * we now require autoconf 2.49b to build configure from configure.in,
2188 because it provides the new AC_CHECK_SIZEOF
2189 * use new AC_CHECK_SIZEOF for off_t.
2190 * changed configure.in to match the new AC_CHECK_TYPE
2191 * hacked libtool.m4 (!)... I hope this all gets fixed properly, soon...
2193 January 17th 2001 - Andrew Clausen <clausen@gnu.org>
2194 * tried to make libparted/device.c more portable
2195 * libparted/fs_fat/bootsector.h - fixed the size of the FAT16 part of the
2196 union... needed an extra byte in boot_code. (purely aesthetic ;-)
2198 January 15th 2001 - Andrew Clausen <clausen@gnu.org>
2201 January 10th 2001 - Andrew Clausen <clausen@gnu.org>
2202 * fixed ped_file_system_clobber() - wasn't leaving/fetching exceptions
2205 January 9th 2001 - Andrew Clausen <clausen@gnu.org>
2206 * fixed _calc_min_logical_start() - was horribly broken. Only affects the new
2207 work-around for "cylinder not aligned", etc.
2208 * released 1.4.7-pre4 (internally)
2209 * don't try to guess the geometry for a second time... (introduced
2210 geom_already_guessed to PedDevice)
2211 * released 1.4.7-pre5
2213 January 8th 2001 - Andrew Clausen <clausen@gnu.org>
2214 * ext2_mkfs now enables file-type by default.
2215 * ped_partition_new() (not DISK_partition_new()) calls
2216 ped_partition_set_system() now. Makes sure it calls ped_partition_set_system()
2217 for extended partitions too!
2218 * released 1.4.7-pre1 (internally)
2219 * added documentation for ped_file_system_clobber()
2220 * fixed semantics for ped_file_system_clobber() - they need to change, since
2221 ped_file_system_probe() is different...
2222 * released 1.4.7-pre2 (internally)
2223 * released 1.4.7-pre3
2225 January 6th 2001 - Andrew Clausen <clausen@gnu.org>
2226 * msdos_partition_new() if there is no file system passed, sets the system
2227 to 0x83. 0 is a bad choice, because it means it isn't a partition. It's
2228 an even worse choice, because it will make msdos_probe() fail.
2231 January 5th 2001 - Andrew Clausen <clausen@gnu.org>
2232 * "partition not aligned" workaround (similar to that in 1.2.x)
2233 * uses dgettext (PACKAGE, ...) instead of gettext (...). Updated API docs,
2234 to reflect this (for ped_partition_flag_get_name(), etc.)
2235 * released 1.4.6-pre1
2236 * fixed brain-dead bug, dealing with min_geom in _primary_constraint()
2237 in libparted/disk_dos.c
2238 * released 1.4.6-pre2 (internally)
2239 * fixed another bug (out-by-one, in _primary_constraint(), again)
2240 * added bindtextdomain() to ped_init()
2241 * released 1.4.6-pre3 (internally)
2243 January 4th 2001 - Andrew Clausen <clausen@gnu.org>
2244 * removed that annoying "Parted's boot loader" message
2245 * ped_file_system_probe() now attempts ped_file_system_open(), if there
2248 December 29th 2000 - Andrew Clausen <clausen@gnu.org>
2249 * mac_clobber() now nukes the partition map as well ;-)
2251 December 28th 2000 - Andrew Clausen <clausen@gnu.org>
2252 * documented PedConstraint and PedAlignment (doc/API)
2254 * applied BSD disk label support patch (thanks Matt!)
2256 December 27th 2000 - Andrew Clausen <clausen@gnu.org>
2257 * made incompatible change to API: changed ped_constraint_exact() now takes
2258 a PedGeometry, not a PedPartition (what was I thinking?!)
2260 December 21st 2000 - Andrew Clausen <clausen@gnu.org>
2261 * the bug fix in 1.4.5-pre3 (wrap-around bug) was wrong. Fixed properly now.
2262 * made the FAT16 <-> FAT32 conversion messages more friendly
2263 * released 1.4.5-pre4
2265 December 20th 2000 - Andrew Clausen <clausen@gnu.org>
2266 * ext2_mkfs() now makes sparse file systems by default
2267 * rearranged ext2_mkfs() a bit, and separated generation of the super block
2268 * fixed bug in ext2_mkfs(): if there isn't enough room for per-group
2269 metadata in the last block group, then chop it off!
2270 * fixed ext2 bug in ext2_is_data_block() in ext2.h. I forgot to
2271 endian-awarenize (?) it!!!
2272 * FAT resizer now avoids changing the fat type (FAT16 or FAT32) in script
2274 * removed error checking, after the "point of no return" in the FAT resizer
2275 * updated documentation, adding info about FAT16 <-> FAT32, and boot loaders
2277 December 19th 2000 - Andrew Clausen <clausen@gnu.org>
2278 * fixed nasty wrap-around bug in fat_construct_directory() and
2279 fat_convert_directory(), when directories have their last cluster/sector
2281 * merged in FAT32 boot loader fix (now copies the "hidden sectors")
2282 * released 1.4.5-pre3
2284 December 15th 2000 - Andrew Clausen <clausen@gnu.org>
2285 * merge FAT fix from 1.2.14-pre1
2286 * Apple_Free partitions have status 0x0 (not 0x33)
2287 * released 1.4.5-pre2
2289 December 8th 2000 - Andrew Clausen <clausen@gnu.org>
2290 * fixed _ext2_get_resize_constraint(). constraint->min_size was calculated
2291 in (ext2) blocks, not 512 byte sectors. (patch from Matt Wilson)
2293 December 5th 2000 - Andrew Clausen <clausen@gnu.org>
2294 * commented out "this is not a block device", because it already warns about
2295 "this is not SCSI/IDE", etc.
2296 * added another example to the documentation
2297 * released 1.4.5-pre1
2299 December 4th 2000 - Andrew Clausen <clausen@gnu.org>
2300 * made the "unable to align partition" error message a bit more understandable,
2301 and allow the problem to be ignored.
2302 * added an assertion to ext2_is_data_block(), to make sure the block
2303 is in the file-system.
2304 * added a note about "make install-libs" for e2fsprogs
2306 November 30th 2000 - Andrew Clausen <clausen@gnu.org>
2307 * fixed a brain-dead bug in ext2_meta.c:109. This bug causes growth of ext2
2308 all file systems, that require more GDT blocks to get corrupted!!! OUCH!!!
2309 * fixed regression tests, to test GDT growth
2312 November 29th 2000 - Andrew Clausen <clausen@gnu.org>
2313 * ped_device_add() adds to the end now
2314 * added a check in /proc/partitions for devices
2315 * released 1.4.4-pre1
2317 November 28th 2000 - Andrew Clausen <clausen@gnu.org>
2318 * added error checking to both versions doinode(). Hmmm, do I like this
2319 idea of 2 doinode()'s?
2320 * finalized the copyright assignments, and now we can get rid of lots of
2321 annoying bureaucracy (read: s/Andrew Clausen, Lennert .../Free Softw.../g)
2322 * changed "cp FROM-MINOR [TO-DEVICE] TO-MINOR" to
2323 "cp [FROM-DEVICE] FROM-MINOR TO-MINOR"
2325 November 24th 2000 - Andrew Clausen <clausen@gnu.org>
2326 * added ped_file_system_clobber_exclude(), and resize/copy now use it.
2327 * fixed hfs_clobber() and reiserfs_clobber()
2330 November 19th 2000 - Andrew Clausen <clausen@gnu.org>
2331 * fixed a few mistakes in doc/USER (thanks Stefan!)
2332 * now uses the en_US locale for numbers. (quick fix, because the "lexer"
2333 isn't properly i18nized yet - I'll fix this properly next week, because
2334 I intend to do Major Surgery TM on the command parser anyway). Basic
2335 problem is: the lexer says a number is [0-9.]+, but in Europe, s/\./,/.
2338 November 16th 2000 - Andrew Clausen <clausen@gnu.org>
2339 * loop-back is now probed last.
2340 * removed dependance on <linux/fs.h>
2341 * discovered that type-casts have high precedence. oops.
2342 s/(long) EXPR/(long) (EXPR)/, which fixes seg faults on PPC.
2344 November 15th 2000 - Andrew Clausen <clausen@gnu.org>
2345 * added read-only support (useful for disk imaging from CD-ROMs)
2346 * changed default behaviour to warnings such as "not a block device" (in
2347 libparted/device.c) to PED_EXCEPTION_IGNORE.
2350 November 14th 2000 - Andrew Clausen <clausen@gnu.org>
2351 * removed the scary "development version only TM" message. OOPS!
2353 November 13th 2000 - Andrew Clausen <clausen@gnu.org>
2354 * merged in changes from 1.2.13
2357 -----------------------------------------------------------------------------
2359 -----------------------------------------------------------------------------
2361 November 11th 2000 - Andrew Clausen <clausen@gnu.org>
2362 * added ./configure --enable-all-static
2363 * mac_partition_new() now sets the name to "untitled".
2365 November 8th 2000 - Andrew Clausen <clausen@gnu.org>
2366 * added an assertion, that the disk has the PED_DISK_TYPE_EXTENDED feature,
2367 for extended partitions, in ped_partition_new()
2369 November 4th 2000 - Andrew Clausen <clausen@gnu.org>
2370 * released 1.4.0-pre8
2371 * file systems only get ped_file_system_clobber()'d if mkfs is supported for
2375 November 3rd 2000 - Andrew Clausen <clausen@gnu.org>
2376 * fixed some bugs with the mac_partition_align() stuff
2377 * cleaned the doc/USER a bit more
2379 November 2nd 2000 - Andrew Clausen <clausen@gnu.org>
2380 * Mac bug fixes & reorganisation
2381 * mac_partition_align() - greedily takes up free space now, if it is consistent
2382 with the constraints.
2383 * set policy for _partition_align() - must be in update mode. Changed
2384 other functions to meet this.
2385 * released 1.4.0-pre6
2386 * fixed a stupid bug introduced in 1.4.0-pre6, in libparted/disk_dos.c,
2387 read_table() Was passing a pointer to a pointer of a constraint, as opposed to
2389 * released 1.4.0-pre7
2391 October 31st 2000 - Andrew Clausen <clausen@gnu.org>
2392 * much hacking on Mac support
2393 * merged in changes to 1.2.12-pre3
2394 * released 1.4.0-pre5
2396 October 22nd 2000 - Andrew Clausen <clausen@gnu.org>
2397 * fixed a bug in libparted/disk_mac.c, that broke mkpart*. In
2398 mac_partition_new(), it was checking for failure, but missed out the '!'.
2399 * released 1.4.0-pre4
2401 October 21st 2000 - Andrew Clausen <clausen@gnu.org>
2402 * commented out the linux-swap Linux 2.0 warning. It annoys more users than it
2405 * hacked around the mac-boot & no-HFS problem, by setting the file system
2406 temporarily, in mac_partition_set_system() (YUCK!)
2407 * applied a patch from Masahiro Sakai <ZVM01052@nifty.ne.jp>. Now uses
2408 mbs* as opposed to iconv. That fixes lots of brokeness, but there may be
2409 problems for utf-8 users... but this will be solved by gettext in future.
2410 * released 1.4.0-pre3
2411 * fixed the annoying linux-swap on mac bug (it was trying to set the swap
2412 flag, before setting the partition type to linux-swap, which caused the
2413 Mac disk label code to complain)
2415 October 16th 2000 - Andrew Clausen <clausen@gnu.org>
2416 * uses Apple_UNIX_SVR2 (instead of Unix)
2417 * merged 1.2.11-pre1
2419 October 15th 2000 - Andrew Clausen <clausen@gnu.org>
2420 * fixed a bug in ped_constraint_solve_nearest() - errr to complicated to
2421 explain - easier to look at the diff. Basically: I wasn't taking the
2422 intersection of the allowable start and end ranges properly, WRT min_start.
2423 * removed some memory leaks from libparted/disk_dos.c, around the constraint
2425 * released 1.4.0-pre2
2427 October 14th 2000 - Andrew Clausen <clausen@gnu.org>
2428 * fixed boot flag stuff for Mac
2429 * docs have been massively updated (ages ago...)
2430 * merged in changes to 1.2.10-pre3 (notably: malloc() debugging, and all the
2431 bugs / leaks fixed as a result ;-)
2433 September 25th 2000 - Andrew Clausen <clausen@gnu.org>
2434 * added ped_disk_remove_partition()
2436 September 24th 2000 - Andrew Clausen <clausen@gnu.org>
2437 * mac fixes: writes new signature now, s/Apple_Unix/Apple_UNIX/g
2439 September 23rd 2000 - Andrew Clausen <clausen@gnu.org>
2440 * reiserfs_probe() - doesn't probe outside of the partition any more ;-)
2441 * lots of work on API docs
2443 September 21st 2000 - Andrew Clausen <clausen@gnu.org>
2444 * added a bit to the documentation about how to deal with the boot disk, when
2445 it doesn't support your hardware
2446 * released 1.4.0-pre1
2448 September 20th 2000 - Andrew Clausen <clausen@gnu.org>
2449 * added the LBA partition flag
2450 * ped_partition_is_busy() - for extended partitions, now checks all logical
2451 partitions for business.
2452 * constraint solver will always satisfy constraint->min_size, if possible, now.
2453 The constraint solver is now complete (the existence of a solution implies
2454 that a solution will be found :-)
2455 * fixed semantics for _best_solution() in disk_dos.c
2456 * added documentation WRT LVM and RAID
2457 * updated documentation, to much current command set
2459 September 17th 2000 - Andrew Clausen <clausen@gnu.org>
2460 * constraint solver is a bit more expressive - the start and end of partitions
2461 are constrained independently. This allows constraints for extended partitions,
2462 keeping the extended partitions big enough to fit the logical partitions.
2463 * used the new constraint solver, to fix the extended partition Issues.
2466 September 10th 2000 - Andrew Clausen <clausen@gnu.org>
2467 * merged in changes from 1.2.8 to 1.2.9
2469 September 3rd 2000 - Andrew Clausen <clausen@gnu.org>
2470 * ped_disk_add_partition() allows the right number of primary partitions now!
2472 August 25th 2000 - Andrew Clausen <clausen@gnu.org>
2473 * fixed msdos_probe() - it didn't like LBA partitions
2474 * reverted ped_partition_set_flag(). Doesn't call ped_partition_set_system()
2475 anymore. What was I thinking? It's the responsibiltiy of *_set_flag() to call
2476 ped_partition_set_system().
2477 * added RAID and LVM partition flags
2478 * fixed a bug in alloc_root_dir() - now allocates enough clusters in
2479 FAT16 -> FAT32 conversions (!) Rarely does damage (and always avoidable,
2480 if you follow the advise)
2481 * fat_get_resize_constraint() is 100% accurate now (min_size wasn't accurate
2484 August 19th 2000 - Andrew Clausen <clausen@gnu.org>
2485 * fixed ext2_mkfs() inode thingy (!)
2486 * fixed semantics of ped_partition_set_flag() - now calls
2487 ped_partition_set_system()
2488 * added "select" command
2489 * added "move" command
2490 * fixed a bug in ped_disk_set_partition_geom() - partition list wasn't getting
2491 re-ordered, if the partition was moved about.
2492 * fixed a bug in libparted/disk_mac.c:762 _disk_count_active_partitions(). It
2493 assumed that the last partition would be the highest numbered partition.
2494 * get rid of that "BIOS geometry" message for non IDE/SCSI devices, or on
2496 * merged in changes to 1.2.8
2498 August 14th 2000 - Andrew Clausen <clausen@gnu.org>
2499 * added stubs for HFS, Reiserfs and NTFS
2501 August 12th 2000 - Andrew Clausen <clausen@gnu.org>
2502 * added ped_file_system_clobber() stuff (hint: needed for reiserfs :-)
2503 * merged in changes from 1.2.4-pre1 to 1.2.7
2506 August 6th 2000 - Andrew Clausen <clause@gnu.org>
2507 * ext2 code now works on big-endian machines :-)
2508 * released 1.3.0-pre7
2510 August 5th 2000 - Andrew Clausen <clausen@gnu.org>
2511 * more hacking on ext2 mac support.
2512 * random code-cleanup.
2514 July 31st 2000 - Andrew Clausen <clausen@gnu.org>
2515 * made libparted/fs_ext2/* big-endian-aware
2517 July 27th 2000 - Andrew Clausen <clausen@gnu.org>
2518 * wrote a constraint solver :-) libparted/natmath.c, libparted/constraint.c,
2519 include/parted/natmath.h and include/parted/constraint.h
2521 July 15th 2000 - Andrew Clauesn <clausen@gnu.org>
2522 * Mac read/write is looking good :-)
2523 * released 1.3.0-pre3
2525 July 14th 2000 - Andrew Clausen <clausen@gnu.org>
2526 * merged in changes between 1.2.3 and 1.2.4-pre1.
2528 July 13th 2000 - Masahiro SAKAI <ZVM01052@nifty.ne.jp>
2529 * improved _set_system() on PC98 disk label.
2530 * changed fat_set_system(), to preserve original ID when possible.
2531 * changed _ext2_set_system() and swap_set_system(), to correct "bootable"
2532 flag. (Linux/98 uses this flag to make a distinction between ext2 and
2535 July 9th 2000 - Andrew Clausen <clausen@gnu.org>
2536 * read-only Mac partition map support is semi-working :-)
2537 * PC98 is looking a bit nicer now.
2538 * released 1.3.0-pre2
2540 July 3nd 2000 - Andrew Clausen <clausen@gnu.org>
2541 * got PC98 and loopback semi-working :-)
2542 * released 1.3.0-pre1
2544 June 23rd 2000 - Andrew Clausen <clausen@gnu.org>
2545 * merged in changes, up to 1.2.3-pre1. (I've been hacking on
2546 libparted/disk_mac.c, not finished yet)
2548 June 15th 2000 - Andrew Clausen <clausen@gnu.org>
2549 * forked off 1.3.x series
2551 -----------------------------------------------------------------------------
2552 1.2.x Before fork off development series
2553 -----------------------------------------------------------------------------
2554 June 15th 2000 - Andrew Clausen <clausen@gnu.org>
2555 * fixed minor build bug: fixed include problem in debug/clearfat/Makefile.am.
2558 June 14th 2000 - Andrew Clausen <clausen@gnu.org>
2559 * all looks well ;-)
2562 -----------------------------------------------------------------------------
2564 -----------------------------------------------------------------------------
2566 June 11th 2000 - Andrew Clausen <clausen@gnu.org>
2567 * merged in changes to 1.0.17.
2570 May 27th 2000 - Andrew Clausen <clausen@gnu.org>
2571 * rearranged tools and clearfat stuff. Updated test scripts (from devtools),
2575 May 20th 2000 - Andrew Clausen <clausen@gnu.org>
2576 * fixed bugs in maintaining free_cluster_count and bad_cluster_count in
2577 libparted/fs_fat/table.c
2578 * fixed fat_check_resize_geometry()
2579 * added Galacian translations (thanks Jacobo :-)
2581 * added tools/clearfat
2582 * released 1.1.5-pre1
2584 May 13th 2000 - Andrew Clausen <clausen@gnu.org>
2585 * merged in changes to 1.0.15
2588 April 16th 2000 - Andrew Clausen <clausen@gnu.org>
2589 * merged in changes to 1.0.14
2590 * got it to compile ;-)
2592 April 13th 2000 - Andrew Clausen <clausen@gnu.org>
2593 * merged in changes to 1.0.14-pre1
2594 * released 1.1.4-pre1
2596 April 11th 2000 - Andrew Clausen <clausen@gnu.org>
2597 * merged in changes to 1.0.13
2599 March 26th 2000 - Andrew Clausen <clausen@gnu.org>
2600 * merged in changes to 1.0.12
2602 March 24th 2000 - Andrew Clausen <clausen@gnu.org>
2603 * merged in changes to 1.0.11
2606 March 14th 2000 - Andrew Clausen <clausen@gnu.org>
2607 * merged in changes to 1.0.11-pre1
2608 * released 1.1.3-pre1
2610 March 13th 2000 - Andrew Clausen <clausen@gnu.org>
2611 * finally got the off_t checks working properly!
2613 March 4th 2000 - Andrew Clausen <clausen@gnu.org>
2614 * merged changes to 1.0.10 in
2617 March 2nd 2000 - Andrew Clausen <clausen@gnu.org>
2618 * hacked it to work on linux-ppc (probably breaks on the Alpha now :-)
2619 Don't get too excited. I haven't added the disk-label support yet.
2621 February 15th 2000 - Andrew Clausen <clausen@alphalink.com.au>
2622 * merged changes to 1.0.9 in
2623 * completed cluster resize down code :-) Now to begin debugging...
2625 February 11th 2000 - Andrew Clausen <clausen@alphalink.com.au>
2626 * merged 1.0.8 with other work, to create 1.1.0-pre1, which includes the
2628 * made ped_device_* POSIX compliant
2629 * added fat_collect_cluster_info() - replaces the "flag map", to provide
2630 fat_get_cluster_usage() and fat_get_cluster_flag()
2632 -----------------------------------------------------------------------------
2633 1.0.x After fork off development series
2634 -----------------------------------------------------------------------------
2636 June 14th 2000 - Andrew Clausen <clausen@gnu.org>
2639 June 13th 2000 - Andrew Clausen <clausen@gnu.org>
2640 * merged in lots more translations (sorry, didn't keep track!)
2641 * changed the new ped_geometry_test_[overlap|inside]() functions, to
2642 require a positive result to be on the same disk ;-)
2643 * updated documentation for ped_geometry_*()
2645 June 6th 2000 - Andrew Clausen <clausen@gnu.org>
2646 * merged in Galician, Dutch, Japanese and Russion translations.
2648 June 5th 2000 - Andrew Clausen <clausen@gnu.org>
2649 * now tolerates empty extended partitions created with Partition Magic.
2650 (PM fills the first sector with 0xf6). read_table() in libparted/disk_dos.c
2651 * read_table() in libparted/disk_dos.c. Now handles the exception correctly,
2652 for a bad signature (the brackets where around the wrong way)
2653 * new German and Brazillian Portugese translations.
2656 June 1st 2000 - Andrew Clausen <clausen@gnu.org>
2657 * fixed some problems with RPMs (parted.spec.in).
2658 * major work on libparted/disk.c. Resizing extended partitions should work
2659 properly now. Marginally less messy. (Layout is still really bad, but you can
2660 breathe on the code without it exploding now ;-)
2661 * released 1.0.17-pre1
2663 May 27th 2000 - Andrew Clausen <clausen@gnu.org>
2664 * updated Japanese translations
2665 * updated documentation, to encourage reading of Partition mini-HOWTO
2668 May 22nd 2000 - Andrew Clausen <clausen@gnu.org>
2669 * fixed bug in libparted/device.c: if probe_geometry() fails, then
2670 dev->sector_size is now set to 512.
2671 * removed redundant ped_device_probe_all() in parted/parted.c. Should be
2673 * released 1.0.16-pre2
2675 May 20th 2000 - Andrew Clausen <clausen@gnu.org>
2676 * merged bug-fixes from 1.1.5-pre1 in maintaining free_cluster_count and
2677 bad_cluster_count in libparted/fs_fat/table.c
2678 * added Galacian translations (thanks Jacobo :-)
2679 * released 1.0.16-pre1
2681 May 12th 2000 - Andrew Clausen <clausen@gnu.org>
2682 * updated documentation (and Japanese documentation - thanks Okuji :-)
2685 May 6th 2000 - Andrew Clausen <clausen@gnu.org>
2686 * fixed minor bugs with word wrapping.
2687 * added --help (-h) --version (-v) --script (-s) --interactive (-i)
2688 * released 1.0.15-pre3
2690 May 2nd 2000 - Andrew Clausen <clausen@gnu.org>
2691 * new version of Japanese translations.
2693 April 29th 2000 - Andrew Clausen <clausen@gnu.org>
2694 * after much agonizing and procrastination, decided not to have a mode command.
2695 Why would you want interactive mode if you're not an a tty? I'm open to
2696 persuasion ;-) (Also, it seems wrong making it "mode". It should be a
2698 * released 1.0.15-pre2
2699 * fixed device_get_sector_size() - now tells the user what the real sector
2700 size is (as opposed to -1). (Thanks to Phillip Garland :-)
2702 April 25th 2000 - Andrew Clausen <clausen@gnu.org>
2703 * all PED_EXCEPTION_WARNING and PED_EXCEPTION_ERROR exceptions now continue
2704 with a good default, if they get a PED_EXCEPTION_UNHANDLED.
2706 April 23rd 2000 - Andrew Clausen <clausen@gnu.org>
2707 * parted.spec.in: now installs binaries/libraries in /sbin and /lib.
2709 April 20th 2000 - Andrew Clausen <clausen@gnu.org>
2710 * fixed CTRL-D bug -> seg violation in _readline() (parted/ui.c)
2712 April 15th 2000 - Andrew Clausen <clausen@gnu.org>
2713 * Parted boot disk image now available from ftp sites in gnu/parted/bootdisk.
2715 April 14th 2000 - Andrew Clausen <clausen@gnu.org>
2716 * renamed PedExceptionClass, and PedException's member class to
2717 PedExceptionType and type, to avoid clashes with C++.
2719 April 13th 2000 - Andrew Clausen <clausen@gnu.org>
2720 * released 1.0.14-pre1
2722 April 12th 2000 - Andrew Clausen <clausen@gnu.org>
2723 * changed configure.in: now refuses to attempt to build included gettext.
2724 Gives appropriate (hopefully ;-) advice on how to fix the problem...
2726 April 11th 2000 - Andrew Clausen <clausen@gnu.org>
2727 * uses SCSI_BLK_MAJOR rather than SCSI_DISK_MAJOR
2729 April 9th 2000 - Andrew Clausen <clausen@gnu.org>
2730 * did lots more testing. All seems well ;-)
2733 April 8th 2000 - Andrew Clausen <clausen@gnu.org>
2734 * finally discovered that BLKSSZGET is broken < 2.3.3. Andries Brouwer
2735 suggests using, only if <linux/blkpg.h> exists.
2736 * added doc/USER.jp (Japanese translation of doc/USER). (Thanks Ryoji!)
2737 * fixed severe bug: fat_convert_directory(): new_trav and old_trav went
2738 out of sync, in some circumstances!!! OUCH!!! (Probably didn't show up
2739 on 99.9% people's systems, because it usually will either be out-by-zero
2740 or out-by>=two. In both cases, there would be no problems)
2741 * fixed severe bug: fs_info->root_dir_entry_count should be set when converting
2742 FAT32 -> FAT16. OUCH!!! Why no bug reports??!!
2743 * released 1.0.13-pre1
2745 April 4rd 2000 - Andrew Clausen <clausen@gnu.org>
2746 * restructured libparted/device.c somewhat. Now uses BLKGETSIZE ioctl to
2747 get size of device, which can address 2 ^ (32 + 9) == 2048Gb.
2748 * ped_partition_is_busy() in libparted/disk.c now checks /proc/swaps as well as
2751 April 2nd 2000 - Andrew Clausen <clausen@gnu.org>
2752 * warns very strongly that Parted isn't good with sector size != 512 bytes,
2753 in fat code (libparted/fs_fat/bootsector.c)
2755 March 28th 2000 - Andrew Clausen <clausen@gnu.org>
2756 * now tells the kernel to keep trying to read the partition table. (patch from
2760 March 26th 2000 - Andrew Clausen <clausen@gnu.org>
2761 * fixed boot loader code, and uncommented code to install it.
2762 * released 1.0.12-pre1
2764 March 24th 2000 - Andrew Clausen <clausen@gnu.org>
2765 * moved parted.8 to doc/ directory
2768 March 22nd 2000 - Andrew Clausen <clausen@gnu.org>
2769 * moved documentation into doc/ directory. Changed licence of documentation
2770 to the GNU Free Documentation Licence 1.1.
2771 * released 1.0.11-pre2
2773 March 19th 2000 - Andrew Clausen <clausen@gnu.org>
2774 * now checks /proc/mounts (if available) for testing if a partition is mounted.
2776 March 14th 2000 - Andrew Clausen <clausen@gnu.org>
2777 * only unset LINGUAS if its non-empty in parted.spec.in (thanks Fabian :-)
2778 * reintroduce %build (thanks Fabian :-)
2779 * released 1.0.11-pre1
2781 March 11th 2000 - Andrew Clausen <clausen@gnu.org>
2782 * fixed minor bug in mkpartfs command parsing.
2783 * #include <sys/sysmacros.h> directly.
2785 February 29th 2000 - Andrew Clausen <clausen@gnu.org>
2786 * fixed buffer overflow bug in ext2_mkfs
2787 * fixed bug in ped_malloc(), so running out of memory will fail cleanly
2788 * made ped_exception_throw() use malloc(), to prevent infinite recursion.
2791 February 27th 2000 - Andrew Clausen <clausen@gnu.org>
2792 * now warns the user about system files that may be unmovable
2793 * released 1.0.10-pre3
2795 February 25th 2000 - Andrew Clausen <clausen@gnu.org>
2796 * found out semantics for drives that are slightly longer than C*H*S:
2797 last bit is simply ignored... adjusted probe_real_geom() to match behaviour
2798 * added probe_acceptable_geom()
2799 * released 1.0.10-pre2
2801 February 23rd 2000 - Andrew Clausen <clausen@alphalink.com.au>
2802 * added docs for Windows NT/2000 (largely contributed by Stefan Kanthak)
2803 * added Dutch translations (contributed by Ivo Timmermans)
2804 * made process_inconsistent_table() a bit more leanient.
2805 * released 1.0.10-pre1
2807 February 14th 2000 - Andrew Clausen <clausen@alphalink.com.au>
2810 February 13th 2000 - Andrew Clausen <clausen@alphalink.com.au>
2811 * for partitions ending cylinder > 1024, now writes the CHS value as if the
2812 partition ended on cylinder 1024.
2813 * released 1.0.9-pre1
2816 -----------------------------------------------------------------------------
2817 1.0.x Before fork off development series
2818 -----------------------------------------------------------------------------
2820 February 7th 2000 - Andrew Clausen <clausen@alphalink.com.au>
2823 February 3rd 2000 - Andrew Clausen <clausen@alphalink.com.au>
2824 * fixed bug in fat_get_system() introduced in 1.0.8-pre1 (when fs == NULL)
2825 * released 1.0.8-pre2
2827 February 1st 2000 - Andrew Clausen <clausen@alphalink.com.au>
2828 * changed fat_get_system(), to use LBA partition types for partitions with
2829 end > cylinder 1024.
2830 * released 1.0.8-pre1
2832 January 23rd 2000 - Andrew Clausen <clausen@alphalink.com.au>
2833 * made ped_device_seek() a bit more portable
2836 January 22nd 2000 - Andrew Clausen <clausen@alphalink.com.au>
2837 * changed type of PedDevice's heads, sector, cyl fields to int's.
2838 * added a man page, contributed by Timshel Knoll <timshel@pobox.com>
2839 * released 1.0.7-pre1
2841 January 20th 2000 - Andrew Clausen <clausen@alphalink.com.au>
2844 January 19th 2000 - Andrew Clausen <clausen@alphalink.com.au>
2845 * fixed >16gig bug in libparted/disk_dos.c (need LE32, not LE16!!!)
2846 * released 1.0.6-pre1
2848 January 12th 2000 - Andrew Clausen <clausen@alphalink.com.au>
2849 * applied typo-clean-up patch from Tim Waugh <twaugh@redhat.com>
2852 January 9th 2000 - Andrew Clausen <clausen@alphalink.com.au>
2853 * added autoconfuse checks up-to-date linux/ext2_fs.h
2854 * imported new ext2_fs.h
2855 * imported changes from ext2resize, to add support the ext2 "filetype"
2857 * released 1.0.5-pre3
2859 January 8th 2000 - Andrew Clausen <clausen@alphalink.com.au>
2860 * removed -Wno-sign-compare, because it breaks older gcc
2861 * moved checks for termcap up before readline check, and get readline check
2862 to use the result of the termcap check.
2863 * the "termcap" library can be now be one of: -ltermcap, -ltermlib, -lcurses,
2865 * released 1.0.5-pre2
2867 January 7th 2000 - Andrew Clausen <clausen@alphalink.com.au>
2868 * fixed buglet for FAT16 cluster entries
2869 * fixed (hopefully) str_list_print_wrap()
2870 * use static for do_* in parted/parted.c
2871 * cleaned up parted.spec.in
2872 * released 1.0.5-pre1
2874 January 5th 2000 - Andrew Clausen <clausen@alphalink.com.au>
2875 * Fixed a silly bug in ped_partition_set_system() for extended partitions
2878 January 4th 2000 - Andrew Clausen <clausen@alphalink.com.au>
2879 * Arrghh! Found (and fixed) a VERY nasty bug during partition table writes.
2882 January 3rd 2000 - Andrew Clausen <clausen@alphalink.com.au>
2883 * Arrghh! Found (and fixed) a nasty bug in the string printing code.
2886 January 1st 2000 - Andrew Clausen <clausen@alphalink.com.au>
2887 * added some documentation about --without-readline and --disable-nls
2890 December 29th 1999 - Andrew Clausen <clausen@alphalink.com.au>
2891 * disable-nls works now
2892 * added --without-readline option
2893 * added Brazillian Portugese translations (thanks Eliphas!)
2894 * released 1.0.1-pre1
2896 December 21st 1999 - Andrew Clausen <clausen@alphalink.com.au>
2897 * fixed some typo's in the documentation
2898 * passed lots of testing :-)
2901 December 18th 1999 - Andrew Clausen <clausen@alphalink.com.au>
2902 * fixed bug in front-end: when the BIOS geometry doesn't match Linux's, the
2903 guessed geometry wasn't being used immediately in do_print, do_mk[part]fs,
2905 * released 1.0.0-pre14
2907 December 17th 1999 - Andrew Clausen <clausen@alphalink.com.au>
2908 * fixed lots of bugs: lots of fence-post errors (it's 4n - 4 !!!) in fat code
2909 * released 1.0.0-pre13
2911 December 15th 1999 - Andrew Clausen <clausen@alphalink.com.au>
2912 * fixed bug in ext2_do_inode() - ext2_brelse() getting called on an
2913 uninitialized buffer on an error. Thanks Tim!
2914 * added PED_ASSERT macro, and used it all over the place
2915 * fixed cosmetic bugs in front-end
2916 * released 1.0.0-pre12
2918 December 12th 1999 - Andrew Clausen <clausen@alphalink.com.au>
2919 * added ped_file_system_get_min_size()
2920 * fixed bug in ext2 code
2921 * released 1.0.0-pre11
2923 December 11th 1999 - Andrew Clausen <clausen@alphalink.com.au>
2924 * fixed bug with extended partition handling
2925 * fixed bug in ext2 code
2926 * added support for checking minimum size of partition
2927 * released 1.0.0-pre10
2929 December 7th 1999 - Andrew Clausen <clausen@alphalink.com.au>
2930 * fixed character set issues for Japanese and Russian
2931 * released 1.0.0-pre9
2933 November 8th 1999 - Andrew Clausen <clausen@alphalink.com.au>
2934 * fixed gettext issues: includes intl/ when using included gettext, and
2936 * released 1.0.0-pre6
2938 November 6th 1999 - Andrew Clausen <clausen@alphalink.com.au>
2939 * added French translations (thanks Jean-Marc :-)
2940 * fixed front-end, to use gettext properly. Big changes.
2941 * added lots of const's to libparted
2942 * released 1.0.0-pre5
2944 November 5th 1999 - Andrew Clausen <clausen@alphalink.com.au>
2945 * removed journalling code
2946 * added German translations (thanks Martin :-)
2948 November 1st 1999 - Andrew Clausen <clausen@alphalink.com.au>
2949 * released 0.0.9-pre3
2950 * now uses GNU readline
2952 October 31st 1999 - Andrew Clausen <clausen@alphalink.com.au>
2953 * released 0.0.9-pre2
2954 * added PED_EXCEPTION_NO_FEATURE. Reserve PED_EXCEPTION_BUG for REAL bugs.
2956 October 29th 1999 - Andrew Clausen <clausen@alphalink.com.au>
2957 * released 0.0.9-pre1
2959 * added some safety checks
2961 October 26th 1999 - Andrew Clausen <clausen@alphalink.com.au>
2963 * added to the docs.
2965 October 25th 1999 - Andrew Clausen <clausen@alphalink.com.au>
2966 * released version 0.0.8-pre2
2967 * better behaviour for weird geometry and inconsistant partition tables
2969 October 18th 1999 - Andrew Clausen <clausen@alphalink.com.au>
2970 * released version 0.0.8-pre1
2971 * added i18n support
2972 * fixed some bugs in boot-loader. Still not working properly though, but I
2973 got it to boot out of DOS debug :-)
2975 October 16th 1999 - Andrew Clausen <clausen@alphalink.com.au>
2976 * released version 0.0.7
2978 * manipulation of partition flags
2979 * better error handling (particularly ext2)
2980 * lots of bug fixes.
2982 October 7th 1999 - Andrew Clausen <clausen@alphalink.com.au>
2984 * fixes a major bug introduced in 0.0.5 in the FAT resizer
2986 October 5th 1999 - Andrew Clausen <clausen@alphalink.com.au>
2988 * bug fixes and speed-ups
2990 October 2nd 1999 - Andrew Clausen <clausen@alphalink.com.au>
2992 * fixed major bug in FAT16->FAT32 upgrade
2993 * fixed some portability issues for Alpha Linux
2994 * many minor bug fixes
2996 September 27th 1999 - Andrew Clausen <clausen@alphalink.com.au>
2998 * Added linux-swap support
2999 * fixed problem with large hard disks
3000 * implemented better error handling for ext2
3002 September 20th 1999 - Andrew Clausen <clausen@alphalink.com.au>
3005 June 6th 1999 - Andrew Clausen <clausen@alphalink.com.au>
3006 * created initial version
3008 -----------------------------------------------------------------------------
3010 This file is part of GNU Parted
3011 Copyright (C) 1999 - 2006 Free Software Foundation Inc.
3013 This file may be modified and/or distributed without restriction. This is
3014 not an invitation to misrepresent the history of GNU Parted.