From: jb <jb.1234abcd@gmail.com>
To: util-linux@vger.kernel.org
Subject: Re: lsblk vice fdisk, etc
Date: Mon, 25 Aug 2014 21:18:34 +0000 (UTC) [thread overview]
Message-ID: <loom.20140825T225526-531@post.gmane.org> (raw)
In-Reply-To: loom.20140825T223105-992@post.gmane.org
jb <jb.1234abcd@...> writes:
> ...
> But the question "why for /dev/sda3 only ?" stands.
> Actually, it should not be included in 'blkid' display at all.
> According to BLKID(8), only option -p should display this field.
> # blkid -p /dev/sda
> /dev/sda: PTUUID="3db012b3" PTTYPE="dos"
This should be further qualified.
# blkid /dev/sda
/dev/sda: PTUUID="3db012b3" PTTYPE="dos"
# blkid -p /dev/sda
/dev/sda: PTUUID="3db012b3" PTTYPE="dos"
and so I think that 'blkid' entry I referred previously to (with that
PTTYPE="dos" in /dev/sda3 row, believed to be erroneously displayed there),
should have the "/dev/sda: ..." line displayed at the top:
# blkid
/dev/sda: PTUUID="3db012b3" PTTYPE="dos"
/dev/sda1: UUID="fb838405-607c-4723-9355-47ccbf1eb273" TYPE="ext4"
PARTUUID="3db012b3-01"
...
because BLKID(8) says:
" When device is specified, tokens from only this device are
displayed.
It is possible to specify multiple device arguments on the
command line. If none is given, all devices which appear in
/proc/partitions are shown, if they are recognized."
$ cat /proc/partitions
major minor #blocks name
11 0 1048575 sr0
8 0 39070080 sda
8 1 17825792 sda1
8 2 4647936 sda2
8 3 14076928 sda3
8 4 1 sda4
8 5 2518368 sda5
jb
prev parent reply other threads:[~2014-08-25 21:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-19 9:51 lsblk vice fdisk, etc jb
2014-08-19 18:21 ` jb
2014-08-19 20:05 ` Dave Reisner
2014-08-20 9:00 ` jb
2014-08-25 14:21 ` jb
2014-08-25 20:46 ` jb
2014-08-25 21:18 ` jb [this message]
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=loom.20140825T225526-531@post.gmane.org \
--to=jb.1234abcd@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.