Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.development.apps > #501

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

From Jan Panteltje <pNaonStpealmtje@yahoo.com>
Newsgroups comp.os.linux.development.apps
Subject OT: Tales of future past: the bluray BD-RE (rewritable) for data storage
Date 2012-08-27 12:32 +0000
Organization albasani.net
Message-ID <k1fpc6$6m9$1@news.albasani.net> (permalink)

Show all headers | View raw


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.


Back to comp.os.linux.development.apps | Previous | NextNext in thread | Find similar


Thread

OT:  Tales of future past: the bluray BD-RE (rewritable) for data storage Jan Panteltje <pNaonStpealmtje@yahoo.com> - 2012-08-27 12:32 +0000
  Re: OT:  Tales of future past: the bluray BD-RE (rewritable) for data storage David Brown <david@westcontrol.removethisbit.com> - 2012-08-27 16:33 +0200
    Re: OT:  Tales of future past: the bluray BD-RE (rewritable) for data storage Jan Panteltje <pNaonStpealmtje@yahoo.com> - 2012-08-27 15:20 +0000
  Re: OT:  Tales of future past: the bluray BD-RE (rewritable) for data storage Joerg.Schilling@fokus.fraunhofer.de - 2013-03-28 13:31 +0000

csiph-web