Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Jul 2021 07:01:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 257072] sysutils/linuxfdisk sfdisk-linux -s cannot open /proc/partitions
Message-ID:  <bug-257072-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257072

            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

=E2=80=A6
SFDISK(8)                  Linux Programmer's Manual                 SFDISK=
(8)

=E2=80=A6
       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
              %

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257072-7788>