Bug 1921427 - stat command shows "UNKNOWN" as Type for exFAT drive
Summary: stat command shows "UNKNOWN" as Type for exFAT drive
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: coreutils
Version: 33
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kamil Dudka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-28 00:55 UTC by John.ne1
Modified: 2021-02-23 00:25 UTC (History)
10 users (show)

Fixed In Version: coreutils-8.32-19.fc35 coreutils-8.32-19.fc34 coreutils-8.32-18.fc33
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-23 00:25:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description John.ne1 2021-01-28 00:55:23 UTC
Description of problem:
stat command shows "UNKNOWN" as Type for exFAT drive

Version-Release number of selected component (if applicable):
coreutils-8.32-12.fc33.x86_64 

How reproducible:
Always: the issue is observed each time.


Steps to Reproduce:
1. Connect exFAT drive to your computer. If you don't have an exFAT drive, just create an exFAT medium with gnome-disk-utility-3.38.0-1.fc33.x86_64

2. Enter this command: stat -f '<file/folder from exFAT drive>'


Sample:

stat -f '/run/media/aurora/LABEL/iiiiiii.txt' 
  File: "/run/media/aurora/LABEL/iiiiiii.txt"
    ID: 83000000000 Namelen: 1530    Type: UNKNOWN (0x2011bab0)
Block size: 32768      Fundamental block size: 32768
Blocks: Total: 973808     Free: 973801     Available: 973801
Inodes: Total: 0          Free: 0

3. See Type: UNKNOWN (0x2011bab0)

Actual results:
It does not show a file system name at Type.

Expected results:
It must display a file system name at Type e.g exFAT


Additional info:
I used this original Fedora 33 (Workstation) iso file.
 https://download.fedoraproject.org/pub/fedora/linux/releases/33/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-33-1.2.iso 

SHA256 (Fedora-Workstation-Live-x86_64-33-1.2.iso) = 582a825d564e2682334ac893c9160667c7f4578c0c8045a25ea534af7c13334b

Kernel: Linux 5.8.15-301.fc33.x86_64
Architecture: x86-64

Comment 1 Kamil Dudka 2021-02-18 10:32:48 UTC
Thank you for reporting it!  I have proposed a fix upstream:

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=46613

Comment 3 Fedora Update System 2021-02-18 16:12:05 UTC
FEDORA-2021-a44eec9713 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-a44eec9713

Comment 4 Fedora Update System 2021-02-19 02:04:22 UTC
FEDORA-2021-a44eec9713 has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-a44eec9713`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-a44eec9713

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2021-02-23 00:25:07 UTC
FEDORA-2021-a44eec9713 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.