From owner-freebsd-scsi Sun Oct 29 23:25: 9 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id 6FB3337B4CF for ; Sun, 29 Oct 2000 23:25:06 -0800 (PST) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id AAA45628 for scsi@FreeBSD.org; Mon, 30 Oct 2000 00:25:05 -0700 (MST) (envelope-from ken) Date: Mon, 30 Oct 2000 00:25:05 -0700 From: "Kenneth D. Merry" To: scsi@FreeBSD.org Subject: cd(4) write support Message-ID: <20001030002505.A37704@panzer.kdm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've committed a set of patches in -current that provide write support for randomly writeable CD-type drives. (Mainly DVD-RAM and PD-type drives.) The driver should function the same as before with read-only media. It is now possible to do things like burn a UFS disklabel and filesystem on a CD-R, or disklabel and newfs a DVD-RAM disk. The disklabel semantics may be a little confusing with writeable media, since until you actually put a disklabel on the disk, you'll see the faked-up disklabel when you type 'disklabel cd0'. (With the da(4) driver, for instance, you wouldn't get any label back in that case.) This may be helpful in creating a label, though, since you can do something like: disklabel cd0 > cd0.label vi cd0.label [ modify the label somewhat ] disklabel -rR cd0 cd0.label Anyway, feedback and comments are welcome. Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message