Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.

Questions tagged [exfat]

Filter by
Sorted by
Tagged with
3 votes
2 answers
206 views

How to preserve creation time when copying [duplicate]

I want to preserve Access, Modify and Birth timestamps when copying files. I tried the following flags. rsync --atimes --times --crtimes --archive However I get an error that crtimes is not supported....
New to code's user avatar
1 vote
0 answers
67 views

Interpreting results of du -sh on different file systems

I have a collection of *.jpg files and intend to do some ImageMagick on them. Making a backup and checking, du -sh gives 762M on vfat and 5.6G on exfat. Why is that? Is it a bug or a feature?
Gyro Gearloose's user avatar
1 vote
1 answer
2k views

How to avoid "cannot find in /etc/fstab" problem

I have just opened my GParted application and did a format for /dev/sdc1 to exfat type. But while trying to mount the drive after formatting is completed I am getting the following error. It is ...
Dev Anand Sadasivam's user avatar
1 vote
2 answers
151 views

Files that end with a period are inaccessible on an exFAT drive

I have a backup that was copied from Linux (ext4) to an exFAT filesystem. File and directory names that end with a period are inaccessible. I can (partly) list them, but ls behaves strangely. It ...
MRule's user avatar
  • 277
3 votes
3 answers
937 views

How to determine, with certainty, the filesystem type of a partition from the outputs of the Linux "file -s" command?

My problem is to decode the output of the command file -s /dev/sdX on my system (where /dev/sdX is the device file associated to a USB key). Below I'll show the output of the command file -s /dev/sdX ...
User051209's user avatar
0 votes
2 answers
279 views

On yocto distribution I'm not able to mount an USB key formatted with exfat filesystem

On my yocto distribution I can't mount USB key with exfat filesystem. If I execute the command: > blkid /dev/sda /dev/sda: LABEL="my-label" UUID="FC4D-5949" BLOCK_SIZE=&...
User051209's user avatar
1 vote
1 answer
681 views

Can't mount exfat external hard disk drive: "Volume was not properly unmounted."

I can't mount my HDD anymore. After the last time I used it, I clicked "Remove safely" in my file browser, and now I can't read data on it anymore. Here are some diagnostic commands I ...
Be Chiller Too's user avatar
2 votes
2 answers
340 views

mount options of udisks2 (dmask, fmask) are not applied when mounted with udisksctl (exfat fs)

I have a removable SD Card formatted with exfat which I would like to mount with udisksctlvia the udisks2 mechanism. What I want to do is to replicate a noexec option by using dmask=0002 and fmask=...
emk2203's user avatar
  • 838
0 votes
0 answers
350 views

rsync causes exFAT filesystem error: Drive set to read-only, fsck fails to resolve

I have an external HDD (15 TB) that I use as a backup storage. Usually I perform the command rsync -aluv /mylocalfolder /mytargetfolder to save my data. But this time Linux sets the file system to &...
Dabo84's user avatar
  • 1
0 votes
1 answer
64 views

obtain time and information about file/folder name change of exfat file system

If I do a stat on a file of a exfat file system, it does provide me the modify/change/creation times. Is there a way to find if the file name has changed? I know there are likely lower level commands ...
CarriMegrabyan's user avatar
0 votes
1 answer
345 views

Have drwxrwxrwx permissions on folder, but after mounting to it it becomes drwxr-xr-x which disalows members of the group to write. How do I fix it?

I have a folder under /mnt/ with drwxrwxrwx permissions and under root:root I then mount a USB drive (exFAT) to this folder and it becomes drwxr-xr-x The issue is that now I cannot scp to that folder ...
Duxa's user avatar
  • 103
0 votes
0 answers
862 views

Recover exFAT filesystem after bad fsck operation

I spotted a message in dmesg: "Volume was not properly unmounted. Some data may be corrupt. Please run fsck.", and so I ended up running a command: doas fsck /dev/sda. This produced some ...
Ernest Izdebski's user avatar
0 votes
1 answer
1k views

