relax geometry check: if HDIO_GETGEO fails, print a warning and default to

H=255,S=63
This commit is contained in:
Peter Vrabec 2005-04-28 14:29:10 +00:00
parent 6c5671bc87
commit d1e7f49f64

View File

@ -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 <pvrabec@redhat.com> 2.10-3
- if HDIO_GETGEO fails, print a warning and default to H=255,S=63 (#155950)
* Thu Mar 17 2005 Peter Vrabec <pvrabec@redhat.com> 2.10-2
- rebuild