HOWTO and script: create and burn an UDF image with 4+GB files

Most people think, creating UDF images with files bigger than 4GB or even 1GB is impossible, however it's not true! You just need udftools. Also you need to load loop and udf modules. There's a good howto by grigio, I also created an (admitably pretty poor) script to do it automatically, since grigio's howto doesn't include real dvd sizes:
UDFPATH=$HOME
echo -e "By default the udf image will be placed into your home directory. \n Do you want to enter an alternative one? (Enter y or n)"
read yesorno
if [ $yesorno == y ]; then
echo "Please enter the directory you want to use: "
read UDFPATH
if [ -d $UDFPATH ]; then
echo "Using $UDFPATH"
else
echo "Creating $UDFPATH" && mkdir -v $UDFPATH
fi
fi
if [ $yesorno == n ]; then
echo "Using default directory"
fi
if [ $yesorno != y -a $yesorno != n ]; then
echo "Incorrect entry, aborting..." && exit 0
fi
if [ -e $UDFPATH/udf.iso ]; then
mv $UDFPATH/udf.iso $UDFPATH/udf.iso.bak-`date +%y.%m.%d-%H.%M` && echo "udf.iso already exists! Backing up..."
fi
echo -e "Please enter your type of disk: dvd5p, dvd5m, dvd9p or dvd9m:\n(5/9 stand for normal/double layer disk and p/m for +/-)"
read type
if [ $type == dvd5p ]; then
echo "Creating a 4,7 GB DVD+R image..."
dd if=/dev/zero of=$UDFPATH/udf.iso bs=1024 count=4590208
fi
if [ $type == dvd5m ]; then
echo "Creating a 4,7 GB DVD-R image..."
dd if=/dev/zero of=$UDFPATH/udf.iso bs=1024 count=4596992
fi
if [ $type == dvd9p ]; then
echo "Creating a 8,5 GB DVD+R image..."
dd if=/dev/zero of=$UDFPATH/udf.iso bs=1024 count=8347648
fi
if [ $type == dvd9m ]; then
echo "Creating a 8,5 GB DVD-R image..."
dd if=/dev/zero of=$UDFPATH/udf.iso bs=1024 count=8343424
fi
if [ $type != dvd5p -a $type != dvd5m -a $type != dvd9p -a $type != dvd9m -a $type != cheat ]; then
echo "Wrong type entered, aborting..." && exit 0
fi
mkudffs $UDFPATH/udf.iso
echo -e "UDF image created in $UDFPATH/udf.iso. Want to mount it right now? (Make sure udf and loop modules are loaded)"
read yesorno
if [ $yesorno == y ]; then
echo "Please enter the directory you want to use for mounting: "
read MOUNTPATH
if [ $UDFPATH = $MOUNTPATH ]; then
echo "You can't mount the image to the directory it exists in!" && exit 0
echo -e " Mount it yourself with 'sudo mount -o loop,user,uid=`id -u` -t udf $UDFPATH/udf.iso targetdir\'"
echo " Afterwards copy your files, unmount the image and burn the dvd."
echo -e " For burning you may just use 'cdrecord -eject -dao -dev=/dev/sr0 $UDFPATH/udf.iso'\n (the path to your DVD burner may vary!)"
fi
if [ -d $MOUNTPATH ]; then
echo "Using $MOUNTPATH"
USERID=`id -u`
sudo mount -o loop,user,uid=$USERID -t udf $UDFPATH/udf.iso $MOUNTPATH
echo "Copy your files, umount the image and burn the dvd."
echo -e "For burning you may just use 'cdrecord -eject -dao -dev=/dev/sr0 $UDFPATH/udf.iso'\n(the path to your DVD burner may also vary)";
else
echo "Creating $MOUNTPATH..." && mkdir -v $MOUNTPATH
USERID=`id -u`
sudo mount -o loop,user,uid=$USERID -t udf $UDFPATH/udf.iso $MOUNTPATH
echo "Copy your files, umount the image and burn the dvd."
echo -e "For burning you may just use 'cdrecord -eject -dao -dev=/dev/sr0 $UDFPATH/udf.iso'\n(the path to your DVD burner may also vary)";
fi
fi
if [ $yesorno == n ]; then
echo -e "All right, then mount it yourself with 'sudo mount -o loop,user,uid=`id -u` -t udf $UDFPATH/udf.iso targetdir'\nAfterwards copy your files, unmount the image and burn the dvd."
echo -e "For burning you may just use 'cdrecord -eject -dao -dev=/dev/sr0 $UDFPATH/udf.iso'\n(the path to your DVD burner may also vary)"
fi
if [ $yesorno != y -a $yesorno != n ]; then
echo "Incorrect entry, aborting..."
echo -e " Mount it yourself with 'sudo mount -o loop,user,uid=`id -u` -t udf $UDFPATH/udf.iso targetdir\'"
echo " Afterwards copy your files, unmount the image and burn the dvd."
echo -e " For burning you may just use 'cdrecord -eject -dao -dev=/dev/sr0 $UDFPATH/udf.iso'\n (the path to your DVD burner may vary!)"
exit 0
fi
EDIT: Some major mistakes solved.
Last edited by ku (2009-04-23 19:02:41)

