[Bug 281686] x11-fm/thunar: Doesn't show all extended/logical/ebr partitions at devices panel

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 14 Nov 2024 16:57:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281686

alixey <alixey59@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alixey59@gmail.com

--- Comment #19 from alixey <alixey59@gmail.com> ---
(In reply to Gleb Popov from comment #3)
"I see strange device names like "ada0s2+00000001". I never seen these before.
How to produce them?"

These are logical partitions on an MBR (Master Boot Record) disk made with
Extended Boot Record (Wikipedia:
https://en.wikipedia.org/wiki/Extended_boot_record). In two words: it allows to
create unlimited amount of logical partitions on a disk with MBR, without it
MBR only allows 4 partitions (primary partitions).
My old external HDD is also partitioned like that. MBR, one primary partition,
and an extended partition that holds 2 logical partitions.
And here's what happens in FreeBSD+XFCE4 on system boot up with HDD plugged in
to USB port: thunar's side panel shows the primary partition but doesn't show
the logical ones.
If I plug the HDD out and then plug in again: now thunar shows logical
partitions too, but they don't have the "Eject" icon which all removable media
should have in thunar. The primary partition has the icon, the logical ones
don't.
Also, unlike the primary that has the icon and is called "Volume 96 GB", the
logical partitions are called just "Volume", so 2 of them - "Volume" and
"Volume". They seem to work fine though, they are mounted on click.
This disk is properly recognized by thunar on my Devuan+XFCE4 system, all
partitions, with icons, and are named as either their labels or as "Volume x
GB".
So:
1. EBR based logical partitions on an MBR disk are not properly recognized on
system boot on FreeBSD.
2. They are partially recognized after reconnection on the already running
system.
3. They seem to not send info about their size to thunar, and thunar don't know
that they are removable media (no "Eject" icon), probably the same with labels.

-- 
You are receiving this mail because:
You are on the CC list for the bug.