From owner-freebsd-current Wed Dec 20 21:21:33 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA13191 for current-outgoing; Wed, 20 Dec 1995 21:21:33 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id VAA13180 for ; Wed, 20 Dec 1995 21:21:29 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id GAA18215 for ; Thu, 21 Dec 1995 06:21:25 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id GAA08153 for freebsd-current@FreeBSD.org; Thu, 21 Dec 1995 06:21:25 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id AAA12464 for freebsd-current@FreeBSD.org; Thu, 21 Dec 1995 00:32:48 +0100 From: J Wunsch Message-Id: <199512202332.AAA12464@uriah.heep.sax.de> Subject: disklabel -r -w rz2 rzxx To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Thu, 21 Dec 1995 00:32:47 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-current@FreeBSD.org Precedence: bulk Geeze. I've been installing a new SCSI disk at a customer lately who is running digital unix. Interestingly enough, everything around the file system (disklabel, newfs) looked very confident to me. Well, they've got one (undocumented, of course) feature i found interesting: in order to write the disklabel for the first time onto an unlabelled disk, you could provide it with the argument "rzxx", and the system figured out the basic parameters of the drive (and made an initial suggestion for the file systems). I thought of this being a neat idea, and actually all we need in order to implement it would be that ioctl(DIOCGDINFO) would fill in as much parameters for an unlabelled disk as the driver does already know. Of course, "rzxx" is a poor naming, i would rather suggest "auto". -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)