docs/119386: bsdlabel and newfs on DVD-RAM (handbook ch. 18.7.9)

Martin Laabs martin.laabs at mailbox.tu-dresden.de
Sun Jan 6 15:40:01 UTC 2008


>Number:         119386
>Category:       docs
>Synopsis:       bsdlabel and newfs on DVD-RAM (handbook ch. 18.7.9)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 06 15:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Martin Laabs
>Release:        6.2
>Organization:
-
>Environment:
FreeBSD martin.laabs 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:40:53 UTC 2007     root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
In chapter 18.7.9 of the handbook (Using a DVD-RAM) is a description how to use/prepare a DVD-RAM so that it can be used with freebsd. Therefore you have to use bsdlabel and newfs.
Since the blocksize of an DVD-RAM ist 2048 byte and bsdlabel and newfs (also with the -s 2048 option) do at least one write with blocksize smaller than 2048 byte both commands fails.

>How-To-Repeat:
For example the first command, which is "dd if=/dev/zero of=/dev/acd0 count=2", produces the following output on my system (Optiarc DVD RW AD-7170A/1.02 device)

su:~$ dd if=/dev/zero of=/dev/acd0 count=2
dd: /dev/acd0: Invalid argument
1+0 records in
0+0 records out
0 bytes transferred in 0.000138 secs (0 bytes/sec)

If I add the bs=2k option it works fine:

su:~$ dd if=/dev/zero of=/dev/acd0 count=1 bs=2k
1+0 records in
1+0 records out
2048 bytes transferred in 0.001740 secs (1177026 bytes/sec)
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list