LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-10-2005, 07:10 AM   #1
Nightfrost
Member
 
Registered: Jun 2004
Location: Sweden
Distribution: ArchLinux
Posts: 201

Rep: Reputation: 30
dvd-ram udf


I've ordered a dvd-ram disc in order to use it as a bridge between my linux system and any windows system that I might want to copy files to. For this purpose, I would need to format the dvd-ram with the UDF-filesystem. Does anyone know if this is possible, and in that case how it is done? I've been googling plenty for it, but without results. Thanks in advance.
 
Old 08-10-2005, 04:55 PM   #2
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
Get the latest 2.6 kernel and dvd+rw-tools package. You have to enable udf support either as a module or in the kernel. then just mount the dvd rw. You may want to check the hcl to see if your driver is supported. You may also google pktcdvd I haven't been able to do packet writing to dvd-rws but cd-rws work fine. Mabye they've fixed it by now.
 
Old 08-11-2005, 02:22 AM   #3
Nightfrost
Member
 
Registered: Jun 2004
Location: Sweden
Distribution: ArchLinux
Posts: 201

Original Poster
Rep: Reputation: 30
Thanks for your reply, Boow. dvd+rw might be the way to go but dvd-ram is, as far as I understand, considerably different from dvd+/-rw. It's supposedly possible to format a dvd-ram disc with an ext2 filesystem, after which it should work precisely as a normal harddrive. I'm just looking for the equivalence of "mkfs.ext2" that will format a disc with UDF.
 
Old 08-11-2005, 04:10 PM   #4
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
All the DVD-RAMs I've bought came pre-formatted UDF.
Beware, though, that XP does not like it when Linux writes to UDF. I use DVD-RAM to archive, and when I try to access a RAM disk after writing to it in Linux, XP complains that the file system is corrupted and wants to reformat the disk.
 
Old 08-11-2005, 04:41 PM   #5
Nightfrost
Member
 
Registered: Jun 2004
Location: Sweden
Distribution: ArchLinux
Posts: 201

Original Poster
Rep: Reputation: 30
It comes preformatted? That's great. I should probably mention for anyone else in my position, though, that I came over a package called udftools which includes "mkudffs".

Anyway, I find it rather strange that WinXP would complain about a disc which linux has written to. If the filesystem is UDF, then that should be enough for XP shouldn't it?

Thanks for the info though
 
Old 08-11-2005, 06:51 PM   #6
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
the udftools package is what I ment sorry bout that. Since i hav this huge harddrive I havn't messed with dvd-rams
 
Old 08-12-2005, 08:50 PM   #7
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
Quote:
Originally posted by Nightfrost
...Anyway, I find it rather strange that WinXP would complain about a disc which linux has written to. If the filesystem is UDF, then that should be enough for XP shouldn't it?...
You'd think so, wouldn't you? I'll give formatting one under Linux a go and see if that makes any difference.
 
Old 08-13-2005, 03:02 AM   #8
Nightfrost
Member
 
Registered: Jun 2004
Location: Sweden
Distribution: ArchLinux
Posts: 201

Original Poster
Rep: Reputation: 30
I've received my dvd-ram disc. It seemed unformatted so I formatted it under linux with mkudffs, and it worked right away without a hassle. I tried the disc under a WinXP machine, and the files could be read alright, but I wasn't able to erase anything from the disc. I never got why, but I'm just happy if WinXP can read the disc so...
 
Old 08-13-2005, 04:52 AM   #9
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
I'm glad for your success. Are you using double- or single-sided disks? With or without the casing?

I believe the reason you couldn't write is that XP didn't trust that the filesystem was clean, so it mounted it read-only.
 
Old 08-14-2005, 12:50 PM   #10
Nightfrost
Member
 
Registered: Jun 2004
Location: Sweden
Distribution: ArchLinux
Posts: 201