Kernel-mounted vs FUSE-mounted exfat filesystem

I have read that support for the exfat filesystem has been incorporated in the Linux kernel since kernel ver 5.4 was released in late 2019 - early 2020. I'm confused about what this means wrt the ...
Seamus's user avatar
  • 3,888
4 votes
1 answer
7k views

Is exfat-utils missing in debian 12?

$ apt-get install exfat-utils exfat-fuse returns as output Reading package lists... Done Building dependency tree... Done Reading state information... Done Package exfat-utils is not available, but ...
user3450548's user avatar
  • 3,104
1 vote
1 answer
661 views

Creating a compressed image of an exFAT USB drive using dd

My system is running Ubuntu 22.04.3 LTS. I plug a USB drive into that system. That USB drive (/dev/sdb) contains an Ubuntu installation, mostly in an ext4 partition (/dev/sdb3). That installation ...
Ray Woodcock's user avatar
0 votes
0 answers
950 views

How to allow users to mount FUSE/exfat filesystems in fstab without root?

I have a filesystem listed in /etc/fstab and I'd like a normal user to be able to mount it. Normally I would just add the users option and it will work, however it seems that if the filesystem is ...
Malvineous's user avatar
  • 7,463
0 votes
0 answers
2k views

Unable to mount exfat external hardrive in CentOS 7

I am trying to mount an external hard drive (exFAT partition) on my machine (CentOS7). I read that exfat is not natively handled so I installed exfat-utils and fuse-exfat rpm packages by doing: yum ...
pklein's user avatar
  • 1
0 votes
0 answers
823 views

Disable write cache for exFAT partitions

For context, I'm on kernel 6.1, so using post-5.7 in-tree exFAT kernel drivers. Currently, if I plug in an exFAT-formatted flash drive and write to it, it will write to a RAM cache and flush to flash ...
cyqsimon's user avatar
  • 967
4 votes
2 answers
14k views

ExFat mount permission

I am trying to mount an exfat drive using fstab with read/write permission for both user and group. The line of etc/fstab for this drive is: UUID=5E98-37EA /home/ftagliacarne/data/media exfat defaults,...
Ftagliacarne's user avatar
1 vote
1 answer
4k views

What are the detriments of not setting MSFTDATA flag when making a exFAT partition?

I have several external HDDs that I backup data to and occasionally plugin internally when I need access to the data. I erased all partitions by making a new GPT partition table on the disk. I made a ...
lohithbb's user avatar
6 votes
0 answers
774 views

Change file creation timestamp on an exFAT volume from Linux

The question As of today, Unix standards don't support a file "creation time" attribute. However, many filesystems, like ext4, exFAT and NTFS, internally do save a creation time for their ...
Totor's user avatar
  • 21.1k
0 votes
1 answer
121 views

Using allow_utime with exfat

Considering the fact that exfat does not store ownership information of files, is it possible to mount an exfat partition in Linux with an allow_utime option that is also available for vfat? If not, ...
9a3eedi's user avatar
  • 183
0 votes
1 answer
1k views

How to create a USB Kali UEFI bootable dongle with a exFAT partition

I'm struggling with the creation of a USB UEFI bootable dongle of kali linux. Basically I want to create a dongle able to boot kali linux in UEFI mode that also has an exFAT partition recognizable by ...
Raffaello Bonvino's user avatar
2 votes
1 answer
2k views

Mounting exFAT drive on Fedora 35 requires specifying device

I am running Fedora 35 and am trying to mount an exFAT drive, specifically an SD memory card for my digital camera. The computer identifies the card reader as device /dev/sde1 and I am trying to use /...
user53739's user avatar
  • 155
0 votes
0 answers
534 views

Boot is long because fsck.exfat spends time because exfat volume was not unmounted cleanly

I have a SDD partition in exFat in order to have a common partition between macOs and Linux Manjaro and Linux Mint. The Manjaro boot and the Linux Mint boot are very long because fsck of exFat take ...
sangorys's user avatar
  • 101
0 votes
1 answer
2k views

