bug-parted
[Top][All Lists]
Advanced

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

bug#16338: [PATCH] Fix filesystem detection on non 512 byte sectors


From: Brian C. Lane
Subject: bug#16338: [PATCH] Fix filesystem detection on non 512 byte sectors
Date: Thu, 17 Apr 2014 15:12:26 -0700
User-agent: Mutt/1.5.21 (2010-09-15)

On Sat, Mar 29, 2014 at 01:49:09PM -0400, Phillip Susi wrote:
> Enable probing for filesystems with non 512 byte sectors, and fix up each
> filesystem to correctly handle that.  Remove unused field from the fs type
> structure listing acceptable sector sizes.
> ---
>  NEWS                                 |  2 ++
>  include/parted/filesys.in.h          |  1 -
>  libparted/filesys.c                  |  5 ----
>  libparted/fs/amiga/affs.c            | 22 ++--------------
>  libparted/fs/amiga/apfs.c            |  6 ++---
>  libparted/fs/amiga/asfs.c            |  3 ++-
>  libparted/fs/btrfs/btrfs.c           |  1 -
>  libparted/fs/ext2/interface.c        | 18 ++++---------
>  libparted/fs/fat/bootsector.c        | 50 
> +++++-------------------------------
>  libparted/fs/fat/bootsector.h        |  3 +--
>  libparted/fs/fat/fat.c               | 12 ++++-----
>  libparted/fs/fat/fat.h               |  4 +--
>  libparted/fs/hfs/hfs.c               |  7 -----
>  libparted/fs/hfs/probe.c             | 13 ++++++----
>  libparted/fs/jfs/jfs.c               | 29 ++++++++-------------
>  libparted/fs/linux_swap/linux_swap.c | 41 ++++++-----------------------
>  libparted/fs/nilfs2/nilfs2.c         | 36 ++++++++++----------------
>  libparted/fs/ntfs/ntfs.c             | 13 ++++------
>  libparted/fs/r/fat/bootsector.c      | 32 +++++++++++++----------
>  libparted/fs/r/fat/bootsector.h      |  8 +++---
>  libparted/fs/r/fat/fat.c             | 29 +++++++++++----------
>  libparted/fs/r/fat/fat.h             |  4 +--
>  libparted/fs/r/fat/resize.c          |  4 +--
>  libparted/fs/r/fat/table.c           |  4 +--
>  libparted/fs/reiserfs/reiserfs.c     | 23 +++++++----------
>  libparted/fs/ufs/ufs.c               | 27 ++++++++++---------
>  libparted/fs/xfs/xfs.c               | 26 ++++++++-----------
>  27 files changed, 148 insertions(+), 275 deletions(-)

This looks good to me.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)





reply via email to

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