Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Oct 2000 00:25:05 -0700
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        scsi@FreeBSD.org
Subject:   cd(4) write support
Message-ID:  <20001030002505.A37704@panzer.kdm.org>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001030002505.A37704>