~ubuntu-branches/ubuntu/precise/util-linux/precise-proposed

« back to all changes in this revision

Viewing changes to tests/expected/fdisk/align-512-4K-md

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2011-06-20 22:31:50 UTC
  • mfrom: (1.6.3 upstream) (4.5.1 sid)
  • Revision ID: james.westby@ubuntu.com-20110620223150-lz8wrv0946ihcz3z
Tags: 2.19.1-2ubuntu1
* Merge from Debian unstable, remaining changes:
  - Build for multiarch.
  - Add pre-depends on multiarch-support.
  - configure.ac: don't try to be clever about extracting a path name from
    $libdir to append to /usr in a way that's not overridable; instead,
    reuse the built-in configurable libexecdir.
  - Fix up the .pc.in files to know about libexecdir, so our substitutions
    don't leave us with unusable pkg-config files.
  - Install custom blkid.conf to use /dev/.blkid.tab since we don't
    expect device names to survive a reboot
  - Mention mountall(8) in fstab(5) manpages, along with its special
    options.
  - Since upstart is required in Ubuntu, the hwclock.sh init script is not
    called on startup and the hwclockfirst.sh init script is removed.
  - Drop depends on initscripts for the above.
  - Replace hwclock udev rule with an Upstart job.
  - For the case where mount is called with a directory to mount, look
    that directory up in mountall's /lib/init/fstab if we couldn't find
    it mentioned anywhere else.  This means "mount /proc", "mount /sys",
    etc. work.
  - mount.8 points to the cifs-utils package, not the obsolete smbfs one. 
* Dropped changes:
  - mount.preinst: lsb_release has been fixed in lucid and above to be
    usable without configuration, so we don't have to diverge from Debian
    here anymore.
* Changes merged upstream:
  - sfdisk support for '+' with '-N'
  - mount/umount.c: fix a segfault on umount with empty mtab entry
  - Fix arbitrary unmount with fuse security issue

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
the physical sector size. Aligning to a physical sector (or optimal
11
11
I/O) size boundary is recommended, or performance may be impacted.
12
12
 
13
 
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
14
 
         switch off the mode (command 'c') and change display units to
15
 
         sectors (command 'u').
16
 
 
17
 
Command (m for help): DOS Compatibility flag is not set
18
 
 
19
 
Command (m for help): Changing display/entry units to sectors
20
 
 
21
13
Command (m for help): Command action
22
14
   e   extended
23
15
   p   primary partition (1-4)
24
 
Partition number (1-4): First sector (2048-102399, default 2048): Using default value 2048
 
16
Partition number (1-4, default 1): First sector (2048-102399, default 2048): Using default value 2048
25
17
Last sector, +sectors or +size{K,M,G} (2048-102399, default 102399): 
26
18
Command (m for help): Command action
27
19
   e   extended
28
20
   p   primary partition (1-4)
29
 
Partition number (1-4): First sector (43008-102399, default 43008): Using default value 43008
 
21
Partition number (1-4, default 2): First sector (43008-102399, default 43008): Using default value 43008
30
22
Last sector, +sectors or +size{K,M,G} (43008-102399, default 102399): Using default value 102399
31
23
 
32
24
Command (m for help): 
33
 
Disk /dev/sdb: 52 MB, 52428800 bytes
 
25
Disk /dev/...: 52 MB, 52428800 bytes
34
26
32 heads, 32 sectors/track, 100 cylinders, total 102400 sectors
35
27
Units = sectors of 1 * 512 = 512 bytes
36
28
Sector size (logical/physical): 512 bytes / 4096 bytes
38
30
 
39
31
 
40
32
   Device Boot      Start         End      Blocks   Id  System
41
 
/dev/sdb1            2048       43007       20480   83  Linux
42
 
/dev/sdb2           43008      102399       29696   83  Linux
 
33
/dev/...1            2048       43007       20480   83  Linux
 
34
/dev/...2           43008      102399       29696   83  Linux
43
35
 
44
36
Command (m for help): The partition table has been altered!
45
37
 
60
52
the physical sector size. Aligning to a physical sector (or optimal
61
53
I/O) size boundary is recommended, or performance may be impacted.
62
54
 
63
 
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
64
 
         switch off the mode (command 'c') and change display units to
65
 
         sectors (command 'u').
66
 
 
67
 
Command (m for help): DOS Compatibility flag is not set
68
 
 
69
 
Command (m for help): Changing display/entry units to sectors
70
 
 
71
55
Command (m for help): Command action
72
56
   e   extended
73
57
   p   primary partition (1-4)
74
 
Partition number (1-4): First sector (2048-100095, default 2048): Using default value 2048
 
58
Partition number (1-4, default 1): First sector (2048-100095, default 2048): Using default value 2048
75
59
Last sector, +sectors or +size{K,M,G} (2048-100095, default 100095): 
76
60
Command (m for help): Command action
77
61
   e   extended
78
62
   p   primary partition (1-4)
79
 
Partition number (1-4): First sector (22528-100095, default 22528): Using default value 22528
 
63
Partition number (1-4, default 2): First sector (22528-100095, default 22528): Using default value 22528
80
64
Last sector, +sectors or +size{K,M,G} (22528-100095, default 100095): 
81
65
Command (m for help): 
82
66
Disk /dev/md8: 51 MB, 51249152 bytes