summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjianzhong.fang <jz.fang@samsung.com>2016-05-17 09:19:07 +0800
committerSoonKyu Park <sk7.park@samsung.com>2016-06-16 12:58:10 +0900
commit69e2f2491838c9e51bf8ccaabfd07bb78d70d7fa (patch)
tree3533ea08ccf0839efb6f5e0473c2dea26dcc9c3d /doc
parent43f037fd958996e76a900985eedb23530ba9579d (diff)
downloadmic-69e2f2491838c9e51bf8ccaabfd07bb78d70d7fa.tar.gz
mic-69e2f2491838c9e51bf8ccaabfd07bb78d70d7fa.tar.bz2
mic-69e2f2491838c9e51bf8ccaabfd07bb78d70d7fa.zip
Revert "Drop mic raw image format support"
Change-Id: I2752f5c804f215ba96b5cfbabfefb1c383bb5803
Diffstat (limited to 'doc')
-rw-r--r--doc/man.rst11
-rw-r--r--doc/usage.rst15
2 files changed, 23 insertions, 3 deletions
diff --git a/doc/man.rst b/doc/man.rst
index c58e2f6..aeba63d 100644
--- a/doc/man.rst
+++ b/doc/man.rst
@@ -29,6 +29,7 @@ Subcommands:
| auto auto detect image type from magic header
| fs create fs image, which is also chroot directory
| loop create loop image, including multi-partitions
+ | raw create raw image, containing multi-partitions
| qcow create qcow image
Options:
@@ -59,6 +60,12 @@ Options for loop image:
--compress-image=COMPRESS_IMAGE compress all loop images with 'gz' or 'bz2' or 'lzo'
--compress-disk-image=COMPRESS_DISK_IMAGE same with --compress-image
+Options for raw image:
+ --compress-image=COMPRESS_IMAGE compress all raw images with 'gz' or 'bz2'
+ --compress-disk-image=COMPRESS_DISK_IMAGE same with --compress-image
+ --generate-bmap=GENERATE_BMAP also generate the block map file
+ --fstab-entry=FSTAB_ENTRY Set fstab entry, 'name' means using device names, 'uuid' means using filesystem uuid
+
Examples:
| mic create loop tizen.ks
@@ -126,9 +133,9 @@ panic. This issue impact all openSUSE distributions: 12.1, 11.4, 11.3, etc
REPORTING BUGS
==============
-The source code is tracked in github.com:
+The source code is tracked in review.tizen.org:
- https://github.com/01org/mic
+ https://review.tizen.org/git/tools/mic
The bug is registered in tizen.org:
diff --git a/doc/usage.rst b/doc/usage.rst
index aed950b..1dda0a0 100644
--- a/doc/usage.rst
+++ b/doc/usage.rst
@@ -35,6 +35,12 @@ Image formulation support
* For a configuration with multiple partitions, which is specified in the kickstartfile, mic will generate multiple loop images
* And multiple loop images can be packed into a single archive file
+- Raw
+
+ * “raw” format means something like hard disk dumping
+ * Including partition table and all the partitions
+ * The image is bootable directly
+
- fs
* “fs” means file-system
@@ -59,6 +65,7 @@ Create
auto auto detect image type from magic header
fs create fs image, which is also a chroot directory
loop create loop image, including multi-partitions
+ raw create raw image, containing multi-partitions
qcow create qcow image
- <ksfile>:
@@ -114,7 +121,7 @@ In Tizen, the released image will have a ks file along with image. For example,
::
- --compress-image=COMPRESS_IMAGE (for loop)
+ --compress-image=COMPRESS_IMAGE (for loop & raw)
Sets the disk image compression. Note: The available
values might depend on the used filesystem type.
--compress-disk-image=COMPRESS_IMAGE
@@ -123,6 +130,12 @@ In Tizen, the released image will have a ks file along with image. For example,
Whether to shrink loop images to minimal size
--include-src (for fs)
Generate a image with source rpms included
+ --generate-bmap (for raw)
+ Generate the block map file
+ --fstab-entry (for raw)
+ Set fstab entry, 'name' means using device names,
+ 'uuid' means using filesystem uuid
+
- Examples:
::