From owner-freebsd-hackers Sun Mar 10 23:58:55 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id ABA9737B41A for ; Sun, 10 Mar 2002 23:58:39 -0800 (PST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.2/8.12.2) with ESMTP id g2B7wFnp095663; Mon, 11 Mar 2002 08:58:19 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Dima Dorfman Cc: hackers@FreeBSD.ORG Subject: Re: dumpon(8) obsolete In-Reply-To: Your message of "Mon, 11 Mar 2002 03:27:19 GMT." <20020311032724.654EF3E31@bazooka.trit.org> Date: Mon, 11 Mar 2002 08:58:15 +0100 Message-ID: <95662.1015833495@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Dima, Can you hold off on this one for a bit ? I would like to see how dumpdevices end in GEOM before I make up my mind. It may be needed to do more than the sysctl in a GEOM world ( like actually opening the device for instance) so a program like dumpon would be useful to embed this code in. Poul-Henning In message <20020311032724.654EF3E31@bazooka.trit.org>, Dima Dorfman writes: >Since sysctl(8) grew support for setting dev_t's, dumpon(8) can be >reduced to: > > sysctl kern.dumpdev=$argument > >Since dumpon(8) is not a standard interface and only appears to be >used in /etc/rc, I'd like to change the latter to use sysctl(8) >directly and remove dumpon(8) from the tree. The only issue I can see >is that there is a lot of relevant information in the dumpon(8) manual >page, but most of it is probably more appropriate for the Handbook or >crash(8), anyway. > >If nobody objects, I'd like to move the relevant stuff out of the >dumpon(8) manual and proceed to remove the program itself as described >above. > >Thanks. > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-hackers" in the body of the message > -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message