Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

OT: Tales of future past: the bluray BD-RE (rewritable) for data storage

61 views
Skip to first unread message

Jan Panteltje

unread,
Aug 27, 2012, 8:32:05 AM8/27/12
to

I use bluray BD-RE (rewritable) for data storage,
where data storage of course includes multimedia, and software.


Whenever you look at 'how it is done' you see the ISO9660 filesystem.
I do not particularly like that filesystem, all its changes over time, its structure etc.
I have hundreds of normal DVDs with ISO9660 data made with mkisofs program.

Linux has many good filesystems, so why should I use ISO9660?

On normal DVD+R if I have a movie (recorded from satellite for example),
I just burn it as image:
growisofs -Z /dev/dvd=movie.ts

And then you can get it back to disk later with:
cp /dev/dvd ./movie.ts

So far so good, no authoring crap needed.

But with the the blurays 25 GB minimum size, one can have more than 1 movie,
so we need some filesystem.

This will show you how to create a reiser filesystem on a bluray .iso (image) file,
add files to it until it is full,
and then burn it to a bluray disk.

It should work with ANY other Linux filesystem, ext2 ext3, whatever too,
just change the relevant line.

Although it will not play in one of those Hollywood crippled bluray boxes
that you connect to a TV with HDMI,
it will mount in Linux, if it has a bluray player.


# For a 25 GB size BD-RE

# create a disk image
dd if=/dev/zero bs=1000000000 count=25 > bluray.iso

# create a filesystem (reiserfs here), use mke2fs for ext2, etc, avoid any Microsoft copyrighted stuff, FREEDOM!
mkreiserfs -f bluray.iso

# mount the image
mount -o loop=/dev/loop0 bluray.iso /mnt/loop

# copy all files in current directory to the image (recursive -r should work too)
cp -p * /mnt/loop/

# unmount the image
umount /dev/loop0

# burn the image
growisofs -overburn -Z /dev/dvd=bluray.iso

# verify the burned disk against the image
dvdimagecmp -a bluray.iso -b /dev/dvd
#>count=24219779072 (24219.78MB), speed=218104kbps (19.EOF found in file2 at 24220008448
#>Ready, 24220008448 bytes read, 0 errors found, 0 defective blocks
# Strange Mr Verbatim, it says 25 GB on the box?

# store disk

# days pass, weeks, years, store disks in a DARK!!!!!!!! place (I use alu case).

# get it back, and mount it again:
mount /dev/dvd /mnt/dvd
#>/dev/sr0 24413308 23322696 1090612 96% /mnt/dvd

# let's see:
mount
#>/dev/sr0 on /mnt/dvd type reiserfs (rw)

# go there
cd /mnt/dvd

# all your files are here
ls -rtla
#>-rw-r--r-- 1 root root 5211180836 Jul 15 02:09 cant_tel_ye.ts
#>-rw-r--r-- 1 root root 6474147352 Jul 20 22:48 oops_hollywood_sucks.ts
#>-rw-r--r-- 1 root root 3493260336 Jul 22 00:30 not_at_total_secret.ts
#>-rw-r--r-- 1 root root 4788239868 Jul 24 15:30 the_end_of_hollywood.ts
#>drwxr-xr-x 27 root root 680 Aug 26 20:27 ../
#>-rw-r--r-- 1 root root 3858276316 Aug 27 11:58 a3_hd_with_sound.avi

# How much data we have?
/mnt/dvd # du
#>23289428


# Hey fun!






F*CK you Hollywood.
I won't buy one of your stinking crippled boxes.
I won't use your dictated filesystems
Keep your bloat



FAQ:
This is all based on the fact that in Unix everything is a file.
Even a filesystem can be o na file.

mkisofs? Where is it?
No need for it whatsoever.

Rockridge? Joliet? file size limitations? Copyrights?
No

So how do I play these saved files on my TeaFee?
Insert USB stcik
mount /dev/sdd1 /mnt/sdd1
cp /mnt/dvd/the_end_of_hollywood.ts /mnt/sdd1/
umount /dev/sdd1