How do I use file_mode and dir_mode with an exfat drive in /etc/fstab?

I'm running Ubuntu 20.04 Server with Kernel 5.11 including built in exfat support - I don't have exfat-fuse or exfat-utilities and would prefer to just use the new native kernel support. I'm able to ...
Michael Smith's user avatar
0 votes
1 answer
2k views

Change the file system of a partition without deleting its content

I have a 2tb hard drive containing gpt and a single 2tb partition with ext4 file system. The partition has one 1.5tb file inside it. I want to change the type of file system of this partition from ...
fctorial's user avatar
  • 203
2 votes
1 answer
4k views

Is there a defragmentation utility for ExFAT available in GNU/Linux world?

I came across a SSD which have a very significant performance drop (about 20 times). As there is an ExFAT filesystem used, I suspect it might be due to fragmentation. Is there a tool available in the ...
d.c.'s user avatar
  • 907
0 votes
0 answers
3k views

Mounting exFAT on Debian and use as Samba share - no write permissions

I'm currently trying to mount an external exFAT drive on Debian 10 and use that as a Samba drive. Everything works and I can access the drive from my macOS machine. However, I'm unable to write ...
Maximilian Krause's user avatar
2 votes
1 answer
4k views

Tool to shrink exFAT filesystem offline for Linux

As of 2021, is there a tool to shrink exFAT filesystem offline for Linux ? I tested with gparted v1.3.1 but gparted does not support exfat resizing.
SebMa's user avatar
  • 2,473
10 votes
1 answer
2k views

Why can't I copy all files in a directory to a USB storage device?

The sdc1 was mounted on /media/debian/Ventoy. debian@debian:~$ sudo blkid | grep Ventoy /dev/sdc1: LABEL="Ventoy" UUID="F82D-76BE" BLOCK_SIZE="512" TYPE="exfat" ...
showkey's user avatar
  • 581
0 votes
2 answers
295 views

How to mount a SD Card which was formatted with exfat by a Lumix G9 camera?

The SD card was formatted by a Panasonic Lumix G9. mount /dev/sde1 /mnt/sd/ -t exfat ls -1 /mnt/sd/DCIM/ 100_PANA 101_PANA The pictures in 100_PANA are displayed in the camera, but the mounted ...
Jonas Stein's user avatar
  • 4,338
2 votes
3 answers
3k views

Can't move/copy/download files with ?, !, :, or | to exFAT flash drive

