Changes between Version 2 and Version 3 of UDF


Ignore:
Timestamp:
2012-06-28T19:52:35Z (12 years ago)
Author:
Vojtech Horky
Comment:

Proper formatting of commands, add links

Legend:

Unmodified
Added
Removed
Modified
  • UDF

    v2 v3  
    1414=== 3 How to test ===
    1515==== 3.1 Download sources from my branch ====
    16 >bzr branch lp:~medvedeva-julia/helenos/udf helenos
     16{{{
     17bzr branch lp:~medvedeva-julia/helenos/udf helenos
     18}}}
    1719
    1820==== 3.2 Compile sources ====
    19 >cd helenos
    20 
    21 >make PROFILE=ia32
     21{{{
     22cd helenos
     23make PROFILE=ia32
     24}}}
    2225
    2326
    2427==== 3.3 Create udf disk image under Linux ====
    25 To create udf image under Linux you need to install package with udf utilities. For example at Arch its udftools. The package should contains mkudffs tool.
     28To create udf image under Linux you need to install package with [http://sourceforge.net/projects/linux-udf/ UDF utilities]. For example at Arch its [http://aur.archlinux.org/packages.php?K=udftools udftools]. The package should contain `mkudffs` tool.
    2629
    27 >mkudffs --media-type=hd --blocksize=512 --utf8 ./udf.img
     30{{{
     31mkudffs --media-type=hd --blocksize=512 --utf8 ./udf.img
     32}}}
    2833
    2934You can also select media type: "hd" or "dvd" and blocksize: 512 or 2048 or something else.
     
    3237==== 3.4 Mount udf disk image under Linux ====
    3338You can mount udf image (from step 3.3) under your Linux host and copy several files in it.
    34 >mount -o loop -t udf ./udf.img /mnt/udf-mount-point
     39{{{
     40mount -o loop -t udf ./udf.img /mnt/udf-mount-point
     41}}}
    3542
    36 >where udf.img - image from step 3.3
     43where `udf.img` - image from step 3.3
    3744
    3845
    3946==== 3.5 Boot HelenOS with user disk image ====
    4047To boot HelenOS run qemu:
    41 
    42 >qemu-system-i386 -m 512 -boot d -hda udf.img -cdrom image.iso
    43 
    44 udf.img    - udf disk image
     48{{{
     49qemu-system-i386 -m 512 -boot d -hda udf.img -cdrom image.iso
     50}}}
     51`udf.img` - udf disk image
    4552
    4653
     
    4855In HelenOS run batch script to run udf server, ata server and mounting first ata disk as udf
    4956
    50 >batch u
     57{{{
     58batch u
     59}}}
    5160
    5261Then, go to /mnt directory:
    5362
    54 >cd /mnt
     63{{{
     64cd /mnt
     65}}}
    5566
    5667and here you are :)