[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch #2961] libparted/linux.c _read/write_lastoddsector not needed on
From: |
anonymous |
Subject: |
[patch #2961] libparted/linux.c _read/write_lastoddsector not needed on 2.6 kernels |
Date: |
Thu, 22 Apr 2004 11:36:27 -0400 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) |
This mail is an automated notification from the patch tracker
of the project: GNU Parted.
/**************************************************************************/
[patch #2961] Full Item Snapshot:
URL: <http://savannah.gnu.org/patch/?func=detailitem&item_id=2961>
Project: GNU Parted
Submitted by: 0
On: Thu 04/22/04 at 15:36
Category: None
Priority: 7 - High
Resolution: None
Assigned to: None
Originator Email: address@hidden
Status: Open
Summary: libparted/linux.c _read/write_lastoddsector not needed on 2.6 kernels
Original Submission: Trying parted 1.6.8 and 1.6.9 on a 2.6.4 kernel, parted
hangs (and can't be ctrl-C'd) while trying to read an odd-sized GPT disk. This
is because the _read_lastoddsector code is being run, however the kernel
doesn't have (and doesn't need to have) the BLKGETLASTSECT ioctl().
The kludge code in linux.c isn't needed when running on 2.6 kernels. Perhaps it
would be appropriate to test for kernel version and optionally not run it, like
the patch below provides. This works for me.
File Attachments
-------------------
-------------------------------------------------------
Date: Thu 04/22/04 at 15:36 Name: parted-1.6.9-noreadlastsector.patch Size:
1KB By: None
parted-1.6.9-noreadlastsector.patch
http://savannah.gnu.org/patch/download.php?item_id=2961&item_file_id=3134
For detailed info, follow this link:
<http://savannah.gnu.org/patch/?func=detailitem&item_id=2961>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [patch #2961] libparted/linux.c _read/write_lastoddsector not needed on 2.6 kernels,
anonymous <=