From: Robert Bowers <r.bowers@onedingo.com>
To: util-linux@vger.kernel.org
Subject: fdisk interactive 'v' usage does not always work
Date: Wed, 20 Aug 2014 15:12:02 -0400 [thread overview]
Message-ID: <20140820151202.79f70dc5@amanda.local.lan> (raw)
Hello.
Using fdisk from util-linux 2.25 is doing what is best shown in an example.
# truncate -s 16M bin
# losetup -f bin
(use this to find where it looped)
# losetup -a
/dev/loop0: [65024]:292804 (/root/bin)
# fdisk /dev/loop0
Welcome to fdisk (util-linux 2.25).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0x7235e130.
Command (m for help): v
Remaining 32767 unallocated 512-byte sectors.
Command (m for help): n
(now just accept all the defaults)
Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p):
Using default response p.
Partition number (1-4, default 1):
First sector (2048-32767, default 2048):
Last sector, +sectors or +size{K,M,G,T,P} (2048-32767, default 32767):
Created a new partition 1 of type 'Linux' and of size 15 MiB.
Command (m for help): v
Command (m for help):
---
It used to print
Remaining 2047 unallocated 512-byte sectors.
for a layout like this but now prints nothing.
next reply other threads:[~2014-08-20 19:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-20 19:12 Robert Bowers [this message]
2014-08-21 8:00 ` fdisk interactive 'v' usage does not always work Karel Zak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140820151202.79f70dc5@amanda.local.lan \
--to=r.bowers@onedingo.com \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox