LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-03-2010, 04:46 AM   #1
fishjohn
LQ Newbie
 
Registered: Feb 2010
Posts: 29

Rep: Reputation: 15
exact size of UDF image for 50G bluray ?


Hi,

Whats missing is exact size of image.udf.
E.g. what should be exact value of $ZZZZZZZZ ?

1) dd if=/dev/zero of=image.udf bs=64k seek=$ZZZZZZZZ count=1
2) mount -o loop ./image.udf /mnt/udf
3) write files to /mnt/udf
4) umount /mnt/udf
5) growisofs -speed=8 -Z /dev/scd0=image.udf
 
Old 08-04-2010, 01:52 PM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
Try
Code:
$ du -s image.udf
 
Old 08-05-2010, 07:08 AM   #3
fishjohn
LQ Newbie
 
Registered: Feb 2010
Posts: 29

Original Poster
Rep: Reputation: 15
Thanks, but I want to know what is exact (largest) size of image.udf that I can create. That what fits to bluray disc.
 
Old 08-05-2010, 07:33 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Code:
1) dd if=/dev/zero of=image.udf bs=64k seek=$ZZZZZZZZ count=1
2) mount -o loop ./image.udf /mnt/udf
3) write files to /mnt/udf
4) umount /mnt/udf
5) growisofs -speed=8 -Z /dev/scd0=image.udf
You skipped a few steps between 1 and 2.
You need to format the udf image. I think you want to use `mkudffs' from the udftools package.
You need to mount the image
You need to change the ownership of the mounted directory so you have permission to copy files into it.

I don't know what the size of a blue ray disk is. The growisofs indicates that a blank blueray disk "BD-RE or BD-R, it gets pre-formatted with minimal spare area size of 256MB." Which you might need to take into account. Doesn't the packaging on the blueray disk give the capability? If not, perhaps wikipedia will provide more information.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
creating logical volume of exact specified size devkpict Linux - Software 1 07-16-2009 03:59 AM
deleting file by exact size drpaudel Linux - Newbie 1 04-02-2008 03:56 AM
How to make exact computer disk image? k-kid Linux - General 2 02-04-2005 10:44 AM
how do i create an exact image boot cd? Cobra133 Linux - General 2 06-01-2004 02:39 PM
Can't recognize my exact harddisk size ! ericmacau Linux - Hardware 2 09-23-2003 05:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:28 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration