Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bluray and kernel udf
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
John Klug
Tux's lil' helper
Tux's lil' helper


Joined: 20 Nov 2007
Posts: 75
Location: Minnesota

PostPosted: Mon Jan 26, 2009 4:49 am    Post subject: bluray and kernel udf Reply with quote

I was wondering if it is possible to write to a bluray disk (BD-RE) like one does with DVD-RAM? It seems like it could save a lot of time if this were possible.

The BD-RE disk is loaded in /dev/sr0. The kernel complains that the disk is write protected.

I can write the bluray disk if I use the loop driver, create a file system in a hard drive file, and write the image using growisofs.

Just curious if I am missing something here. The /dev/pktcdvd directory was created by /etc/init.d/pktcdvd I believe.

Code:
tvscribe bin # mkudffs -r 0x0201 /dev/sr0
start=0, blocks=16, type=RESERVED
start=16, blocks=3, type=VRS
start=19, blocks=237, type=USPACE
start=256, blocks=1, type=ANCHOR
start=257, blocks=16, type=PVDS
start=273, blocks=1, type=LVID
start=274, blocks=12218861, type=PSPACE
start=12219135, blocks=1, type=ANCHOR
start=12219136, blocks=239, type=USPACE
start=12219375, blocks=16, type=RVDS
start=12219391, blocks=1, type=ANCHOR
tvscribe bin # mkudffs -r 0x0201 /dev/sr0
start=0, blocks=16, type=RESERVED
start=16, blocks=3, type=VRS
start=19, blocks=237, type=USPACE
start=256, blocks=1, type=ANCHOR
start=257, blocks=16, type=PVDS
start=273, blocks=1, type=LVID
start=274, blocks=12218861, type=PSPACE
start=12219135, blocks=1, type=ANCHOR
start=12219136, blocks=239, type=USPACE
start=12219375, blocks=16, type=RVDS
start=12219391, blocks=1, type=ANCHOR
tvscribe bin # mkdir /tmp/sr0
tvscribe pktcdvd # mount /dev/pktcdvd/sr0 /tmp/sr0
mount: block device /dev/pktcdvd/sr0 is write-protected, mounting read-only


/var/log/messages:
Code:
Jan 25 18:22:47 tvscribe pktcdvd: writer pktcdvd0 unmapped
Jan 25 18:22:47 tvscribe pktcdvd: writer pktcdvd1 unmapped
Jan 25 18:22:47 tvscribe pktcdvd: writer pktcdvd0 mapped to sr0
Jan 25 18:22:47 tvscribe cdrom: This disc doesn't have any tracks I recognize!
Jan 25 18:22:47 tvscribe pktcdvd: writer pktcdvd1 mapped to hda
Jan 25 18:23:04 tvscribe UDF-fs INFO UDF: Mounting volume 'LinuxUDF', timestamp 2009/01/25 23:02 (1000)
Back to top
View user's profile Send private message
grooveman
Veteran
Veteran


Joined: 24 Feb 2003
Posts: 1217

PostPosted: Fri Jun 05, 2009 10:27 pm    Post subject: Reply with quote

You don't need to packet write to blu-ray, it works like a DVD+RW disk. Just format with dvd+rw-format (should be necessary only once), then: "mkudffs /dev/sr0"

Then you should be able to mount in read/write mode, and access directly. Make sure you have write permissions to the directory upon which it is mounted, and you should be good to go...

Now.. that being said, I found my burner to be extremely slow.... but it works. I'm looking for ways to better tune it.
_________________
To look without without looking within is like looking without without looking at all.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum