[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 UTC
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@FreeBSD.org
          Reporter: grahamperrin@gmail.com
                CC: netch@netch.kiev.ua
                CC: netch@netch.kiev.ua
             Flags: maintainer-feedback?(netch@netch.kiev.ua)

root@mowa219-gjp4-8570p:~ # sfdisk-linux -s
cannot open /proc/partitions
total: 0 blocks
root@mowa219-gjp4-8570p:~ # sfdisk-linux -s /dev/da2
15155200
root@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@mowa219-gjp4-8570p:~ # uname -KrU
14.0-CURRENT 1400025 1400025
root@mowa219-gjp4-8570p:~ # pkg query '%o %v %R' linuxfdisk
sysutils/linuxfdisk 2.11z FreeBSD
root@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.