[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Parted 1.5.5

From: Andrew Clausen
Subject: Parted 1.5.5
Date: Sat, 29 Dec 2001 00:48:00 +1100
User-agent: Mutt/1.2.5i

Hi all,

The main news is progress meter support has been added, and
ped_file_system_{create,copy} also use constraints.  Also, constraints
now have a maximum size field.

This should complete the changes to the API before stabilizing.
(Possible exception: modules would require some surgery.
Any opinions here?)

* include/parted/timer.h libparted/timer.c: added timer API
* include/parted/filesys.h (ped_file_system_create, ped_file_system_copy,
  ped_file_system_check, ped_file_system_resize): now use a timer.
  Updated all file systems that implement these to match the new API,
  and implemented basic timers.
* parted/parted.c: added a timer, and use it for all FS operations than
  support it
* include/parted/constraint.h libparted/constraint.c: added a max_size
  field to PedConstraint, and updated the constraint solver, etc. to
  support it.
* (ped_file_system_get_create_constraint,
  ped_file_system_get_copy_constraint): added to API, and implemented for
  all file systems.
* parted/parted.c (do_move, do_resize, do_mkfs, do_mkpartfs): use
  (ped_file_system_get_resize_constraint, ped_file_system_get_copy_constraint)
* applied ext2/ext3 split change that exists in 1.4.x.
* libparted/linux.c: applied modified patch from Hong H. Pham
 - (linux_disk_commit): Force reread of partition table if DevFS is active.
 - (_have_devfs): added, checks if the system is using DevFS.
 - (linux_disk_commit, _device_get_part_path): modified to use (_have_devfs).
 - (_get_linux_version): modified to use uname(2), rather than probing
   /proc/sys/kernel/osrelease.  Kernel version checking is done using by
   using the KERNEL_VERSION() macro in <linux/version.h>
   Affected functions are (_device_get_sector_size, _have_blkpg).
 - (linux_probe_all): if (_probe_proc_partitions) fails, resort
   to doing a blind device probe (_probe_standard_devices).  Since
   /proc/partitions contains all the block devices and partitions that
   the kernel has detected and is currently using, I do not see why we
   have to waste time probing for devices that do not exist, or devices
   that have already been probed.  A few seconds in initialisation time
   can be saved if we avoid the blind device probe.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]