-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.0
3049 lines (2612 loc) · 135 KB
/
ChangeLog.0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Note: there are now separate ChangeLog files for the library and the
front-end. This file is only for reference purposes and top-level changes.
See libparted/ChangeLog and parted/ChangeLog.
==============================================================================
2006-11-11 Otavio Salvador <[email protected]>
* autogen.sh: use -f on autopoint to ensure we have the files
updated.
* ltmain.sh, m4/*, po/Makefile.in.in, po/Rules-quot: those files
has been removed since them are autogenerated or installed by
autogen.sh.
* configure.ac: add -rdynamic on CFLAGS.
2006-11-08 Otavio Salvador <[email protected]>
* doc/C/parted.8: small documentation simplification.
2006-10-11 David Cantrell <[email protected]>
* include/parted/device.h: Add PED_DEVICE_DM if device-mapper is
enabled.
* configure.ac: Conditionalize libdevmapper support so people that
don't have that library can still build a mostly functional libparted.
2006-10-09 David Cantrell <[email protected]>
* po/*.po, po/parted.pot: Updated.
2006-10-06 David Cantrell <[email protected]>
* scripts/release/tarball_upload.sh: Since v1.0 directive files will
no longer be supported by ftp-upload.gnu.org after 2006, modified the
upload script to use the v1.1 format.
2006-10-06 David Cantrell <[email protected]>
* scripts/release/tarball_upload.sh: Support the -a (or --alpha) switch
on the tarball upload script. This switch will upload the release to
alpha.gnu.org rather than ftp.gnu.org.
2006-09-15 David Cantrell <[email protected]>
* doc/pt_BR/partprobe.8.pt_BR.po: Removed extra double quote at the end
of line 6.
* include/parted/Makefile.am: Add vtoc.h and fdasd.h to the list.
* doc/Makefile.am: Tabs for the updatepo target.
* doc/po4a.mk: Removed fake* stuff. Fixed all-local target so you don't
end up in an infinite make loop trying to make '*'. Fixed the remove
target as well.
2006-09-01 David Cantrell <[email protected]>
* include/parted/device.h: add PED_DEVICE_VIODASD.
* include/parted/exception.h: add ped_exception_get_handler() prototype.
2006-08-31 David Cantrell <[email protected]>
* include/parted/device.h: add PED_DEVICE_DASD (direct attached storage
device, zSeries).
* inlcude/parted/disk.h: add PED_PARTITION_METADATA and
PED_PARTITION_PROTECTED.
* include/parted/fdasd.h: add fdasd header file.
* include/parted/vtoc.h: add VTOC header file.
* include/parted/linux.h: if on zSeries, declare real_sector_size
and fdasd_anchor.
2006-08-30 David Cantrell <[email protected]>
* include/parted/device.h: add PED_DEVICE_SX8 (Promise SX8 SATA device).
2006-06-01 Otavio Salvador <[email protected]>
* po/hu.po: add Hungarian translation. Thanks to SZERVÁC Attila
<sas-guest@haydn> for the file. Debian bug: #360457.
2006-05-25 Leslie Polzer <[email protected]>
* configure.ac: added libdl to linker flags.
2006-05-21 Otavio Salvador <[email protected]>
* doc/*: add suport to use po4a to translate the manpages.
2006-05-18 Otavio Salvador <[email protected]>
* Makefile.am: add scripts and data need for abi checking. It'll
be used to avoid ABI broken packages;
improve logic to detect ABI brokeness;
2006-05-08 Otavio Salvador <[email protected]>
* doc/parted.texi: Rephrase some parted documentation based on
patches sent to Debian.
2006-04-26 Otavio Salvador <[email protected]>
* po/it.po: Update Italian translation. Thanks to Giuseppe Sacco
<[email protected]> for the po file.
2006-04-03 Otavio Salvador <[email protected]>
* Makefile.am, scripts/extract_symvers: Add support to a simple
abi check.
* scripts/data/abi/baseline_symbols.txt: First version of our
controled symbols.
2006-03-13 Ithamar Adema <[email protected]>
* configure.ac, libparted/Makefile.am, libparted/libparted.c,
libparted/arch/beos.c, include/parted/beos.h: Added
_experimental_ BeOS (& descendents) support.
* libparted/fs/xfs/platform_defs.h, libparted/fs/ext2/ext2.h: Type
definition fixes for BeOS support.
* libparted/fs/hfs/hfs.c, libparted/fs/xfs/xfs.c, libparted/fs/jfs/jfs.c,
libparted/fs/reiserfs/reiserfs.c, libparted/fs/linux_swap/linux_swap.c,
libparted/fs/ntfs/ntfs.c, libparted/fs/ufs/ufs.c,
libparted/fs/amiga/affs.c: Explicit block_sizes initialization in
PedFileSystemType declarations (needed to satisfy gcc2 compiler).
2006-03-03 Leslie Polzer <[email protected]>
* configure.ac: removed "-std=c99" from CFLAGS -- this implies so many
changes that a branch makes sense.
* configure.ac (AC_OUTPUT): removed libparted/fs/bfs/Makefile.in.
* po/POTFILES.in: updated to match new directory layout.
2006-02-26 Leslie Polzer <[email protected]>
* configure.ac: added "-std=c99" to CFLAGS -- C99 extensions may be
used because we need "long long int".
2006-02-11 Leslie Polzer <[email protected]>
* libparted/fs/reiserfs/reiserfs.c: added valid block sizes for
reiserfs.
2006-02-06 Leslie Polzer <[email protected]>
* libparted/arch/linux.c (_device_probe_geometry): added preliminary
fix for HDIO_GETGEO ioctl returning failure (this will be superseded
by EDD support).
2006-02-01 Leslie Polzer <[email protected]>
* configure.ac, aclocal.m4, parted/Makefile.am: removed static build
stuff.
2006-01-31 Leslie Polzer <[email protected]>
* libparted/fs/ext2/ext2_mkfs.c
(ext2_mkfs_create_lost_and_found_inode): fixed allocation bug.
* libparted/fs/hfs/reloc_plus.c: changed msgid "[...] should not
contain its own extents." to "[...] should not contain its own
extents!".
2006-01-26 Leslie Polzer <[email protected]>
* parted/parted.c (do_mkpart): changed an erroneous conditional that
would have prevented the creation of partitions on disk labels that
do not support the concept of extended partitions.
* libparted/fs/fat/fat.c, libparted/fs/ext2/interface.c,
libparted/fs/bfs/bfs.c, libparted/fs/amiga/affs.c,
libparted/fs/amiga/apfs.c, libparted/fs/amiga/asfs.c: added list of
supported block sizes.
2006-01-20 Leslie Polzer <[email protected]>
* libparted/labels/gpt.c (gpt_probe): initialize pth to NULL and free
pth only if non-NULL.
* parted/parted.c (do_print): block size printf now uses %lld.
This fixes display of physical sector size.
2006-01-18 Andres Salomon <[email protected]>
* libparted/arch/linux.c (linux_probe_all): use /sys/block in favor of
/proc/partitions where possible.
* libparted/arch/linux.c: added functions _skip_entry [static],
_probe_sys_block [static]
2006-01-13 Leslie Polzer <[email protected]>
* libparted/labels/rdb.c (amiga_probe): made function use actual sector
size again.
2006-01-11 Leslie Polzer <[email protected]>
* libparted/fs/Makefile.am: removed BFS until it is ready.
* include/parted/parted.h: added ped_calloc prototype.
* libparted/arch/linux.c (struct hd_driveid): added ATAPI/ATA7 words
106, 117, 118.
2006-01-02 Leslie Polzer <[email protected]>
* libparted/labels/gpt.c (pth_free): fixed assertion's return statement.
* libparted/libparted.c (ped_calloc): added.
2005-12-25 Harley D. Eades III <[email protected]>
* libparted/labels/gpt.c (pth_free): New function.
* libparted/labels/gpt.c (gpt_probe): Added a call to pth_free().
* libparted/labels/gpt.c (gpt_clobber): Now calls pth_free() on gpt
before returning and calls pth_free() on error_free_with_gpt instead
of ped_free().
2005-12-25 Harley D. Eades III <[email protected]>
* libparted/labels/gpt.c (pth_free): New function.
* libparted/labels/gpt.c (gpt_probe): Added a call to pth_free().
* libparted/labels/gpt.c (gpt_clobber): Now calls pth_free() on gpt
before returning and calls pth_free() on error_free_with_gpt instead
of ped_free().
2005-12-25 Leslie Polzer <[email protected]>
* include/parted/debug.h (PED_DEBUG): fixed variable arguments stuff.
* configure.ac: added some compiler checks.
* libparted/arch/linux.c (_device_seek, _partition_get_part_dev),
libparted/fs/reiserfs/geom_dal.c (__dev):
added casts.
* libparted/arch/linux.c (_disk_sync_part_table),
libparted/fs/bfs/bfs.c (bfs_probe, bfs_clobber),
libparted/fs/ext2/ext2.c (ext2_copy_block, ext2_commit_metadata):
libparted/fs/ext2/ext2_mkfs.c (ext2_mkfs_create_lost_and_found),
libparted/labels/dos.c (probe_filesystem_for_geom),
libparted/labels/gpt.c (gpt_read):
turned runtime-length array into pointer.
* libparted/fs/ext2/ext2_mkfs.c (ext2_mkfs_init_sb),
libparted/fs/jfs/jfs_types.h: renamed u_int*_t to uint*_t.
* libparted/fs/reiserfs/reiserfs.c: sanitized function prototype.
* libparted/fs/xfs/platform_defs.h: renamed __uint*_t to uint*_t
and __int*_t to int*_t.
* libparted/labels/dos.c (probe_filesystem_for_geom): added assertions.
* libparted/labels/gpt.c (struct _GuidPartitionEntryAttributes_t):
added fallback structure for non-GCC compilers (with #warning).
2005-12-25 Leslie Polzer <[email protected]>
* include/parted/debug.h: made PED_DEBUG a function if GCC is not being
used (which means the compiler might not support C99, where variadic
macros were introduced).
* include/parted/debug.h: added check for __JSFTRACE__ which is an
instrumenting preprocessor disguising itself as GCC.
2005-12-20 Leslie Polzer <[email protected]>
* parted/parted.c (do_set): now offers toggled flag state as default.
2005-12-19 Leslie Polzer <[email protected]>
* configure.ac: added AC_C_INLINE check.
* Doxyfile: adapted input files to new directory layout.
* parted/parted.c (do_mkpart, do_mkfs, do_mkpartfs): automatically set
LBA flag on partition if available.
2005-12-18 Leslie Polzer <[email protected]>
* libparted/fs/ext2/interface.c (_ext2_get_resize_constraint): replaced
'PED_SECTOR_SIZE_DEFAULT' with device's sector_size.
* libparted/labels/Makefile.am: corrected crc32.c to efi_crc32.c.
* libparted/fs/bfs/Makefile.am, libparted/fs/bfs/bfs.c: added.
2005-12-17 Leslie Polzer <[email protected]>
* parted/Makefile.am, configure.ac: added BUILDINFO
* parted/parted.c: added build information (date, user, hostname)
* libparted/fs/Makefile.am, libparted/labels/Makefile.am: added
* libparted/crc32.c: renamed to efi_crc32.c
* libparted/disk_amiga.c: renamed to rdb.c
* libparted/labels/, libparted/fs/, libparted/cs/, libparted/arch/: added
and populated.
2005-12-15 Leslie Polzer <[email protected]>
* libparted/fs_ext2/ext2_block_relocator.c (ext2_block_relocate_grow):
get inode table offset from group descriptor.
* libparted/fs_ext2/ext2.h, libparted/fs_ext2/ext2.c,
libparted/fs_ext2/ext2_block_relocator.c, libparted/fs_ext2/ext2_mkfs.c,
libparted/fs_ext2/ext2_resize.c, libparted/fs_ext2/ext2_meta.c:
removed 'howmany' macro and changed its calls to 'ped_div_round_up'.
2005-12-08 Leslie Polzer <[email protected]>
* parted/ui.c: changed bug reporting instructions.
2005-11-18 Leslie Polzer <[email protected]>
* parted/command.h (struct Command): added 'non_interactive' field indicating
whether it makes sense to use this command in non-interactive mode.
* parted/command.h, parted/command.h: changed signature and body of
command_create to match new field 'non_interactive'.
* parted/ui.c (non_interactive_mode): honor 'non_interactive' field.
* parted/parted.c (do_print): removed display of start (should be always
equal to zero).
* parted/parted.c (do_print): changed some wordings.
* parted/parted.c (do_print, partition_print): added some blank lines.
* libparted/natmath.c (ped_alignment_intersect): added debug statement
facilitating the debugging of the solver.
* doc/API (preamble): added notice regarding deprecation.
2005-11-16 Guillaume Knispel <[email protected]>
* libparted/fs_hfs/hfs.c, libparted/fs_hfs/hfs.h: Added hfs_block_count and
hfsp_block_count global variables, they contain the number of FS blocks
allocated in memory for the copy buffer. Renamed MAX_BUFF to BLOCK_MAX_BUFF,
added BYTES_MAX_BUFF = 8MB.
* libparted/fs_hfs/reloc.c (hfs_pack_free_space_from_block): Fill the cache
before allocating the copy buffer, limit the maximum buffer size to the max
of min(8MB, 1 HFS block) and allocate at least the size needed by the cache.
Store the number of HFS blocks allocated in hfs_block_count.
* libparted/fs_hfs/reloc.c (hfs_effect_move_extent): Copy hfs_block_count
blocks by hfs_block_count blocks (instead of MAX_BUFF).
* libparted/fs_hfs/reloc_plus.c (hfsplus_pack_free_space_from_block): Limit
the maximum buffer size to the max of min(8MB, 1 HFS+ block) and allocate
at least the size needed by the cache. Store the number of HFS+ blocks
allocated in hfsp_block_count.
* libparted/fs_hfs/reloc_plus.c (hfsplus_effect_move_extent): Copy
hfsp_block_count by hfsp_block_count blocks (instead of MAX_BUFF).
* libparted/fs_hfs/probe.c, libparted/fs_hfs/probe.h (hfsc_can_use_geom):
Added - check if the sector size is really 512B.
* libparted/fs_hfs/probe.c (hfs_and_wrapper_probe, hfsplus_probe, hfs_probe,
hfsx_probe): Added calls to hfsc_can_use_geom.
* libparted/fs_hfs/hfs.c (hfs_open, hfsplus_open): Added calls to
hfsc_can_use_geom.
* parted/ui.c (command_line_get_sector): Handle range == NULL cleanly
(do_rescue uses that value...).
* libparted/unit.c (parse_chs, ped_unit_parse_custom): Handle range == NULL
cleanly too.
2005-11-14 Leslie Polzer <[email protected]>
* include/parted/device.h, libparted/device.c, include/parted/disk.h,
include/libparted/disk.c: added documentation.
* include/parted/device.h (struct _PedDevice): made fields sector_size and
phys_sector_size 64 bit wide.
* Doxyfile: tweaked.
2005-11-11 Otavio Salvador <[email protected]>
* configure.ac: add AM_GNU_GETTEXT_VERSION macro to ensure that we have a
good gettetxt version and let autoreconf happy ;-)
* config.h.in, config.guess, config.sub, libtool, ltconfig, ABOUT-NLS,
depcomp, missing, mkinstalldirs, ltmain.sh, install.sh, INSTALL,
po/Makefile.in.in po/Rules-quot, m4/: removed. Those can be generated
when we're going to build the tarball.
* configure.ac, Makefile.am: don't use m4/Makefile.in since won't install
or process it.
* autogen.sh: added to be easier to us to build the tarball.
2005-11-11 Guillaume Knispel <[email protected]>
* parted/parted.c (do_print): removed diagnostic message displaying
if the free argument was given or if a partition number was given.
* parted/parted.c (do_print): "Sector" instead of "Block" size, append 'B'
to the values.
* libparted/unit.c, include/parted/unit.h, doc/API: added (declares, defined,
and documented) ped_unit_format_custom_byte based on ped_unit_format_custom,
added ped_unit_format_byte (wrapper of ped_unit_format_custom_byte),
transformed ped_unit_format_custom and ped_unit_format to wrappers of
ped_unit_format_custom_byte.
Depending of the unit and value to represent, ped_unit_format_custom_byte
can output representations with a precision up to 1/100 unit.
* parted/parted.c (do_print): make use of ped_unit_format_byte instead of
ped_unit_format to get representation of end of partitions / device
(point to the last byte of the last sector instead of the first byte of
the last sector).
2005-11-11 Leslie Polzer <[email protected]>
* parted/parted.c (do_mkpart, do_mkpartfs): support partition naming.
* parted/parted.c (do_mkpart, do_mkpartfs): ask for primary/extended only
when necessary.
2005-11-10 Leslie Polzer <[email protected]>
* include/parted/debug.h: added 'PedDebugHandler' type.
* include/parted/debug.h: added 'PED_DEBUG' macro.
* include/parted/debug.h, include/parted/debug.c: added ped_debug
and ped_debug_set_handler.
* include/parted/debug.h: added some documentation.
* configure.in: renamed to configure.ac.
* libparted/disk_loop.c (loop_probe): removed gratuitous const cast.
* libparted/disk_amiga.c: replaced 'dev->sector_size' with
'PED_SECTOR_SIZE_DEFAULT' (first see whether Amiga PTs support bs != 512).
* libparted/linux.c (init_generic): replaced dev->sector_size with
'PED_SECTOR_SIZE_DEFAULT' (non-initialized).
* libparted/linux.c (_device_probe_geometry): make cylinder size calculation
right.
* libparted/debug.c (ped_debug): calls 'debug_handler' now instead of
'default_handler'
2005-11-09 Leslie Polzer <[email protected]>
* include/parted/device.h (struct _PedDeviceArchOps, extern ped_device_read),
include/parted/disk.h (struct _PedDiskOps, _ped_disk_alloc):
changed the prototype of 'read', 'probe' and 'alloc' to take a const PedDevice.
* include/parted/unit.h: renamed 'PED_SECTOR_SIZE' to
'PED_SECTOR_SIZE_DEFAULT'.
* libparted/disk.c (_ped_disk_alloc), libparted/disk_amiga.c (_amiga_read_block,
_amiga_find_rdb, amiga_probe, amiga_alloc), libparted/disk_bsd.c (bsd_probe,
bsd_alloc), libparted/disk_dos.c (msdos_probe, msdos_alloc),
libparted/device.c (ped_device_read), libparted/disk_dvh.c (dvh_probe,
dvh_alloc), libparted/disk_gpt.c (gpt_probe, gpt_alloc, _read_header,
_non_metadata_constraint), libparted/disk_loop.c (loop_alloc, loop_probe),
libparted/disk_mac.c (mac_probe, mac_alloc), libparted/disk_pc98.c
(pc98_probe, pc98_alloc), libparted/disk_sun.c (sun_probe, sun_alloc),
libparted/linux.c (_device_seek, _read_lastoddsector, linux_read):
made 'dev' const and added const cast where necessary.
* libparted/disk_amiga.c (_amiga_checksum, amiga_probe, amiga_alloc, amiga_read,
amiga_write, amiga_partition_new), libparted/disk_bsd.c (bsd_alloc),
libparted/disk_msdos.c (probe_filesystem_for_geom), libparted/disk_gpt.c
(gpt_alloc, gpt_read, _write_pmbr, gpt_write, gpt_alloc_metadata),
libparted/fs_amiga/affs.c, libparted/fs_amiga/amiga.c,
libparted/fs_amiga/apfs.c, libparted/fs_amiga/asfs.c,
libparted/fs_ext2/interface.c, libparted/fs_hfs/advfs.c,
libparted/fs_hfs/advfs_plus.c, libparted/fs_hfs/cache.c,
libparted/fs_hfs/file.c, libparted/fs_hfs/file_plus.c, libparted/fs_hfs/hfs.c,
libparted/fs_hfs/journal.c, libparted/fs_hfs/probe.c, libparted/fs_hfs/reloc.c
libparted/fs_hfs/reloc_plus.c, libparted/fs_reiserfs/reiserfs.c,
libparted/gnu.c, libparted/linux.c:
replaced 'PED_SECTOR_SIZE' or '512' with 'PedDevice.sector_size' or
at least 'PED_SECTOR_SIZE_DEFAULT'.
* libparted/disk_amiga.c (amiga_read), libparted/disk_bsd.c (bsd_alloc),
libparted/disk_msdos.c (probe_filesystem_for_geom), libparted/linux.c
(_device_get_length, linux_read, linux_write, _blkpg_add_partition):
added sector size assertion.
* libparted/disk_gpt.c (struct _GuidPartitionTableHeader): made Reserved2
dynamic (need not be 420 bytes).
* libparted/disk_gpt.c (pth_get_size, pth_get_size_static, pth_get_size_rsv2,
pth_new, pth_new_zeroed, pth_new_from_raw, pth_get_raw, pth_crc32): added.
* libparted/disk_gpt.c (gpt_probe, gpt_clobber, _header_is_valid,
_read_header, _parse_header, gpt_read, _generate_header, gpt_write):
adapted to new Reserved2 and pth_* functions.
* libparted/disk_gpt.c (gpt_probe): replaced '1' with 'GPT_HEADER_SECTORS'.
* libparted/disk_gpt.c (_header_is_valid): added PedDevice argument.
* libparted/disk_gpt.c (_parse_header, _write_pmbr): replaced '92' with
'pth_get_size_static'.
* libparted/disk_gpt.c (ped_disk_gpt_init): removed header size assertion.
* libparted/linux.c (_device_get_sector_size): renamed to
'_device_set_sector_size'
* libparted/linux.c (_device_set_sector_size): sets real sector size now
instead of 512.
* libparted/linux.c (_device_probe_geometry): calls 'device_set_sector_size'
now.
* libparted/linux.c (init_ide): added stub for setup of
'PedDevice.phys_sector_size'.
* libparted/linux.c (_blkpg_add_partition): added assertion for 'disk'.
* doc/parted.texi (Related Software and Info): updated URLs for 'yaboot'
and 'ybin'.
* doc/parted.texi (Related Software and Info): [email protected] ->
* doc/parted.texi (unit): corrected note on sector size.
2005-11-07 Otavio Salvador <[email protected]>
* parted/parted.c (do_print): print a error when called with a invalid
argument.
* parted/parted.c (do_print): add 'free' argument that display information
about disk freespace.
2005-11-05 Leslie Polzer <[email protected]>
* parted/ui.c: updated wording of bug reporting instructions
* libparted/disk_gpt.c: updated to work with block sizes > 512 bytes
2005-11-02 Leslie Polzer <[email protected]>
* released 1.6.25
2005-10-28 Guillaume Knispel <[email protected]>
* libparted/fs_hfs/journal.c, libparted/fs_hfs/hfs.c: fix some exception
messages.
* libparted/unit.c (ped_unit_format_custom): remove unused variable "result".
2005-10-25 Guillaume Knispel <[email protected]>
* libparted/disk_mac.c (_disk_add_part_map_entry): the function didn't
work when mac_disk_data->last_part_entry_num was null (when the only
existing partition is the partition table and the user destroy it).
2005-10-24 Guillaume Knispel <[email protected]>
* parted/parted.c (prefer_snap): incorrectly chose MOVE_STILL instead
of MOVE_UP or MOVE_DOWN if both weren't activated.
2005-10-15 Guillaume Knispel <[email protected]>
* libparted/filesys.c (_probe_with_open): The file system was considered
valid if the open method was not implemented. Now openable file systems
are considered first (if one and only one is successfully opened,
return it), then if only one non openable file system is remaining,
return it (else return NULL).
2005-10-14 Guillaume Knispel <[email protected]>
* libparted/disk_dos.c (_log_meta_overlap_constraint): ignore inactive
partitions.
* parted/parted.c (snap_to_boundaries): didn't reliably work since the
range is variable, complete rewrite.
* parted/parted.c (try_snap): was called by snap_to_boundaries, removed.
* parted/parted.c (prefer_snap): new function called by snap_to_boundaries,
detect if the sector should be snaped to the begining of the partition
it belongs to, or to the end.
2005-10-13 Guillaume Knispel <[email protected]>
* libparted/disk_gpt.c (add_metadata_part): don't forget to free the
constraint if adding the metadata partition failed.
2005-10-04 Guillaume Knispel <[email protected]>
* doc/parted.texi: Unit command description added, based on what
was previously in 2.2 Using GNU Parted (which has been replaced
by a reference to the unit command...). Also various fixes in
@copying layout and some typos fixes.
2005-10-03 Otavio Salvador <[email protected]>
* po/es.po: updated
2005-10-03 Guillaume Knispel <[email protected]>
Applied patch from Colin Watson <[email protected]>:
* libparted/linux.c (_device_get_part_path): check for devfs-style /disc
without even testing if _have_devfs(), because udev can be used instead
with the same behavior.
2005-10-02 Guillaume Knispel <[email protected]>
Applied patch from Matt Zimmerman <[email protected]>:
* include/parted/device.h: PED_DEVICE_UBD added in PedDeviceType.
* libparted/linux.c (_device_probe_type): recognize UML UBD devices.
* libparted/linux.c (linux_new): handle UML UBD devices.
2005-09-21 Guillaume Knispel <[email protected]>
* po/id.po: added (thanks to Arif E. Nugroho <[email protected]>)
* po/es.po: updated
* doc/parted.8: updates from A. Costa <[email protected]>
Applied patch from Otavio Salvador <[email protected]>:
* libparted/disk_dos.c (probe_partition_for_geom): Fix compiler warnings
while compiling with gcc 4.0.
* libparted/disk_sun.c (sun_read): bugfix - recognize partitions on sun
disklabel.
2005-08-22 Guillaume Knispel <[email protected]>
* libparted/disk_dos.c (_align_logical_no_geom): removed
_calc_min_logical_start() and use a true constraint instead, generated by
the new _log_meta_overlap_constraint(). This constraint should enforce
necessary gaps between logical partitions to fit the linked list of
partition tables. This should get ride of the infamous Assertion
(metadata_length > 0) failed bug for extended msdos disklabels generated
by Parted.
* libparted/disk_dos.c (_align_logical): also use
_log_meta_overlap_constraint() as mandatory.
2005-08-21 Guillaume Knispel <[email protected]>
* libparted/unit.c (parse_chs, ped_unit_parse_custom): set *range to NULL
and *sector to 0 on failure.
* parted/ui.c (command_line_get_sector): set *value to 0 on failure.
* parted/parted.c (do_mkpart, do_mkpartfs, do_move, do_resize): more memory
leak fixes (range_start, range_end).
2005-08-10 Leslie Polzer <[email protected]>
* parted/ui.c: updated wording of bug reporting instructions
* released 1.6.24
2005-08-09 Leslie Polzer <[email protected]>
Applied patch from Eduardo Righes <[email protected]>, HP Brazil:
* include/parted/disk.h, libparted/disk.c, libparted/disk_gpt.c:
hidden partitions support and command to set MS Reserved partitions
through "set" command.
2005-08-08 Leslie Polzer <[email protected]>
* parted/parted.c (do_resize): fixed memory leak (range_start, range_end).
2005-08-03 Guillaume Knispel <[email protected]>
* libparted/disk_dos.c (msdos_partition_destroy): leak correction, free
((DosPartitionData*)(part->disk_specific))->orig if necessary.
* libparted/fs_fat/traverse.c (fat_traverse_complete): leak correction, free
trav_info->dir_name.
* libparted/linux.c (_device_get_sector_size): preassign sector_size to
PED_SECTOR_SIZE to make Valgrind happy.
* parted/ui.c (command_line_get_sector): set *range to NULL in case of failure.
2005-08-01 Guillaume Knispel <[email protected]>
* libparted/disk_dos.c (probe_partition_for_geom): integer only calculation
of cyl_size and head_size, to avoid FP arithmetic approximation problems.
* doc/API: fixed documentation for PedUnit according to new prototypes.
2005-07-26 Leslie Polzer <[email protected]>
* parted/ui.c (command_line_get_sector): set range in default case
2005-07-19 Guillaume Knispel <[email protected]>
* all files: FSF address changed to
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
2005-07-11 Guillaume Knispel <[email protected]>
CHANGE SUMMARY:
HFSX and journaled HFS+ / HFSX now supported.
The HFS+ / HFSX allocation bitmap is saved during relocation.
This is safer.
* libparted/fs_hfs/*: cosmetic changes in ped_exception_throw calls.
* libparted/fs_hfs/journal.c: added.
* libparted/fs_hfs/journal.h: added.
* libparted/fs_hfs/Makefile.am: journal.c and journal.h added.
* libparted/fs_hfs/cache.h: new tags for journal info block (CR_BTREE_CAT_JIB)
and journal (CR_BTREE_CAT_JL)
* libparted/fs_hfs/hfs.h: journal structs (HfsJJournalInfoBlock,
HfsJJournalHeader, HfsJBlockInfo, HfsJBlockListHeader) described.
HFSJ_JOURN_IN_FS, HFSJ_JOURN_OTHER_DEV, HFSJ_JOURN_NEED_INIT,
HFSJ_HEADER_MAGIC, HFSJ_ENDIAN_MAGIC, HFSX_CASE_FOLDING, HFSX_BINARY_COMPARE
added.
Fields dirty_alloc_map, allocation_file, jib_start_block, jl_start_block of
HfsPPrivateFSData added.
* libparted/fs_hfs/hfs.c (hfsplus_open): allocate dirty_alloc_map and open
allocation_file. Do not emit the warning exception about untested attributes
file anymore.
(hfsplus_close): free dirty_alloc_map and close allocation_file.
New HFSX descriptors hfsx_ops && hfsx_type.
(ped_file_system_hfs_init, ped_file_system_hfs_done): (un)register HFSX.
* libparted/fs_hfs/reloc.c (hfs_effect_move_extent): don't save the allocation
map anymore.
(hfs_move_extent_starting_at): save it here.
* libparted/fs_hfs/reloc_plus.c (hfsplus_do_move): handle journal and bitmap
reloc.
(hfsplus_move_extent_starting_at): call to the new hfsplus_save_allocation
added.
* libparted/fs_hfs/probe.c, libparted/fs_hfs/probe.h: hfsx_probe added.
* libparted/disk_mac.c (mac_partition_set_system): HFSX support.
* doc/parted.texi: updated documentation to reflect new journaled and hfsx
capabilities.
2005-07-10 Andrew Clausen <[email protected]>
* libparted/disk.c (_partition_check, _partition_check_extended): replaced
a specific start<=end sanity check in _partition_check_extended with
a generic assertion in _partition_check.
* libparted/parted.c (_ped_abs, _solution_check_distant, _get_left_bound,
_get_right_bound, _grow_over_small_freespace): removed and replaced with
snap_to_boundaries() et al:
* libparted/parted.c (snap_to_boundaries, try_snap, snap): these functions
do similar things to the functions above that they replace, except that
they constrain themselves by the recently introduced unit-specific ranges
rather than "small" magic numbers. In addition, it will snap to an
existing partition boundary to avoid consuming slightly more free space.
(So, it could possibly shrink or grow)
* libparted/disk.c (ped_disk_add_partition, ped_disk_set_partition_geom):
these functions now deduce if a there are no constraint solutions because of
overlapping problems, and throws an appropriate exception. This means
that lots of "Unable to satisfy constraints" messages will be replaced
with "Can't have overlapping partitions" messages where appropriate.
* po/pl.po: updated.
2005-07-06 Andrew Clausen <[email protected]>
* po/POTFILES.in: added libparted/fs_hfs/* and libparted/unit.c.
* po/vi.po: added (thanks to Tran Thi Hoang Quyen!)
* configure.in: added vi (Vietnamese) to the language list.
* po/ja.po po/nl.po: updated.
* libparted/disk_dvh (dvh_alloc, _handle_no_volume_header,
_get_extended_constraint): make the volume header partition include
the first sector of the disk (which contains the partition table.)
* libparted/disk_dvh (_handle_no_volume_header): removed the Ignore option
for disks without a volume header partition.
* libparted/disk_dvh (_get_primary_constraint, _get_extended_constraint):
don't align to cylinder boundaries any more.
* libparted/fs_ext2/ext2_block_relocator.c: added some comments.
* released 1.6.23
2005-07-04 Andrew Clausen <[email protected]>
* include/parted/natmath.h (ped_div_round_to_nearest): added.
* libparted/unit.c (ped_unit_parse_custom, geometry_from_centre_radius):
move out-of-disk detection into geometry_from_centre_radius(), because
the tolerance level depends on the radius.
* libparted/unit.c (ped_unit_parse_custom): clip the sector inside the
disk, if it passed the geometry_from_centre_radius() tolerance check.
* libparted/unit.c (ped_unit_format_custom): round to the nearest unit.
* libparted/unit.c (ped_unit_format_custom): format cylinders separately,
because they shouldn't be rounded.
* libparted/unit.c (ped_unit_parse_custom): start counting at -1, so that
-0 is past the end of the disk.
* libparted/constraint.c (ped_constraint_solve_nearest): it is not a bug
to have no end solution.
* libparted/constraint.c (_constraint_get_end_range): fixed an out-by-1
error on the length sanity check.
* libparted/unit.c (ped_unit_parse_custom): reduce the radius by 1.
This means a location is fuzzy only to strictly less than the unit
size.
2005-07-03 Andrew Clausen <[email protected]>
* include/parted/unit.h: rearranged the order of prototypes, and changed
some formatting.
* libparted/unit.c (ped_unit_get_size, get_sectors_per_cent, remove_punct):
rearranged order of functions.
* libparted/unit.c (ped_unit_format_custom): rewrote more compactly,
using ped_unit_get_name().
* libparted/unit.c (parse_chs, ped_unit_parse_custom): moved CHS parsing
into a new separate function.
* libparted/unit.c (parse_unit_suffix, ped_unit_parse_custom): moved
the unit parsing code into a separate new function.
* libparted/unit.c (ped_unit_parse_custom): restructed error handling.
* libparted/unit.c (ped_unit_get_size): make % simple: length*SECTOR_SIZE/100
* libparted/parted.c: applied a patch by Benno Schulenberg to clean up
error message / UI text strings.
2005-07-02 Leslie Polzer <[email protected]>
* libparted/unit.c: fixed off-by-one error
* doc/parted.texi: removed passage on ``='' notation and changed it
to document the new range handling.
2005-07-01 Leslie Polzer <[email protected]>
* libparted/unit.c: moved handling of negative locations to the right
place.
2005-06-30 Leslie Polzer <[email protected]>
* include/parted/unit.h (ped_unit_format): changed signature (swapped
order of arguments).
* include/parted/unit.h (ped_unit_format_custom): changed signature to
match new API interface.
* include/parted/unit.h (ped_unit_parse): changed signature to match
new API
interface (added range argument).
* include/parted/unit.h (ped_unit_parse_custom): changed signature to
match new API (added ``range'' argument)
* include/parted/unit.h (ped_unit_get_size): added.
* parted/parted.c: fixed typo in help ("MUMBER").
* parted/parted.c (_solution_check_distant): changed calls to match new
ped_unit_format signature.
* parted/parted.c (_grow_over_small_freespace): removed handling of
is_start_exact and is_end_exact.
* parted/parted.c (do_mkpart, do_mkpartfs, do_move, do_resize): changed
calls to command_line_get_sector and constraint_from_start_end to match
new signatures.
* parted/parted.c (do_move, do_print): changed calls to ped_unit_format
to match new signature.
* parted/parted.c (do_print): changed calls to ped_unit_format_custom
to match new signature.
* parted/ui.h (command_line_get_sector): changed signature
(replaced ``int* is_exact'' with ``PedRange** range'')
* parted/ui.c (command_line_get_integer): changed calls to
ped_unit_format to match new signature.
* parted/ui.c (command_line_get_sector): removed handling of
is_start_exact and is_end_exact and changed signature accordingly.
* libparted/unit.c: added API documentation.
* libparted/unit.c (ped_unit_format): rewrote call to
ped_unit_format_custom to match new signature.
* libparted/unit.c: (clip): added.
* libparted/unit.c (geometry_from_centre_radius): added.
* libparted/unit.c (ped_unit_parse_custom): removed differentiation
between double and long - double should be enough.
* libparted/unit.c (ped_unit_parse_custom): vast simplification due to
new range handling and usage of new functions
geometry_from_centre_radius and ped_unit_get_size.
* libparted/unit.c (get_sectors_per_cent): added.
* libparted/unit.c (ped_unit_get_size): added.
* libparted/disk.c (ped_disk_check): changed calls to match new
ped_unit_format signature.
* libparted/fs_fat/calc.c (fat_check_resize_geometry): changed calls to
match new ped_unit_format signature.
2005-06-18 Andrew Clausen <[email protected]>
* libparted/constraint.c: more comments.
2005-06-15 Andrew Clausen <[email protected]>
* po/zh_TW: added. From Wei-Lun Chao <[email protected]>.
2005-06-12 Andrew Clausen <[email protected]>
* libparted/disk_dos.c (probe_partition_for_geom): some OEM partitioning
software (?) has an out-by-one error for numbering the ending cylinder
of partitions. This change supresses any exceptions, and treats the
CHS information as if the correct information had been given.
2005-06-11 Andrew Clausen <[email protected]>
* libparted/disk_dos.c (probe_partition_for_geom): the old code couldn't
infer any information when the start head didn't divide the end head.
2005-06-04 Andrew Clausen <[email protected]>
* libparted/linux.c (init_scsi, scsi_get_product_info,
scsi_query_product_info, read_device_sysfs_file): Use /sys to
fetch vendor/product names before trying the deprecated ioctl,
SCSI_IOCTL_SEND_COMMAND. Based on a patch by Chris Lumens (thanks!)
* libparted/geom.c: added more comments.
* libparted/natmath.c: added more comments.
* libparted/constraint.c: added more comments.
* libparted/device.c: added more comments.
* libparted/timer.c: added more comments.
* libparted/filesys.c: added more comments.
* libparted/disk.c: added more comments.
2005-06-03 Andrew Clausen <[email protected]>
* libparted/disk_mac.c (_rawpart_is_active): empty partition names with
the type "Apple_Free" can also be free space partitions.
2005-06-02 Andrew Clausen <[email protected]>
* libparted/fs_fat/fat.c (fat_check): typecast -1 to (FatCluster). (gcc
complains otherwise)
* libparted/linux.c (init_ide): call strip_name() on the prepared buffer
rather than the raw input.
2005-05-14 Andrew Clausen <[email protected]>
* libparted/fs_fat/fat.c (fat_check): don't complain about the information
sector reporting the number of free clusters as -1 ("I don't know").
2005-05-10 Andrew Clausen <[email protected]>
* libparted/disk_mac.c (mac_partition_set_flag): put curly braces around
the if body in the PED_PARTITION_BOOT case.
2005-04-20 Andrew Clausen <[email protected]>
* libparted/disk_mac.c (_rawpart_is_active): treat Apple_Free partitions
with names other than Extra as normal (active) partitions.
* parted/parted (do_resize): allow resizing of extended partitions,
even if some logical partitions are mounted.
2005-03-29 Andrew Clausen <[email protected]>
* everything: more punctuation / grammatical fixes from Benno Schulenberg
* libparted/disk_dvh.c (_handle_no_volume_header): only give a lax
constraint on the new volume header. (Previously, if there wasn't
much space, then the volume header would not be created. Now, a smaller
one gets created.)
* libparted/disk_dvh.c (_parse_partition, _generate_partition): retire the
hack in which the start of the volume header was temporarily represented
as 1 rather than 0.
* libparted/disk_dvh.c (_get_strict_extended_constraint): added.
* libparted/disk_dvh.c (dvh_partition_align): allow the volume header
(extended partition) to begin on sector 0 in both strict and lax
constraint forms.
* libparted/disk_dvh.c (dvh_alloc_metadata): only protect the partition
table with a metadata partition if the volume header (extended partition)
does not protect it already.
* libparted/disk_dvh.c (dvh_alloc_metadata): always protect the partition
table, but use a logical metadata partition if the volume header
includes the partition table.
2005-03-28 Andrew Clausen <[email protected]>
* everything: more punctuation / grammatical fixes from Benno Schulenberg
* everything: filesystem -> file system. (messages / comments only)
* parted/parted.c (init_commands): describe "=" notation.
* doc/parted.texi: describe "=" notation.
* doc/parted.texi: link www.namesys.com/pub/libreiserfs
2005-03-27 Andrew Clausen <[email protected]>
* parted/parted.c (_rescue_add_partition()): fixed memory leaks.
* parted/parted.c (_rescue_pass()): now accepts partitions that end within
the allowed end range. (Was previously buggy.)
* parted/parted.c (_rescue_add_partition()): use ped_constraint_exact()
to force the partition geometry to match the probed filesystem's
geometry.
* libparted/unit.c, doc/parted.texi: changes units to match SI standards.
eg: Mb -> MB, Kb -> kB.
* libparted/libparted.c (init_disk_types, done_disk_types): put in
alphabetical order.
* parted/ui.c parted/ui.h (command_line_get_integer, command_line_get_sector,
command_line_get_state, command_line_get_device, command_line_get_disk,
command_line_get_partition, command_line_get_fs_type,
command_line_get_disk_type):
all command_line_get_*() functions now take their default input value from
the same location as the output value.
* parted/ui.c (command_line_get_sector): "=" specifies that the user
would like the partition to be exactly in that location, without
any possibility of being moved due to alignment or other reasons.
* parted/parted.c (do_check, do_cp, do_mklabel, do_mkfs, do_mkpart,
do_mkpartfs, do_move, do_name, do_print, do_rescue, do_resize, do_rm,
do_select, do_set): updated to new ui.h interface.
* parted/parted.c (do_name): include the old name as default.
* everything: applied many punctuation / grammatical fixes from
Benno Schulenberg <[email protected]>.
2005-03-21 Andrew Clausen <[email protected]>
* libparted/disk_mac.c (mac_partition_set_flag, _rawpart_is_lvm):
Now uses "Linux_LVM" in the system name, not "lvm" in the volume name.
* libparted/disk_mac.c (mac_partition_set_flag, _rawpart_is_raid,
_rawpart_analyse): Added analogous support for RAID partitions.
* libparted/unit.c (ped_unit_parse_custom): throw an exception if the
location doesn't have any numbers as input.
* parted/parted.c (do_print): remove padding spaces from text, and replace
them with numbers. This should make life easier for the translation
team.
2005-03-20 Andrew Clausen <[email protected]>
* include/parted/unit.h: added.
* include/parted/parted.h: now includes unit.h.
* include/parted/device.h: PED_SECTOR_SIZE is now defined in unit.h.
* libparted/unit.c: added.
* libparted/disk.c (ped_disk_check): use new unit.h formatting code.
* libparted/fs_fat/calc.c (fat_check_resize_geometry): use new unit.h
formatting code.
* parted/parted.c (do_unit): added a command for selecting the default unit.
* parted/parted.c (_solution_check_distant): uses new unit.h formatting code.
The prototype changed to include "dev", which is required to format the "%"
and "cyl" units.
* parted/parted.c (partition_print, do_print, _rescue_add_partition):
uses new unit.h formatting code.
* parted/parted.c (do_print): changed "Minor" -> "Number".
* parted/ui.c (command_line_get_sector): changed to use new unit.h
parsing and formatting code.
* parted/ui.c (command_line_get_unit): added.
* parted/ui.h: added command_line_get_unit() prototype.
* doc/API: added documentation for PedUnit.
* parted/parted.c: updated help text to reflect change from Minor to Number.
* doc/parted.texi: update documentation to reflect change from Minor to Number.
* doc/parted.texi: update documentation to reflect units changes.
* include/parted/unit.h: added CHS support. (PED_UNIT_CHS)
* libparted/unit.c: added CHS support.
* parted/parted.c: display the size of partitions, except if the unit is CHS.
2005-03-20 Andrew Clausen <[email protected]>
* released 1.6.22
2005-03-14 Chris Lumens <[email protected]>
* libparted/fs_fat/fat.h: Change name to a char array in _FatDirEntry.
* libparted/fs_fat/traverse.c (fat_dir_entry_is_active): One last unsigned
char vs. char compiler warning fix.
* libparted/device.c: Functions named things like read, write, and check
can be implemented as macros which will get expanded here and cause
problems. Surround the names with parentheses to prevent macro expansion.
* libparted/linux.c (_mount_table_search): Ignore sccanf result.
2005-03-11 Guillaume Knispel <[email protected]>
* libparted/fs_hfs/hfs.c, libparted/fs_hfs/reloc.c,
libparted/fs_hfs/reloc_plus.c: Make use of ped_geometry_sync_fast in hfs
and hfs+ code.
2005-03-08 Chris Lumens <[email protected]>
* libparted/disk_amiga.c, libparted/disk_gpt.c, libparted/disk_pc98.c,
libparted/disk_sun.c, libparted/linux.c, libparted/fs_hfs/reloc.c: Fix up
unsigned char vs. char compiler warnings.
2005-03-07 Chris Lumens <[email protected]>
* libparted/disk_mac.c: support LVM on PPC by setting the proper flags on the
partition (patch from Paul Nasrat <[email protected]>).
2005-03-06 Andrew Clausen <[email protected]>
* libparted/disk_sun.c: many changes, including:
- replaced hw_geom with bios_geom.
- disk_specific->length is now set to cylinder_size * label->ncyl.
- label->acyl is now set to 0 by default.
2005-03-05 Andrew Clausen <[email protected]>
* doc/parted.8: changed "mips" to "dvh" to be consistent with the Parted
user interface.
* doc/parted.texi: added http:// and ftp:// onto some URLs.
2005-03-04 Chris Lumens <[email protected]>
* libparted/fs_fat/context.c: fix casting typo.
* include/parted/constraint.h, libparted/constraint.c: remove
ped_constraint_none that wasn't being referenced anywhere.
2005-03-04 Andrew Clausen <[email protected]>
* libparted/fs_fat/count.c (flag_traverse_fat): in the assignment to
cluster_info [clst].units_used, store 0, rather than 64. The code
has the same semantics, but no gcc4 compiler warning. (0 == 64 when
you use 6-bit integers; 0 is interpreted as 64 in all relevant code)
(problem reported by Chris Lumens <[email protected]>)
2005-02-19 Guillaume Knispel <[email protected]>
* libparted/fs_hfs/hfs.c (hfs_resize): do nothing when nothing to do.
* libparted/fs_hfs/hfs.c (hfsplus_resize): do nothing when nothing to do.
* libparted/fs_hfs/hfs.c (hfsplus_open): leak in the error handling code
corrected.
2005-02-17 Guillaume Knispel <[email protected]>
* include/parted/device.h (_PedDeviceArchOps): field sync_fast added.
* include/parted/device.h (ped_device_sync_fast): added.
* include/parted/geom.h (ped_geometry_sync_fast): added.
* libparted/device.c (ped_device_sync_fast): added.
* libparted/geom.c (ped_geometry_sync_fast): added.
* libparted/gnu.c (gnu_dev_ops): sync_fast pointing to gnu_sync added.
* libparted/linux.c (linux_sync_fast): added.
* libparted/linux.c (linux_dev_ops): sync_fast pointing to linux_sync_fast
added.
* doc/API : new ped_device_sync_fast and ped_geometry_sync_fast API
documented.
2005-02-14 Chris Lumens <[email protected]>
* parted/parted.c : on the help for the mkfs, mkpart, and resize commands,
only list filesystem types that are supported
2005-02-02 Guillaume Knispel <[email protected]>
* integrated HFS Patch 16 :
* libparted/fs_hfs/hfs.c
* libparted/fs_hfs/hfs.h
* libparted/fs_hfs/probe.c
* libparted/fs_hfs/probe.h
* libparted/fs_hfs/cache.c
* libparted/fs_hfs/cache.h
* libparted/fs_hfs/advfs.c
* libparted/fs_hfs/advfs.h
* libparted/fs_hfs/file.c
* libparted/fs_hfs/file.h
* libparted/fs_hfs/reloc.c
* libparted/fs_hfs/reloc.h
* libparted/fs_hfs/advfs_plus.c
* libparted/fs_hfs/advfs_plus.h
* libparted/fs_hfs/file_plus.c
* libparted/fs_hfs/file_plus.h
* libparted/fs_hfs/reloc_plus.c
* libparted/fs_hfs/reloc_plus.h
* libparted/Makefile.am : modified according new source files listed above
* libparted/disk_mac.c (mac_partition_set_system): tag partition with type
"Apple_HFS" if the filesystem is "hfs+" in addition to "hfs"
* debug/test/test_fs_hfs : new non-regression tests for hfs
* debug/test/test_fs_hfsplus : new non-regression tests for hfs+
* debug/test/test (ped_test_get_val): allow bash evaluation of $post_command
* doc/parted.texi (Supported File Systems): added resize operation for hfs
and hfs+, and a note stating they can only be made smaller.
* doc/parted.texi (Command explanation Resize): talk about hfs.
2005-01-16 Andrew Clausen <[email protected]>
* released 1.6.21
2005-01-10 Sven Luther <[email protected]>
* libparted/disk.c, doc/parted.texi : renamed prep-boot prep partition name to
prep.
2005-01-08 Andrew Clausen <[email protected]>
* libparted/linux.c (linux_disk_commit): if the BLKPG method fails, try
the BLKRRPART method.
2005-01-06 Andrew Clausen <[email protected]>
* libparted/disk_dos.c (msdos_write): put in a unique identifier (which
is misleadingly called the "MBR signature" by Microsoft docs and
EFI specs). Based on a patch by Matt Domsch <[email protected]>.
2005-01-05 Sven Luther <[email protected]>
* include/parted/endian.h : fixed PED_SWAP macros missing (), since it broke
on 64bit hardware as shown in the PED_CPU_TO_BE32(part ? part_num : LINK_END)
code snipplet, which applied the uint32 cast to part, and not the value.
* libparted/disk_amiga.c, libparted/fs_amiga/amiga.c : Added some uint32 casts.
2005-01-05 Andrew Clausen <[email protected]>
* libparted/disk_sun.c (sun_alloc, sun_read, sun_write): fixed
cylinder recording stuff. pcylcount is now 2 more, and ncyl is now
2 less than it was before.
* libparted/filesys.c (ped_file_system_clobber): removed a useless
(always-thrown) assertion for file system support for clobbering.
2004-12-26 Harley D. Eades III <[email protected]>
* libparted/gnu.c (gnu_new): Added three new variables ro_err, rw_err and