See the second article for how to look through a list of files in a folder.
http://stackoverflow.com/questions/7854727/loop-over-video-files-in-folder-to-ge t-video-length

Similar Messages

  • I cant upgrade camera raw and need to to be able to work with new camera files  why?

    i cant upgrade camera raw and need to to be able to work with new camera files  why?

    Boilerplate text from Best Practices FAQ
    Supply pertinent information for quicker answers
    The more information you supply about your situation, the better equipped other community members will be to answer. Consider including the following in your question:
        * Adobe product and version number
        * Operating system and version number
        * The full text of any error message(s)
        * What you were doing when the problem occurred
        * Screenshots of the problem
        * Computer hardware, such as CPU; GPU; amount of RAM; etc.

  • HCM Process and Forms - Create and End record using the same form scenario

    Hi All,
    I have the following requirement while using HCM Processes and Forms: Using one form/scenario I need to both create a record or be able to end a record for infotype 841. When looking at the back-end service SAP_PA I have operations Create, Change, Change without delimiting and Delete. My requirement would be to do both a create and a delete I guess, but these two can't be selected at the same time while configuring the form scenario.
    I was thinking about doing somethign with the startdate and enddate instead of using the effective date. But I have no clue how to do that.
    How would this be possible?
    Thanks,
    J

    You are correct in assuming that you cannot have a create and delete on the same infotype. The config will not allow it.  Instead, configure the create and then do the delete via a call to you own method in the workflow or via the advanced generic service
    Cheers
    Ian

  • Creating Windows 8.1 master image with MDT 2013,cannot capture .WIM

    I am having an issue with creating a master image with Windows 8.1 and MDT 2013.  
    I have followed extensive tutorials on how to create a master image using Microsoft Deployment Toolkit. my goal is to have a fully configured windows 8.1 image which I can deploy through Windows Deployment Services. I have been relatively successful thus far,
    except for one issue I have run into, which is successfully capturing this image as a .WIM.
    I have successfully created a task sequence and the task sequence is able to run all the way through until the final step. Essentially the task sequence is supposed to install Windows and Office, then suspend the task sequence to allow me to make customisations
    to the start screen and desktop background, and I simply click resume task sequence, and the task sequence should sysprep reboot and capture the machine image as a .WIM file.
    the task sequence is able to sysprep the machine, but upon rebooting it boots into out of box experience, and does not create a wim file. I receive an error saying: "cannot find script file C:\ltibootstrap.Vbs" after the machine completes OOBE 
    I am using Windows Server 2012 r2, creating my Master machine image using hyper-v, and my master image is running Windows 8.1.
    Any help would be greatly appreciated.

    I'm not sure about the sequence of steps here. Try taking your captured.wim file and deploying it using MDT again, or at least to another machine. MDT sometimes leaves extra files around on the captured machine, so simply rebooting it may not get a accurate
    test results.
    IF you are getting the ltibootstrap.vbs it is most likely because there is a stray unattend.xml file somewhere in your image that is looking for this file. Crack open your Wim file and search for any unattend.xml files.
    Keith Garner - Principal Consultant [owner] -
    http://DeploymentLive.com

  • How do I create a High Quality Image with a low file size???

    Dear All,
    I am creating an invitation in Illustrator which I then place into photshop to create a JPEG. I want to create a high quality JPEG version of it but with a low file size because I am emailing the invitation. Am I correct in placing the image into photshop or should I export it from Illustrator.
    The image is built of of vectors and one JPEG but they are not high in quality.
    Can anyone help me please
    Thanks
    Ben

    The image is built of of vectors and one JPEG but they are not high in quality.
    For this type of image you would probably be better choosing GIF format (now known for some reason as 'Compuserve GIF'). Taking the number of "colors' down untl it still looks high quality, and anti-aliasing is preserved.

  • Can I create a Smart Collection for images with Paths?

    I'd like a folder that automatically collects any image i have in my library in which i've drawn a vector clipping path in Photoshop. Is this possible?

    I couldn't figure that out.
    I was hoping the file would contain a metadata call that said "Path: yes" or something like that on which I could set up the smart collection but I couldn't find one either in Lightroom or Finder.
    It's possible this piece of metadata doesn't exist, and if so I'll solve my problem with keywords, but I wanted to ask before i assumed.

  • Firefox 13.0.1 and script error and crash

    FF keeps crashing - script errors on pretty much every site. Reset FF and it does no good. Add ons disabled, all extensions updated. This just started happening within the past few days. No viruses. HELP!!!!!!!!!

    ''Can this be forwarded to the Mozilla bug team, or some other technical support?''
    Hi tuatha, you can file a new bug, but I don't think there is enough information to relate your problem to a specific cause. As you can imagine, most people are not tormented by script errors. We're trying to track it down to something about your system or your customization of Firefox.
    Could you try creating a blank new Firefox settings folder (AKA a Firefox profile)? In addition to bypassing current add-ons and custom settings, it should have completely fresh settings databases and a fresh cache folder.
    Close Firefox and start up in the Profile Manager by entering the following in the Search box on the Start menu and pressing Enter:
    <br>firefox.exe -p
    Your currently active profile is selected. Don't delete anything, just create a new profile and start Firefox in that new profile. Any time you want to switch profiles, close Firefox and return to this dialog. More information on the Profile Manager: [[Managing profiles]].
    Do the errors persist in the new profile?

  • Getting Started with Business Catalyst and Muse – Creating and Publishing Sites | Introducing Business Catalyst | Adobe TV

    Learn how to create your first Business Catalyst site using Muse, then push it live online with just a few clicks.
    http://adobe.ly/OU3cnr

    I pushed my muse site live to bc and used one of my CC plans.  Now i want to upgrade from webbasic plan to get email account with bc.  I can't find where to upgrade the plan. Any ideas?

  • Downloadhelper extension stopped functioning. I need to uninstall it but the extension website says to contact Firefox for such help. Will reinstalling it delete and re-create or will I end up with a non-functioning old copy and a functioning new one?

    I use a year-old Macintosh with OS 10.5.8. I tried to change the video output format of downloadhelper extension from FLV to a format playable by Macs and Windows computers. In trying that, downloadhelper disappeared from the upper margin of the open screen and is no longer accessible. I want to dis-install it and then reinstall it, but there is no procedure at either the downloadhelper website or the FireFox website to do so. I am afraid to reinstall without first removing the extension. How can I remove it? The downloadhelper site specifically says to ask Firefox how to do it and offers no help.

    I solved my own problem. Uninstall download helper as follows: Go to Tools|Add-ons. Click on extensions and look for "DownloadHelper in the list. On the bottom you should click on the <Uninstall> button. You'll need to restart Firefox.
    Then, go to the downloadhelper extension install website on the Firefox website and reinstall downloadhelper.

  • I need to copy audio files and projects from logic to an external hard as my MBPis nearly full and my external hard drive has packed up with all my files on it, any suggestions on how do I copy 200GB from my MBP to a new external HD

    I Use logic and back my audio file and projects on an external HD ,this has now packed up . I have all the files in the MBP , but need to copy them to a new external HD, I have only 10GB left on my machine , how do I copy 200GB from my machine to a new External HD.
    any helpful full advice would be appreciated.
    angus

    Yes, just drag and drop them into the drive..
    How long will it take? Hard to say without knowing the type and speed of the drives in question.. and even then it's hard to estimate... but does time really matter?
    The fact you only have 10 Gigs left will/may slow the process down but it wont/shouldn't stop it...
    If needed.. just drag and drop some of the files at a time.. not all of them.
    Remember that copying files doesn't delete them from the original drive... You will still need to delete them yourself after they are copied over and empty the trash....
    However....
    When you saved these projects in Logic (Pro X?) did you save them using the include audio files option?
    If not, then when you move the audio files used in these projects... Logic will not know where they are to reload them........ and that will cause you issues.
    So.. if you didn't...
    I would use this method instead...
    Logic Pro X: Move, copy, and convert audio files

  • Bridge and Photoshop CS4 will not recognise the images shot in NEF file

    Shot in Nikon D810 with NEF file but the images will not recognise with Bridge and Photo
    shop CS4

    That camera was recently supported for the first time by ACR 8.6, which needs at least CS6 to run.  You will never be able to open those raw NEF files in CS4, as there will never be an update for CS4.
    Your choices are to upgrade, or to use the free, stand-alone Adobe DNG Converter 8.6 on each and every batch of raw NEF files in order to convert them to raw DNGs that you can open in CS4.
    Mac:
    Adobe - Adobe Camera Raw and DNG Converter : For Macintosh : Adobe DNG Converter 8.6
    Windows:
    Adobe - Adobe Camera Raw and DNG Converter : For Windows : Adobe DNG Converter 8.6

  • In Acrobat 6 and 7 Professional, what compression methodology is used with the "Reduce File Size"?

    For example, bicubic downsampling to 72 pixels/in.?, to 150 pixels/in.?, to 300 pixels/in.?,
    Are all embedded thumbnails also removed?
    Are all layers also flattened?

    My work around for now is "Make Compatible with…’ from Acrobat 4.0 " which does not support JPEG2000 compression.
    http://forums.adobe.com/message/3847176#3847176

  • How can I save a PDF and retain the high resolution of the images it contains?

    I'm using the trial version of Acrobat XI. The images are 1440dpi but always save at 120dpi. The PDF is for the content of a picture book so I need to be able to save them at a minimum of 300dpi. Any help would be very much appreciated.

    Have just discovered that although the properties for each of the photos states 1440dpi they vary from 696 to 2131 pixels on the height dimension of 10cm!
    Thanks to your help in guiding me to the Preflight profiles, I've now at long last produced a file that does the job! Thank you!!!
    I created my file in Word, saved it as a PDF (3.72MB), replaced the images with the original files (Word had made them tiny), then used the Digital Printing (Color) profile to Analyze & Fix the PDF, thus creating a PDF (98MB) that was suitable to upload. There is no doubt a more succinct and less Heath Robinson method but I wasn't able to find it!

  • How to create a persistent network manager profile with openvpn?

    After installing networkmanager and openvpn everything works fine except that the networkmanager profile is not persistent and nm creates and selects a new profile with every boot. I followed Persistent configuration on boot using systemd which creates a persistent profile and cuts out the creation of a new profile, but when I build a openvpn connection it won't change the i.p. any longer. I've been searching for a week, read and learned a lot, but without a solution.
    My main question is what's creating and selecting a new network profile after booting? I've 2 fresh installations of Arch and Archbang on 2 pc's and with both the same issue/problem.
    systemctl --type=service
    UNIT LOAD ACTIVE SUB DESCRIPTION
    avahi-daemon.service loaded active running Avahi mDNS/DNS-SD Stack
    clamd.service loaded active running clamav daemon
    colord.service loaded active running Manage, Install and Generate
    cups-browsed.service loaded active running Make remote CUPS printers av
    dbus.service loaded active running D-Bus System Message Bus
    [email protected] loaded active running Getty on tty1
    kmod-static-nodes.service loaded active exited Create list of required stat
    lvm2-lvmetad.service loaded active running LVM2 metadata daemon
    lvm2-pvscan@254:0.service loaded active exited LVM2 PV scan on device 254:0
    NetworkManager.service loaded active running Network Manager
    nmbd.service loaded active running Samba NetBIOS name server
    org.cups.cupsd.service loaded active running CUPS Scheduler
    polkit.service loaded active running Authorization Manager
    privoxy.service loaded active running Privoxy Web Proxy With Advan
    rpcbind.service loaded active running RPC bind service
    rtkit-daemon.service loaded active running RealtimeKit Scheduling Polic
    smbd.service loaded active running Samba SMB/CIFS server
    systemd-fsck-root.service loaded active exited File System Check on Root De
    systemd-fsck@dev-disk-by\x2duuid-0e5d72a0\x2de09b\x2d4d0b\x2dba6f\x2d29a25ce04
    systemd-fsck@dev-disk-by\x2duuid-567d8960\x2d0ab5\x2d4e3a\x2d8565\x2d32d725fee
    systemd-journal-flush.service loaded active exited Trigger Flushing of Journa
    systemd-journald.service loaded active running Journal Service
    systemd-logind.service loaded active running Login Service
    systemd-random-seed.service loaded active exited Load/Save Random Seed
    systemd-remount-fs.service loaded active exited Remount Root and Kernel File
    [email protected] loaded active exited Load/Save RF Kill Switch
    [email protected] loaded active exited Load/Save RF Kill Switch
    systemd-sysctl.service loaded active exited Apply Kernel Variables
    systemd-tmpfiles-setup-dev.service loaded active exited Create Static Device
    systemd-tmpfiles-setup.service loaded active exited Create Volatile Files and
    systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
    systemd-udevd.service loaded active running udev Kernel Device Manager
    systemd-update-utmp.service loaded active exited Update UTMP about System Boo
    systemd-user-sessions.service loaded active exited Permit User Sessions
    systemd-vconsole-setup.service loaded active exited Setup Virtual Console
    tor.service loaded active running Anonymizing Overlay Network
    udisks2.service loaded active running Disk Manager
    [email protected] loaded active running User Manager for UID 1000
    systemctl list-unit-files | grep -i network
    dbus-org.freedesktop.NetworkManager.service enabled
    [email protected] disabled
    NetworkManager-dispatcher.service disabled
    NetworkManager-wait-online.service disabled
    NetworkManager.service enabled
    systemd-networkd-wait-online.service disabled
    systemd-networkd.service disabled
    network-online.target static
    network-pre.target static
    network.target static
    Last edited by 2arch (2014-12-10 22:54:18)

    Open the Sharing pane of System Preferences and enable Internet Sharing over AirPort.
    (59391)

  • Created moving banner but it comes with skins

    Hi,
    There doesn't seem to be an option (DW8) when importing a flash video without it coming with some sort of skin.
    I created a movie (banner across the top of my site - 460 x 120) with Movie Edit Pro and converted it in flash to an .fla file. This part allowed me to choose skins = "none" but when I imported the fla movie into DW it only gave me choices of different skins without a "none" option.
    I don't want a play button for my scrolling movie banner obviously. How can I remove the skin? Keep in mind - I'm much more gui than coder, but I can figure out a few things.
    Thanks,
    Luna13

    gcaLuna13 wrote:
    Thanks again Nancy.
    I understand about the off button... have a link on creating one and how to place it near or on the animation?
    Also can you explain rhe difference between the swf vs fla usages? Why would I prefer 1 over another?
    I can see now that an swf must not need skins so i guess swf is a plus for creating moving banners vs fla.
    First of all, to clarify the file extensions.
    FLA - that's the Flash source file, and is created and edited in Flash
    FLV - that's the Flash video file, I think that's what you meant to say in your original post.
    SWF - the published file from Flash, and many other programs have the ability to export content to this format.
    You're getting into an area where you need to Flash to create the FLA, publish to SWF - then you have complete control of attached FLVs, skins, buttons and anything else you neeed.

Maybe you are looking for