UDF and CD-RW

Laszlo Nagy nagylzs at freemail.hu
Tue Aug 9 07:51:55 GMT 2005


  Hi All!

I'm trying to use packet writing software on FreeBSD. The FreeBSD 
counterpart of the Linux "udftools" package is the "udfclient" port. 
However, I cannot use it. It does not allow me to create a new 
filesystem, telling me that I need to packet-format first. But I don't 
know how to do that. Can you please help?

Details:

uname -a

FreeBSD earth.msnet 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #3: Mon Aug  8 
22:17:04 CEST 2005     gandalf at earth.msnet:/usr/obj/usr/src/sys/EARTH  i386

cd_sessions /dev/cd0

Opening device /dev/cd0
Device has MMC profile 0x0a
Disc info for disc in device /dev/cd0
    MMC profile        : CD-RW rewritable
    sequential         :  no
    recordable         : yes
    erasable           : yes
    rewritable         : yes
    packet writing     : yes
    disc state         : empty disc
    last session state : empty
    sectorsize         : 2048
    Number of sessions     1
    Session 0
        start  at         0
        ends   at         359847
        length for        359847
        next writable at  0
        free blocks       359847
        packet size       0

Disc access statistics
    sector reads          0  (0 Kbyte)
    sector written        0  (0 Kbyte)
    switches              0

newfs_udf -P test -L test /dev/cd0

Opening device /dev/cd0

    bufcache thread initialising


Disc info for disc in device /dev/cd0
    MMC profile        : CD-RW rewritable
    sequential         :  no
    recordable         : yes
    erasable           : yes
    rewritable         : yes
    packet writing     : yes
    disc state         : empty disc
    last session state : empty
    sectorsize         : 2048
    Number of sessions     1
    Session 0
        start  at         0
        ends   at         359847
        length for        359847
        next writable at  0
        free blocks       359847
        packet size       0

Closing disc
Dismounting disc
    syncing disc
    wait for syncing disc to idle
    stopping bufcache thread
    bufcache thread joining
    signal disc its finished with writing
    wait for final disc idling
    close device
Disc access statistics
    sector reads          0  (0 Kbyte)
    sector written        0  (0 Kbyte)
    switches              0

Disk is empty; please packet-format it before use

Thanks,

   Les



More information about the freebsd-questions mailing list