Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Aug 2021 15:59:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 258090] sysutils/lsblk partition information shown for an SD card reader (in a dock) where there is no card
Message-ID:  <bug-258090-7788-r7VKVIHykQ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-258090-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-258090-7788@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #2 from Graham Perrin <grahamperrin@gmail.com> ---
Created attachment 227478
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D227478&action=
=3Dedit
Konsole transcript.

Context:=20

<https://lists.freebsd.org/archives/freebsd-current/2021-August/000468.html>;

Lines 5=E2=80=9324 from within the attachment might help to explain the (mu=
ch) later
residual information. A misuse of srm(1):

----

root@mowa219-gjp4-8570p-freebsd:~ # srm -lv /dev/da0p3
Using /dev/urandom for random input.
Wipe mode is insecure (two passes [0xff/random])
Wiping /dev/da0p3 Warning: /dev/da0p3 is not a regular file, rename/unlink
only!Warning: Couldn't rename /dev/da0p3 - Operation not supported
 Removed file /dev/da0p3 ... Done
root@mowa219-gjp4-8570p-freebsd:~ # wipe -nv /dev/da0p3
wipe: cannot stat `/dev/da0p3': No such file or directory
root@mowa219-gjp4-8570p-freebsd:~ # lsblk da0
DEVICE         MAJ:MIN SIZE TYPE                                          L=
ABEL
MOUNT
da0              0:181 466G GPT                                            =
   -
-
  da0p1          0:184 200M efi                                  msdosfs/EF=
ISYS
-
  da0p2          0:188 512K freebsd-boot                           gpt/gptb=
oot0
-
  <FREE>         -:-   492K -                                              =
   -
-
stat: /dev/da0p3: stat: No such file or directory
stat: /dev/da0p3: stat: No such file or directory
  da0p3        16G:freebsd-swap    - SWAP=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20
  da0p4          0:193 450G freebsd-zfs                                gpt/=
zfs0
<ZFS>
  da0p4.eli      0:196 450G zfs                                            =
   -
-
  <FREE>         -:-   4.0K -                                              =
   -
-
root@mowa219-gjp4-8570p-freebsd:~ # gdisk /dev/da0

--=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-258090-7788-r7VKVIHykQ>