~ubuntu-branches/ubuntu/quantal/util-linux/quantal

« back to all changes in this revision

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

  • 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 (22528-102399, default 22528): Using default value 22528
 
21
Partition number (1-4, default 2): First sector (22528-102399, default 22528): Using default value 22528
30
22
Last sector, +sectors or +size{K,M,G} (22528-102399, default 102399): 
31
23
Command (m for help): Command action
32
24
   e   extended
33
25
   p   primary partition (1-4)
34
 
Partition number (1-4): First sector (43008-102399, default 43008): Using default value 43008
 
26
Partition number (1-4, default 3): First sector (43008-102399, default 43008): Using default value 43008
35
27
Last sector, +sectors or +size{K,M,G} (43008-102399, default 102399): 
36
28
Command (m for help): Command action
37
29
   e   extended
48
40
Last sector, +sectors or +size{K,M,G} (90112-102399, default 102399): Using default value 102399
49
41
 
50
42
Command (m for help): 
51
 
Disk /dev/sdb: 52 MB, 52428800 bytes
 
43
Disk /dev/...: 52 MB, 52428800 bytes
52
44
32 heads, 32 sectors/track, 100 cylinders, total 102400 sectors
53
45
Units = sectors of 1 * 512 = 512 bytes
54
46
Sector size (logical/physical): 512 bytes / 4096 bytes
56
48
 
57
49
 
58
50
   Device Boot      Start         End      Blocks   Id  System
59
 
/dev/sdb1            2048       22527       10240   83  Linux
60
 
/dev/sdb2           22528       43007       10240   83  Linux
61
 
/dev/sdb3           43008       63487       10240   83  Linux
62
 
/dev/sdb4           63488      102399       19456    5  Extended
63
 
/dev/sdb5           65536       75775        5120   83  Linux
64
 
/dev/sdb6           77824       88063        5120   83  Linux
65
 
/dev/sdb7           90112      102399        6144   83  Linux
 
51
/dev/...1            2048       22527       10240   83  Linux
 
52
/dev/...2           22528       43007       10240   83  Linux
 
53
/dev/...3           43008       63487       10240   83  Linux
 
54
/dev/...4           63488      102399       19456    5  Extended
 
55
/dev/...5           65536       75775        5120   83  Linux
 
56
/dev/...6           77824       88063        5120   83  Linux
 
57
/dev/...7           90112      102399        6144   83  Linux
66
58
 
67
59
Command (m for help): The partition table has been altered!
68
60