Stick in my Samsung 3D TV
select media play
play.



David Brown

unread,
Aug 27, 2012, 10:33:50 AM8/27/12
to
On 27/08/2012 14:32, Jan Panteltje wrote:
>
> I use bluray BD-RE (rewritable) for data storage,
> where data storage of course includes multimedia, and software.
>
>
> Whenever you look at 'how it is done' you see the ISO9660 filesystem.
> I do not particularly like that filesystem, all its changes over time, its structure etc.
> I have hundreds of normal DVDs with ISO9660 data made with mkisofs program.
>
> Linux has many good filesystems, so why should I use ISO9660?
>

First, although iso9660 might not be the "perfect" filesystem, it is not
bad, works fine with Linux, and is quite efficient for a read-only file
system, especially for a small number of large files. I see no
particular reason to change it for this sort of usage.

Secondly, bluray disks (eraseable or not) cost vastly more per GB than
DVD-R, or even hard disks. I can't think of any good reason to use them
as a storage medium until they come down in price by a factor of 10 or so.

But of course, use them as you want - you are demonstrating the
flexibility of Linux here, even if it is not a usage that makes sense to me.


Jan Panteltje

unread,
Aug 27, 2012, 11:20:47 AM8/27/12
to
On a sunny day (Mon, 27 Aug 2012 16:33:50 +0200) it happened David Brown
<da...@westcontrol.removethisbit.com> wrote in
<_Mudnb51KZ_oGKbN...@lyse.net>:
A good reason to use bluray s that you need less *physical* storage space.
I have close to 1000 DVDs.
As to the price, unless you use shit quality ultra cheap stuff,
per GB its about the same ATM, and will only get cheaper.
As to the file system, ISO96660 has been through several changes,
and reading man mkisofs says it needs -iso-level 3 command line option
these days for files > 2GB.
There is an other reason too:
Once you create the 25 GB (or more for larger disks) image
with say reiserfs or maybe ext3 or whatever,
then you can just do your video editing on it, plenty of space.
4GB is NOT enough space these days to to much.
And then when finished, umount the loop device,
and have it burn to bluray overnight.
And you have a backup of all your stuff.

When working with yuv format, or uncompressed video, 25 GB or more
will really be needed, I have fragmented by storing in binary format
on smaller disks, its a lot of extra work.

Put 25 GB in the snail mail, that is 5 DVDs...
It is actually faster than internet :-)


Joerg.S...@fokus.fraunhofer.de

unread,
Mar 28, 2013, 9:31:29 AM3/28/13
to
In article <k1fpc6$6m9$1...@news.albasani.net>,
Jan Panteltje <pNaonSt...@yahoo.com> wrote:
>
>I use bluray BD-RE (rewritable) for data storage,
>where data storage of course includes multimedia, and software.
>
>
>Whenever you look at 'how it is done' you see the ISO9660 filesystem.
>I do not particularly like that filesystem, all its changes over time, its structure etc.
>I have hundreds of normal DVDs with ISO9660 data made with mkisofs program.
>
>Linux has many good filesystems, so why should I use ISO9660?

Just because you may still like to be able to read your disks in a few years
or on a operating system other than Linux in general?

Also note that mkisofs usually does not just create a single filesystem type
but several hybrid filesystems that share the same data.

For larger media, you typically create a filesystem with:

- ISO-9660
- Rock Ridge
- UDF

using the options -R and -UDF.

Note that you need to specify -iso-level 3 or more if you like to be able to
create ISO-9660 with files > 4 GB and that this is something that has been
standardized in 1988 already.

Note however, that if you like to archive directory trees using UDF, you should
use at least mkisofs-3.01a13 (from February 15 2013) as this introduces more or
less full support for all the meta data you like. When UDF support was added to
mkisofs in 2001, this was only done to support VIDEO DVDs and thus only a
limited set of file types was supported and no correct timestamps,
permissions...

--
EMail:jo...@schily.net (home) J�rg Schilling D-13353 Berlin
j...@cs.tu-berlin.de (uni)
joerg.s...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
0 new messages