From owner-cvs-all Sun Dec 10 12:59:33 2000 From owner-cvs-all@FreeBSD.ORG Sun Dec 10 12:59:31 2000 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D21CB37B400; Sun, 10 Dec 2000 12:59:30 -0800 (PST) Received: (from charnier@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eBAKxU431319; Sun, 10 Dec 2000 12:59:30 -0800 (PST) (envelope-from charnier) Message-Id: <200012102059.eBAKxU431319@freefall.freebsd.org> From: Philippe Charnier Date: Sun, 10 Dec 2000 12:59:30 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/tunefs tunefs.8 tunefs.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG charnier 2000/12/10 12:59:30 PST Modified files: sbin/tunefs tunefs.8 tunefs.c Log: The tunefs code assumed that the last argument was the device specification. We need to parse the arguments first, then open the device (if specified) and then apply the changes. This change will disallow the (undocumented) use of multiple instances of the same argument on the same command line for the sack of a better error message. Other changes are: 1) the softupdates (-n) now issue a warning about remaining unchanged 2) the usage and man page is changed to specify "space | time" instead of "optimization preference". PR: bin/23335 Submitted by:Mark Peek Revision Changes Path 1.14 +3 -3 src/sbin/tunefs/tunefs.8 1.14 +141 -89 src/sbin/tunefs/tunefs.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message