Gentoo Archives: gentoo-user

From: Daniel Iliev <daniel.iliev@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] DVD and large files
Date: Sun, 06 Jul 2008 10:51:32
Message-Id: 20080706135046.50dee9a8@ilievnet.com
In Reply to: Re: [gentoo-user] DVD and large files by Dale
1 On Fri, 04 Jul 2008 14:43:01 -0500
2 Dale <dalek1967@×××××××××.net> wrote:
3
4 > Hi again,
5 >
6 > After getting a LOT of help on this, I got it sorted out. This is
7 > what is installed:
8 >
9 > [ebuild U ] app-cdr/cdrkit-1.1.8 [1.1.6] USE="unicode -hfs" 0 kB
10 > [ebuild U ] app-cdr/k3b-1.0.5-r1 [1.0.4] USE="alsa arts dvdr
11 > dvdread encode hal mp3 vorbis -css -debug -emovix -ffmpeg -flac
12 > -musepack -musicbrainz -sndfile -vcd -xinerama" LINGUAS="-af -ar -bg
13 > -br -bs -ca -cs -cy -da -de -el -en_GB -es -et -eu -fa -fi -fr -ga
14 > -gl -he -hi -hu -is -it -ja -ka -lt -mk -ms -nb -nds -nl -nn -pa -pl
15 > -pt -pt_BR -ru -rw -se -sk -sr -sr@Latn -sv -ta -tr -uk -uz -zh_CN
16 > -zh_TW" 0 kB
17 >
18
19 Actually if you don't care about the GUI and compatibility with other
20 systems, you can do DVD burning with growisofs only (without
21 mkisofs/genisoimage respectively from cdrtools or cdrkit).
22
23 > I also noticed something else that was "funny". I added the line to
24 > fstab but sort of forgot something else. This is one of my blonde
25 > moments here, not blonde but anyway. I forgot to make the mount
26 > point, you know, the hdd directory in /media. < Dale slaps forehead >
27 >
28
29 AFAIK this might cause problems if you use auto-mounting software and
30 forget to disable it before writing.
31
32
33 > The proof is in the puddin tho:
34 >
35 > root@smoker / # ls -al /media/hdd/
36 > total 4194346
37 > dr-xr-xr-x 2 root root 112 2008-07-04 14:22 .
38 > drwxr-xr-x 5 root root 192 2008-07-04 14:21 ..
39 > -r--r--r-- 1 root root 4295007744 2008-07-04 12:32
40 > Test-_2008.07.04-10.06.53_1.tar
41 > root@smoker / #
42 >
43 > That's a BIG file. Now I want a blue ray thingy. o_O Then I can
44 > make HUGE files. lol
45
46
47
48 The good part is that you don't need isofs for DVDs. Actually
49 you don't need any fs at all. You could write files like this:
50
51 growisofs -Z /dev/dvd=Test-_2008.07.04-10.06.53_1.tar
52
53 Unfortunately I have I/O errors (ruined media) often with this method,
54 so I use:
55
56 tar cp path/to/files | \
57 pipebench -q -b 50000000 | \
58 growisofs -Z /dev/sr0=/dev/fd/0
59
60 "pipebench" is in portage and provides two important advantages:
61 - you can check the speed and make adjustments it if necessary
62 - you can adjust the buffer (-b)
63
64
65 To restore the files from the above backup:
66
67 tar xpf /dev/dvd
68
69 It works perfectly for me.
70
71 You can burn this way images with your preferred FS.
72
73
74
75 --
76 Best regards,
77 Daniel
78 --
79 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] DVD and large files Dale <dalek1967@×××××××××.net>