Bug 262869 - sysutils/lsblk label 'gpt/Basic%20data%20partition' truncated 'gpt/Basic' whilst its msdosfs file system is mounted
Summary: sysutils/lsblk label 'gpt/Basic%20data%20partition' truncated 'gpt/Basic' whi...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL: https://forums.freebsd.org/posts/561637
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-27 18:00 UTC by Graham Perrin
Modified: 2024-01-05 23:07 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (vermaden)


Attachments
sh -x /usr/local/sbin/lsblk da3 (5.99 KB, text/plain)
2022-12-19 10:09 UTC, Graham Perrin
no flags Details
Comment 8 (too wide for Bugzilla), as an attachment (1.01 KB, text/plain)
2022-12-28 02:07 UTC, Graham Perrin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Perrin freebsd_committer freebsd_triage 2022-03-27 18:00:02 UTC
From <https://forums.freebsd.org/posts/561637> (sorry, I know that this will wrap and appear wrong in Bugzilla): 

% lsblk da4
DEVICE         MAJ:MIN SIZE TYPE                                          LABEL MOUNT
da4              0:189 3.7G GPT                                               - -
  <FREE>         -:-    47K -                                                 - -
  da4p1          0:190 3.7G ms-basic-data                             gpt/Basic /media/Verbatim_STORE_N_GO_070B29D2DF235960_p1
  <FREE>         -:-   1.5M -                                                 - -
%
Comment 1 Slawomir Wojciech Wojtczak 2022-03-28 11:03:35 UTC
Hi,

can you show me output of these commands for da4?

# gpart show -p
# gpart show -p -r
# gpart show -p -l

Thanks.
Comment 2 Graham Perrin freebsd_committer freebsd_triage 2022-03-28 15:42:20 UTC
(In reply to Slawomir Wojciech Wojtczak from comment #1)

% gpart show -p da4
=>     34  7814237    da4  GPT  (3.7G)
       34       94         - free -  (47K)
      128  7811072  da4p1  ms-basic-data  (3.7G)
  7811200     3071         - free -  (1.5M)

% gpart show -p -r da4
=>     34  7814237    da4  GPT  (3.7G)
       34       94         - free -  (47K)
      128  7811072  da4p1  ebd0a0a2-b9e5-4433-87c0-68b6b72699c7  (3.7G)
  7811200     3071         - free -  (1.5M)

% gpart show -p -l da4
=>     34  7814237    da4  GPT  (3.7G)
       34       94         - free -  (47K)
      128  7811072  da4p1  Basic data partition  (3.7G)
  7811200     3071         - free -  (1.5M)

%
Comment 3 Slawomir Wojciech Wojtczak 2022-03-28 19:45:33 UTC
Thank you.

Can you also send me that output?

# sh -x /usr/local/sbin/lsblk da4
Comment 4 Slawomir Wojciech Wojtczak 2022-04-05 09:29:14 UTC
Does that fix work?
Comment 5 Graham Perrin freebsd_committer freebsd_triage 2022-06-16 04:40:22 UTC
(In reply to Slawomir Wojciech Wojtczak from comment #4)

Sorry for the pause … I might test at the weekend. Thanks.
Comment 6 Slawomir Wojciech Wojtczak 2022-12-18 21:34:05 UTC
Well? Did it helped? :)
Comment 7 Graham Perrin freebsd_committer freebsd_triage 2022-12-19 10:09:13 UTC
Created attachment 238911 [details]
sh -x /usr/local/sbin/lsblk da3

(In reply to Slawomir Wojciech Wojtczak from comment #3)

Attached: output from 
          sh -x /usr/local/sbin/lsblk da3
          whilst its file system at partition 1 was mounted.
Comment 8 Slawomir Wojciech Wojtczak 2022-12-27 23:04:12 UTC
(In reply to Graham Perrin from comment #7)

I assume that this is the wanted output?

% lsblk da3
DEVICE         MAJ:MIN SIZE TYPE                                          LABEL MOUNT
da3              2:57  3.7G GPT                                               - -
  <FREE>         -:-    47K -                                                 - -
  da3p1          2:58  3.7G ms-basic-data              gpt/Basic data partition /media/Verbatim_STORE_N_GO_070B29D2DF235960_p1
  <FREE>         -:-   1.5M -                                                 - -  

... while current output is like that?

% lsblk da3
DEVICE         MAJ:MIN SIZE TYPE                                          LABEL MOUNT
da3              2:57  3.7G GPT                                               - -
  <FREE>         -:-    47K -                                                 - -
  da3p1          2:58  3.7G ms-basic-data                             gpt/Basic /media/Verbatim_STORE_N_GO_070B29D2DF235960_p1
  <FREE>         -:-   1.5M -                                                 - -  

Regards.
Comment 9 Graham Perrin freebsd_committer freebsd_triage 2022-12-28 02:07:46 UTC
Created attachment 239074 [details]
Comment 8 (too wide for Bugzilla), as an attachment

(In reply to Slawomir Wojciech Wojtczak from comment #8)

Looks good to me, thanks.
Comment 10 Yuri Victorovich freebsd_committer freebsd_triage 2024-01-05 21:19:31 UTC
What is the status of this issue?
Comment 11 Slawomir Wojciech Wojtczak 2024-01-05 23:07:21 UTC
(In reply to Yuri Victorovich from comment #10)

Graham Perrin wrote before Your comment that "Looks good to me, thanks." - and my stance is the same.

Regards,
vermaden