[Bug 257072] sysutils/linuxfdisk sfdisk-linux -s cannot open /proc/partitions

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 09 Jul 2021 07:01:33 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257072

            Bug ID: 257072
           Summary: sysutils/linuxfdisk sfdisk-linux -s cannot open
                    /proc/partitions
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs_at_FreeBSD.org
          Reporter: grahamperrin_at_gmail.com
                CC: netch_at_netch.kiev.ua
                CC: netch_at_netch.kiev.ua
             Flags: maintainer-feedback?(netch_at_netch.kiev.ua)

root_at_mowa219-gjp4-8570p:~ # sfdisk-linux -s
cannot open /proc/partitions
total: 0 blocks
root_at_mowa219-gjp4-8570p:~ # sfdisk-linux -s /dev/da2
15155200
root_at_mowa219-gjp4-8570p:~ # mount | grep proc
procfs on /proc (procfs, local)
linprocfs on /compat/linux/proc (linprocfs, local)
linprocfs on /compat/ubuntu/proc (linprocfs, local)
root_at_mowa219-gjp4-8570p:~ # uname -KrU
14.0-CURRENT 1400025 1400025
root_at_mowa219-gjp4-8570p:~ # pkg query '%o %v %R' linuxfdisk
sysutils/linuxfdisk 2.11z FreeBSD
root_at_mowa219-gjp4-8570p:~ # % man 8 sfdisk-linux

…
SFDISK(8)                  Linux Programmer's Manual                 SFDISK(8)

…
       If the partition argument is omitted, sfdisk will list the sizes of all
       disks, and the total:
              % sfdisk-linux -s
              /dev/ad0: 208896
              /dev/ad1: 1025136
              /dev/ad2: 1031063
              /dev/da0: 8877895
              /dev/da1: 1758927
              total: 12901917 blocks
              %

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Fri Jul 09 2021 - 07:01:33 UTC

Original text of this message