writing bluray discs

short notes about writing bluray discs on the commandline because i always forget something about how to do it :)

  1. install a sane linux which ships the real cdrecord
  2. make an fs with mkisofs:

    $ mkisofs -verbose -V "volumelabel" -J -r -o outputfile.iso file [file...]
  3. selecting the drive is a bit weird with cdrecord. one can use unix style device names, but that isn't really supported. you can find your device with -scanbus. i had to use the ATAPI scheme for this, even so it says ATA is preferred :)

    $ cdrecord dev=ATAPI -scanbus
    Cdrecord-ProDVD-ProBD-Clone 3.02a09 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2016 Joerg Schilling
    scsidev: 'ATAPI'
    devname: 'ATAPI'
    scsibus: -2 target: -2 lun: -2
    Warning: dev=ATA: is preferred over dev=ATAPI:.
    Warning: Using ATA Packet interface.
    Warning: The related Linux kernel interface code seems to be unmaintained.
    Warning: There is absolutely NO DMA, operations thus are slow.
    Using libscg version 'schily-0.9'.
            0,0,0     0) 'HL-DT-ST' 'BD-RE  BH16NS40 ' '1.03' Removable CD-ROM
            0,1,0     1) *
            0,2,0     2) *
            0,3,0     3) *
            0,4,0     4) *
            0,5,0     5) *
            0,6,0     6) *
            0,7,0     7) *
  4. with our device found, we can burn now:

    $ cdrecord -v dev=ATAPI:0,0,0 speed=4 -dao outputfile.iso
  5. $$$