diff options
author | Karel Zak | 2010-02-09 15:47:32 +0100 |
---|---|---|
committer | Karel Zak | 2010-02-09 15:47:32 +0100 |
commit | 5792255b542fe97c1fed77bbd1f8c0bfa7aea1db (patch) | |
tree | f9cf07bbc1590c2485cbda54016b9003df60d8a2 /tests/expected/fdisk/align-512-512 | |
parent | fdisk: cleanup warnings (diff) | |
download | kernel-qcow2-util-linux-5792255b542fe97c1fed77bbd1f8c0bfa7aea1db.tar.gz kernel-qcow2-util-linux-5792255b542fe97c1fed77bbd1f8c0bfa7aea1db.tar.xz kernel-qcow2-util-linux-5792255b542fe97c1fed77bbd1f8c0bfa7aea1db.zip |
tests: add fdisk alignment tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/expected/fdisk/align-512-512')
-rw-r--r-- | tests/expected/fdisk/align-512-512 | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/tests/expected/fdisk/align-512-512 b/tests/expected/fdisk/align-512-512 new file mode 100644 index 000000000..e984d6bce --- /dev/null +++ b/tests/expected/fdisk/align-512-512 @@ -0,0 +1,63 @@ +Create partitions +Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel + +Changes will remain in memory only, until you decide to write them. +After that, of course, the previous content won't be recoverable. + +Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) + +WARNING: DOS-compatible mode is deprecated. It's strongly recommended to + switch off the mode (command 'c') and change display units to + sectors (command 'u'). + +Command (m for help): DOS Compatibility flag is not set + +Command (m for help): Changing display/entry units to sectors + +Command (m for help): Command action + e extended + p primary partition (1-4) +Partition number (1-4): First sector (2048-102399, default 2048): Using default value 2048 +Last sector, +sectors or +size{K,M,G} (2048-102399, default 102399): +Command (m for help): Command action + e extended + p primary partition (1-4) +Partition number (1-4): First sector (22528-102399, default 22528): Using default value 22528 +Last sector, +sectors or +size{K,M,G} (22528-102399, default 102399): +Command (m for help): Command action + e extended + p primary partition (1-4) +Partition number (1-4): First sector (43008-102399, default 43008): Using default value 43008 +Last sector, +sectors or +size{K,M,G} (43008-102399, default 102399): +Command (m for help): Command action + e extended + p primary partition (1-4) +Selected partition 4 +First sector (63488-102399, default 63488): Using default value 63488 +Last sector, +sectors or +size{K,M,G} (63488-102399, default 102399): Using default value 102399 + +Command (m for help): First sector (65536-102399, default 65536): Using default value 65536 +Last sector, +sectors or +size{K,M,G} (65536-102399, default 102399): +Command (m for help): First sector (77824-102399, default 77824): Using default value 77824 +Last sector, +sectors or +size{K,M,G} (77824-102399, default 102399): +Command (m for help): First sector (90112-102399, default 90112): Using default value 90112 +Last sector, +sectors or +size{K,M,G} (90112-102399, default 102399): Using default value 102399 + +Command (m for help): +Disk /dev/loop0: 52 MB, 52428800 bytes +255 heads, 63 sectors/track, 6 cylinders, total 102400 sectors +Units = sectors of 1 * 512 = 512 bytes +Sector size (logical/physical): 512 bytes / 512 bytes +I/O size (minimum/optimal): 512 bytes / 512 bytes + + + Device Boot Start End Blocks Id System +/dev/loop0p1 2048 22527 10240 83 Linux +/dev/loop0p2 22528 43007 10240 83 Linux +/dev/loop0p3 43008 63487 10240 83 Linux +/dev/loop0p4 63488 102399 19456 5 Extended +/dev/loop0p5 65536 75775 5120 83 Linux +/dev/loop0p6 77824 88063 5120 83 Linux +/dev/loop0p7 90112 102399 6144 83 Linux + +Command (m for help): |