I've got a bunch of video files on my laptop's internal ext4 SSD (running Ubuntu 20.04, but this same error would presumably occur on any Linux install running kernel version 5.4 or newer, as exFAT ...
Vikki's user avatar
  • 127
0 votes
1 answer
1k views

exFAT Refusing to mount - The primary GPT table is corrupt

I am trying to mount a 4TB exFAT HD on my Manjaro Linux 5.9.11 system. It refuses to mount using the default kernel drivers: mount: /home/user/Ark: wrong fs type, bad option, bad superblock on /dev/...
mandulaj's user avatar
  • 246
1 vote
1 answer
234 views

How to install non-FUSE Samsung's open-source exFAT driver?

I've had problems with the FUSE driver exfat-fuse, in some particular cases (Samba share, etc.). So I wanted to test the new Samsung's exFAT driver (open-source). I see it's merged in Linux kernel 5.7,...
Basj's user avatar
  • 2,639
1 vote
2 answers
4k views

How do I find the filesystem/partition UUID of an ExFAT partition?

All in the title. My problem is, I have an ExFAT partition on my disk that I want to mount using a UUID, but I can't seem to find any information on it. fdisk -l says: [logandark@arch-base ~]$ sudo ...
Dev's user avatar
  • 167
0 votes
0 answers
271 views

Chown & Chmod commands returning Operation not permitted on Hard Disk [duplicate]

I have a raspberry pi 3b+ and am unable to change/give permissions to an external hard disk I've connected to it. A similar question is: chown command returning Operation not permitted Also I've ...
Parkour_Lama's user avatar
1 vote
1 answer
1k views

Native exFAT support in 5.4 kernel - issues?

Fresh install Ubuntu Server 20.04. cat /proc/filesystems shows exfat in the output. Not installed any other packages for exFAT as it should work from kernel. Mounted 2 internal HDDs on in fstab as ...
exharris's user avatar
  • 135
-1 votes
1 answer
4k views

Patch CentOS 8 with Microsoft exFAT source Code, Linux Kernel 5.x,

I'm interested on extract original code of Microsoft exFAT File System, and Compile it into my CentOS 8 (I know its the Kernel is very delayed to 5.4 or 5.7 version). I know the existence of https://...
joseluisbz's user avatar
0 votes
0 answers
328 views

Install CentOS 8, on new Laptop with No started Windows 10, Dual

I purchased a Lenovo Laptop that includes Windows 10 Pro. I would like to install CentOS 8, But I don't want to start Windows 10 Pro installation and I don't want to lose the option of first Windows ...
joseluisbz's user avatar
1 vote
1 answer
819 views

What is the relation between exfat-utils and the exFAT kernel driver?

From a Phoronix article: Long story short, with Linux 5.7 is a much better Microsoft exFAT file-system implementation that is more reliable and with more functionality than the older driver ...
homocomputeris's user avatar
9 votes
1 answer
5k views

How can I make my ExFAT partition unmount cleanly?

I've got Raspbian running on a Raspberry Pi 4 B. I have a USB hard disk that I'm using with it. The hard disk is a 1TB drive formatted with a single partition using ExFAT. I've got exfat-fuse and ...
user avatar
3 votes
1 answer
7k views

Can't Mount exFat partition with Linux (exFat is installed)

I am running Linux on an external SSD. I am trying to mount an exFat partition which is on the internal hard drive. ( MS Windows is installed on an NTFS partition on the internal drive. ) exFat is ...
JasonF4's user avatar
  • 151
-1 votes
2 answers
372 views

Connecting USB external hard drive to a server in a datacenter - how to ensure that it works?

I've bought a pair of Seagate Expansion 4TB 2.5" drives, with the intention of posting them to my webhost (Hetzner in Germany) for them to connect so I can use them as bandwidth rather than try to ...
Codemonkey's user avatar
3 votes
2 answers
5k views

What fs-type should I use in parted when creating an exFAT partition?

When I try to create a partition with parted and a filesystem type of 'exFAT', I encounter the following error: parted: invalid token: exFAT What fs-type should I use when creating a partition ...
David M's user avatar
  • 273
0 votes
1 answer
907 views

How to find built-in SD card reader (MMC) details?

I have been attempting to mount a SDXC (exFAT) card into the built-in MMC reader in my laptop. I keep getting "mmc0: error -110 whilst initialising SD card" errors in dmesg and the device is never ...
sluginthemud's user avatar
5 votes
3 answers
3k views

How to detect NTFS/exFAT file system type from script

User has a (incremental) backup script using rsync, to external device. This was erroring on an SSD he had. Turns out his device was formatted exFAT. That means I need to detect this in the script, ...
JonBrave's user avatar
  • 293
3 votes
1 answer
5k views

SD Card Recovery without data loss or corruption

I have a 128 GB Micro SD Card that I formatted as ext4 and used in a Chromebook for an Ubuntu Chroot Environment. I used it for quite some time that way. At some point, I either deleted everything off ...
Matt Zabojnik's user avatar
0 votes
0 answers
374 views

How to make exfat appear as a disk on Computer (RedHat 6)

I have a redhat 6 on 1TB HDD and another 1TB HDD with exfat format, anyway on Computer I can find the drive where redhat installed but not the exfat drive. I do add a line to /etc/fstab for auto ...
alsadk's user avatar
  • 103
0 votes
1 answer
229 views

Configure mount to recognize self compiled fuse exfat

after removing the default exfat-fuse package version 1.2.5 from my Debian Stretch system and replacing it with version 1.3.0, compiled from source, running mount using type exfat results to an ...
dexin's user avatar
  • 3