bug-parted
[Top][All Lists]
Advanced

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

Re: Parted 1.6.21


From: Harley D. Eades III
Subject: Re: Parted 1.6.21
Date: 15 Jan 2005 17:36:40 -0600
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Andrew Clausen <address@hidden> writes:

> Hi all,
> 
> Changes:
> * libparted/disk.c, doc/parted.texi : renamed prep-boot prep partition
>   name to prep.
> * libparted/linux.c (linux_disk_commit): if the BLKPG method fails, try
>   the BLKRRPART method.
> * 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 <address@hidden>.
> * 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.
> * 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.
> * libparted/gnu.c (gnu_new): Added three new variables ro_err, rw_err
>   and ispath.  The ispath variables is set to 1 if path is indeed a path
>   and not a store type name.  This prevents having to use strchr more then
>   once.  Added a check for determining if the inputted path is a path and
>   not a store-type name.  If (const char *)path is a path then use
>   store_open (). If (const char *)path is a store-type name use
>   store_typed_open ().
> * libparted/linux.c (_disk_sync_part_table): removed duplicate error message.
> * libparted/linux.c (_device_get_part_path): only treat the device as
>   devfs if it has /disc on the end.
> * libparted/linux.c (_partition_get_part_dev): added.
> * libparted/linux.c (_partition_is_mounted_by_dev ): added.
> * libparted/linux.c (_partition_is_mounted): now uses
>   _partition_is_mounted_by_dev().  This is more reliable than guessing
>   the partition's device name.
> * libparted/linux.c (_device_probe_type): sets the type to
>   PED_DEVICE_UNKNOWN on block devices that don't fall into the
>   standard categories.  This makes libparted correctly update
>   the kernel's view of partition tables, etc.
> * libparted/disk_dos.c (probe_partition_for_geom): improved heuristic
>   for finding broken partition tables: test if any feasible solution
>   geometry exists against the end cylinder rather than 1024.  This
>   heuristic now has fewer false negatives and no false positives.
Looks great.

hde





reply via email to

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