From d1e7f49f64586683720792932e5fb24d96be0833 Mon Sep 17 00:00:00 2001 From: Peter Vrabec Date: Thu, 28 Apr 2005 14:29:10 +0000 Subject: [PATCH] relax geometry check: if HDIO_GETGEO fails, print a warning and default to H=255,S=63 --- dosfstools.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dosfstools.spec b/dosfstools.spec index 87e9a97..13be038 100644 --- a/dosfstools.spec +++ b/dosfstools.spec @@ -1,7 +1,7 @@ Name: dosfstools Summary: Utilities for making and checking MS-DOS FAT filesystems on Linux. Version: 2.10 -Release: 2 +Release: 3 License: GPL Group: Applications/System Source: ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/dosfstools-%{version}.src.tar.gz @@ -13,6 +13,8 @@ Patch4: dosfstools-2.8-autofat32.patch Patch5: dosfstools-2.8-endian.patch Patch6: dosfstools-2.8-types.patch Patch8: dosfstools-2.8-limits.patch +Patch9: dosfstools-2.10-getgeo.patch + BuildRoot: %{_tmppath}/%{name}-root Obsoletes: mkdosfs-ygg @@ -31,6 +33,7 @@ drives or on floppies. %patch5 -p1 -b .endian %patch6 -p1 -b .types %patch8 -p1 -b .limits +%patch9 -p1 -b .getgeo %build make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -Dllseek=lseek64 -D_LARGEFILE64_SOURCE" @@ -64,6 +67,9 @@ rm -rf %{buildroot} %{_mandir}/man8/* %changelog +* Thu Apr 28 2005 Peter Vrabec 2.10-3 +- if HDIO_GETGEO fails, print a warning and default to H=255,S=63 (#155950) + * Thu Mar 17 2005 Peter Vrabec 2.10-2 - rebuild