| 1 | | UDF file system server |
| | 1 | == UDF file system server == |
| | 2 | === 1 Current status === |
| | 3 | ||= FS type =||= Reading =||= Writing =|| |
| | 4 | ||UDF Plain||+/-||-|| |
| | 5 | ||DVD Video||+||N/A|| |
| | 6 | ||Blu-Ray Video||-||N/A|| |
| | 7 | |
| | 8 | === 2 TODO plan |
| | 9 | * Complete reading UDF plain disks |
| | 10 | * Complete and test reading Blu-ray disks |
| | 11 | * Complete support big-endian arch`s |
| | 12 | * Implement initial writing support for UDF plain disks |
| | 13 | |
| | 14 | === 3 How to test === |
| | 15 | ==== 3.1 Download sources from my branch ==== |
| | 16 | >bzr branch lp:~medvedeva-julia/helenos/udf helenos |
| | 17 | |
| | 18 | ==== 3.2 Compile sources ==== |
| | 19 | >cd helenos |
| | 20 | |
| | 21 | >make PROFILE=ia32 |
| | 22 | |
| | 23 | |
| | 24 | ==== 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. |
| | 26 | |
| | 27 | >mkudffs --media-type=hd --blocksize=512 --utf8 ./udf.img |
| | 28 | |
| | 29 | You can also select media type: "hd" or "dvd" and blocksize: 512 or 2048 or something else. |
| | 30 | |
| | 31 | |
| | 32 | ==== 3.4 Mount udf disk image under Linux ==== |
| | 33 | You 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 |
| | 35 | |
| | 36 | >where udf.img - image from step 3.3 |
| | 37 | |
| | 38 | |
| | 39 | ==== 3.5 Boot HelenOS with user disk image ==== |
| | 40 | To 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 |
| | 45 | |
| | 46 | |
| | 47 | ==== 3.6 Mount user disk image under HelenOS ==== |
| | 48 | In HelenOS run batch script to run udf server, ata server and mounting first ata disk as udf |
| | 49 | |
| | 50 | >batch u |
| | 51 | |
| | 52 | Then, go to /mnt directory: |
| | 53 | |
| | 54 | >cd /mnt |
| | 55 | |
| | 56 | and here you are :) |