Summary: | New port: sysutils/lsblk list information about block devices in the system | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Slawomir Wojciech Wojtczak <vermaden> | ||||
Component: | Individual Port(s) | Assignee: | Koichiro Iwao <meta> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | meta, rigoletto | ||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Slawomir Wojciech Wojtczak
2019-10-04 12:24:04 UTC
DEVICE MAJ:MIN SIZE TYPE LABEL MOUNT ada0 0:77 112G GPT - - ada0p1 0:78 16G freebsd-swap label/swap0 - ada0p2 0:79 40G freebsd-zfs gpt/l2arc0 <ZFS> ada0p3 0:80 56G freebsd-ufs gpt/ssd0 /ssd <FREE> -:- 4.0K - - - ada1 0:98 - - diskid/DISK-WD-WMC4M3026594 - ada2 0:122 - - diskid/DISK-WD-WMC4M3152869 - On my environment, lsblk doesn't list correct information on ada1 and ada2. Here's the gpart result. $ gpart show => 40 234441568 ada0 GPT (112G) 40 33554432 1 freebsd-swap (16G) 33554472 83886080 2 freebsd-zfs (40G) 117440552 117001048 3 freebsd-ufs (56G) 234441600 8 - free - (4.0K) => 34 3907029101 diskid/DISK-WD-WMC4M3026594 GPT (1.8T) 34 6 - free - (3.0K) 40 1024 1 freebsd-boot (512K) 1064 16776320 - free - (8.0G) 16777384 3890251744 3 freebsd-zfs (1.8T) 3907029128 7 - free - (3.5K) => 34 3907029101 diskid/DISK-WD-WMC4M3152869 GPT (1.8T) 34 6 - free - (3.0K) 40 1024 1 freebsd-boot (512K) 1064 16776320 - free - (8.0G) 16777384 3890251744 3 freebsd-zfs (1.8T) 3907029128 7 - free - (3.5K) Committed with minor changes, thanks! When you released a new version that fix my issue, submit a new bug to update the port. A commit references this bug: Author: meta Date: Tue Oct 8 01:02:49 UTC 2019 New revision: 514019 URL: https://svnweb.freebsd.org/changeset/ports/514019 Log: New port: sysutils/lsblk Lists information about block devices in the system in a similar way that util-linux's lsblk(8) does. WWW: https://github.com/vermaden/scripts/blob/master/lsblk.sh PR: 241056 Submitted by: vermaden@interia.pl Changes: head/sysutils/Makefile head/sysutils/lsblk/ head/sysutils/lsblk/Makefile head/sysutils/lsblk/distinfo head/sysutils/lsblk/pkg-descr (In reply to Koichiro Iwao from comment #1) Hi, thanks for trying out lsblk.sh and showing that 'strange' behaviour. I do not have that /dev/diskid stuff on my 12.1-BETA system, is that 13-CURRENT? Regards, vermaden |