2001-04-17 14:10:15

by Andreas Ferber

[permalink] [raw]
Subject: [PATCH] scripts/ver_linux not working on Debian

Hi,

scripts/ver_linux uses fdformat to determine the version of util-linux
used on the system. However, on Debian GNU/Linux:

---------- snip ----------
% fdformat --version

Note: /usr/bin/fdformat is obsolete and is no longer available.
Please use /usr/bin/superformat instead (make sure you have the
fdutils package installed first). Also, there had been some
major changes from version 4.x. Please refer to the documentation.

---------- snip ----------

Attached is a patch which modifies ver_linux so that it can correctly
determine the util-linux version on Debian (by using /sbin/hwclock if
fdformat fails).

Andreas
--
Bell Labs Unix -- Reach out and grep someone.


Attachments:
(No filename) (678.00 B)
ver_linux-debian.patch (615.00 B)
Download all attachments