Can't mount exFAT on Ubuntu 14.10

Bug #1416794 reported by unrud
This bug report is a duplicate of:  Bug #1393542: [SRU] exfat not detected by blkid. Edit Remove
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
util-linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I've installed the packages exfat-fuse and exfat-utils but I can't mount exFAT filesystems through udisks2.
$ udisksctl mount --block-device /dev/sdb1
Object /org/freedesktop/UDisks2/block_devices/sdb1 is not a mountable filesystem.

Mounting with
$ sudo mount /dev/sdb1 ...
works fine.

It works fine on Ubuntu 14.04.

unrud (unrud)
description: updated
Revision history for this message
unrud (unrud) wrote :

I've traced the problem to udev.
The ID_FS_* properties are missing from the udev device.
udisks2 uses the ID_FS_TYPE property to determine the filesystem type.

affects: udisks2 (Ubuntu) → udev (Ubuntu)
Revision history for this message
Phillip Susi (psusi) wrote :

udev gets that information from blkid, so does blkid recognize it?

affects: udev (Ubuntu) → util-linux (Ubuntu)
Revision history for this message
unrud (unrud) wrote :

blkid doesn't recognize exfat.

The error seems to be in the file "libblkid/src/superblocks/exfat.c" in function "probe_exfat":
In line 124 "if (errno)" is always true because "errno" is already !=0 before "probe_exfat" is called.
The problem can be fixed by either adding "errno = 0;" to the beginning of the "probe_exfat" function or by removing the seemingly useless check altogether.

Revision history for this message
unrud (unrud) wrote :

The problem only appears if no label is set for the exfat partition.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in util-linux (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.