Bug 1496764 - Poor mount error
Summary: Poor mount error
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: util-linux
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Karel Zak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-28 10:13 UTC by Mark van Rossum
Modified: 2017-10-02 11:32 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-02 11:32:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Mark van Rossum 2017-09-28 10:13:02 UTC
Mount errors are not really informative

I was trying to mount a partition (that turned out to be slightly corrupted) 
I used 
 > mount /dev/sdb5 /media/sdb5/
and got as reply:

> mount: /media/sdb5: mount(2) system call failed: Bad message.

/var/log/messages did point out that I needed to run e2fsck and after that all is fine.

The error message of mount is just weird.

Comment 1 Karel Zak 2017-10-02 11:32:08 UTC
This is because kernel uses EBADMSG errno for "Bad CRC detected" situation. 

I'll try to add something more human compatible :-) as output for this ugly errno to the upstream code. Fedora will be updated later.

Thanks!


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