GNU bug report logs - #16338
[PATCH 2/2] Fix filesystem detection on non 512 byte sectors

Previous Next

Package: parted;

Reported by: Phillip Susi <psusi <at> ubuntu.com>

Date: Sat, 4 Jan 2014 05:28:01 UTC

Severity: normal

Tags: patch

Done: Phillip Susi <psusi <at> ubuntu.com>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 16338 <at> debbugs.gnu.org (full text, mbox):

From: "Brian C. Lane" <bcl <at> redhat.com>
To: Phillip Susi <psusi <at> ubuntu.com>
Cc: 16338 <at> debbugs.gnu.org
Subject: Re: [PATCH] Fix filesystem detection on non 512 byte sectors
Date: Thu, 17 Apr 2014 15:12:26 -0700
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)




This bug report was last modified 11 years and 41 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.