Changes between Version 4 and Version 5 of UDF
- Timestamp:
- 2012-07-12T09:51:02Z (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UDF
v4 v5 1 1 == UDF file system server == 2 2 3 === 1 Current status === 3 4 ||= FS type =||= Reading =||= Writing =|| … … 9 10 * Complete reading UDF plain disks 10 11 * Complete and test reading Blu-ray disks 11 * Complete support big-endian arch `s12 * Complete support big-endian archs 12 13 * Implement initial writing support for UDF plain disks 13 14 14 15 === 3 How to test === 16 15 17 ==== 3.1 Download sources from my branch ==== 16 18 {{{ … … 24 26 }}} 25 27 26 27 ==== 3.3 Create udf disk image under Linux ==== 28 To 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. 28 ==== 3.3 Create UDF disk image under Linux ==== 29 To create UDF image under Linux you need to install package with [http://sourceforge.net/projects/linux-udf/ UDF utilities]. For example in Arch it's [http://aur.archlinux.org/packages.php?K=udftools udftools]. The package should contain the `mkudffs` tool. 29 30 30 31 {{{ … … 34 35 You can also select media type: "hd" or "dvd" and blocksize: 512 or 2048 or something else. 35 36 36 Unless you are overwriting already existing image, you need to create empty file first (otherwise you would get ''trying to change type of multiple extents'' error). Following creates 32M file: 37 Unless you are overwriting already existing image, you need to create an empty file first (otherwise you would get the ''trying to change type of multiple extents'' error). Following creates a 32M file: 38 37 39 {{{ 38 40 dd if=/dev/zero of=./udf.img bs=4096 count=8192 39 41 }}} 40 42 41 42 43 ==== 3.4 Mount udf disk image under Linux ==== 43 You can mount udf image (from step 3.3) under your Linux host and copy several files init.44 You can mount the UDF image (from step 3.3) under your Linux host and copy several files into it. 44 45 {{{ 45 46 mount -o loop -t udf ./udf.img /mnt/udf-mount-point 46 47 }}} 47 48 48 where `udf.img` - image from step 3.3 49 49 where `udf.img` is the image from step 3.3 50 50 51 51 ==== 3.5 Boot HelenOS with user disk image ==== 52 To boot HelenOS run qemu:52 To boot HelenOS run QEMU: 53 53 {{{ 54 54 qemu-system-i386 -m 512 -boot d -hda udf.img -cdrom image.iso 55 55 }}} 56 `udf.img` - udf disk image57 56 57 `udf.img` is the UDF disk image 58 58 59 59 ==== 3.6 Mount user disk image under HelenOS ==== 60 In HelenOS run batch script to run udf server, ata server and mounting first ata disk as udf60 In HelenOS run a batch script to run UDF server, ATA server and mount the first ATA disk as UDF. 61 61 62 62 {{{ … … 64 64 }}} 65 65 66 Then, go to /mnt directory:66 Then, go to the /mnt directory: 67 67 68 68 {{{