Original Poster
Rep: Reputation: 30
It's a panasonic 3x non-cartridge disc. It's a 4.7GB disc, so assume it is singe sided, but I'm not sure if the whole single-side/double-side thing works the same way with dvd-ram as it does with dvd+/-r(w). My dvd-recorder burns only single side dvd+/-r, though.

Your suspicion with regard to how XP handles the dvd might very well be true; it sounds reasonable to me.
 
Old 08-14-2005, 01:48 PM   #11
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
Mine are Fugifilm 4.7GB single-sided non-cartridge, in case you wondered.
I'm pretty sure the single/double sided thing works the same way, as single-sided disks are referred to as "simple face" in French, but I'm not in a position where I've studied it out either. My DVD-RAM experience was just as painless as yours. Isn't it nice when things just work?
 
Old 08-14-2005, 02:02 PM   #12
Nightfrost
Member
 
Registered: Jun 2004
Location: Sweden
Distribution: ArchLinux
Posts: 201

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Charred
Isn't it nice when things just work?
Indeed And I think that's where linux is heading; where most things will just work... and I like it alot.
 
Old 09-13-2005, 03:50 PM   #13
tumbelo
Member
 
Registered: Mar 2005
Distribution: Suse 9.3, Kubuntu Hoary, Slackware 10.1
Posts: 66

Rep: Reputation: 15
Sorry for resurrecting the thread but I have some problems with DVD-RAM. I have an LG GSA-4040B drive which supports 3x DVD-RAM writing if I remember correctly. I formatted my disc with...

# mke2fs /dev/dvdram

...mounted it and tried copying stuff on it. It works but it's painfully slow. It took almost ten minutes to copy a 350 MB tv episode file on it. Even after it had finished, there was still something going on for a few minutes, preventing me from unmounting. Umount didn't say it was busy, it just kept me waiting. Is there something wrong? How can I define the used write speed? DMA is already on.
 
Old 09-13-2005, 04:24 PM   #14
Nightfrost
Member
 
Registered: Jun 2004
Location: Sweden
Distribution: ArchLinux
Posts: 201

Original Poster
Rep: Reputation: 30
Code:
-rw-r--r--   1 nightfrost users  45M 2005-09-13 22:57 Documents.tar.gz
-rw-r--r--   1 nightfrost users 442M 2005-09-13 22:59 thunderbird.tar.gz
Code:
[nightfrost@nightfrost backup]$ time cp -va *.tar.gz /media/optical/backup/2005-09-13/
`Documents.tar.gz' -> `/media/optical/backup/2005-09-13/Documents.tar.gz'
`thunderbird.tar.gz' -> `/media/optical/backup/2005-09-13/thunderbird.tar.gz'

real    14m44.423s
user    0m0.052s
sys     0m2.811s
~500MB in ~15 minutes. I think this is about how fast these discs go.

Quote:
Even after it had finished, there was still something going on for a few minutes, preventing me from unmounting. Umount didn't say it was busy, it just kept me waiting.
This is because linux caches some of the data before writing it to disc; so after the operation is over it continues to write. This behavior can, I believe, be overidden with the "sync" option.

Last edited by Nightfrost; 09-13-2005 at 04:25 PM.
 
Old 09-13-2005, 05:01 PM   #15
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
Do you have all the appropriate CD/DVD write options enabled in your kernel?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access to DVD-RW (UDF) Telman Mandriva 11 09-04-2005 07:42 PM
DVD+RW udf with udftools, w/o kernel patch TomF Linux - Software 1 03-11-2005 07:07 PM
DVD ....udf?? munkie_poo Mandriva 10 07-28-2004 04:06 AM
Trouble accessing UDF DVD data... Zigor Linux - Newbie 0 07-15-2004 06:06 AM
SuSE 9.1 + UDF DVD = Doesn't work? Need help! vizi0n Linux - General 1 06-24-2004 06:39 PM


All times are GMT -5. The time now is 09:33 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration