The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
18 views

drive geometry error with vfat

I'm curious what this error means: [root@server1 ~]# mkfs -t vfat /dev/example mkfs.fat 3.0.20 (12 Jun 2013) unable to get drive geometry, using default 255/63 I was attempting to make a file ...
0
votes
0answers
15 views

Some doubts about disk inconsistency

I have a system with 3 elements: An embedded system with this FAT lib that makes several operations in the FAT filesystem (e.g. add/remove file/dir, append to file). The sector read/write functions ...
2
votes
2answers
35 views

Embedded device, log partition, what file system is more resilient and uses less reads/writes?

I have an embedded Linux device with a read-only file system. I have another partition that is used to store an archive of logs. This partition will be written to a lot. What linux partition should I ...
3
votes
1answer
43 views

filefrag fibmap returning wrong physical offset for FAT

I am trying to get the map of empty space on any partition in a filesystem-agnostic way. To do this I create a file that uses all of the empty space, then use the 'filefrag -e' command (e2fsprogs v1....
0
votes
2answers
41 views

rsync to USB flash drive always transferring all data

When rsyncing a directory to a freshly plugged-in external USB flash drive, via rsync -av /source/ /dest/ all files get transferred (i.e. rewritten) despite no changes in the files. Note that ...
1
vote
0answers
38 views

VFAT FS Sync/Flush Behaviour

In order to increase the life of my VFAT flash drives, I have them set to mount as async. One of these drives sometimes deals with large data changes, and as a result, the writes that occur on umount ...
2
votes
2answers
150 views

Module vfat fails to load (I've tried the obvious fixes)

The module vfat doesn't load on boot, and attempts to force the issue with a modprobe vfat produce the error modprobe: ERROR: could not insert 'vfat': Unknown symbol in module, or unknown parameter (...
1
vote
2answers
116 views

change FAT16 partition UUID

I have created a FAT16 formatted partition on my USB stick using mkdosfs /dev/sdb1 when I plug in my stick, it appears in /dev/ as: /dev/disk/by-uuid/ABCD-1234 How can I change the UUID of the ...
1
vote
1answer
249 views

Resize VFAT partition?

I'm migrating a machine to another boot drive with more space. I've done the following: sudo partclone.vfat -c -R -o partclone.sda1.vfat.img -s /dev/sdg1 and then I created my partitions on the new ...
0
votes
0answers
44 views

Any usb or hard drive I plug in shows no files. vfat module not found - Ubuntu

Whenever I plug in my USB stick because I want to copy files from this PC over to my Windows laptop, double-clicking the icon that shows up on the desktop prompts me to choose what I want to open it ...
0
votes
0answers
295 views

Unable to mount FAT32 USB (wrong fs type)

I am trying to mount a USB stick that is formatted with FAT32. After the drive did not auto-mount, I created a mount point /media/external and then tried the following to mount it: $sudo mount /dev/...
4
votes
1answer
62 views

Can I install GNU/Linux on a FAT drive?

Out of curiosity, is this possible nowadays? I remember some old Slackware versions did support FAT root partition but I am not sure if this is possible with modern kernels and if there are any ...
2
votes
1answer
130 views

How to increase the size of a vfat file system to exactly the size of the containing partition?

This is a further question after this one. I google for it, but most of the search results are about how to grow the partition and the file system at the same time. I think this question is simpler ...
1
vote
0answers
33 views

Failed unmount from GUI

I am developing a script which provides mount only specific USB Storage. First I blocked automount feature from /etc/udev/rules.d/85-no-automount.rules by adding blockrule="SUBSYSTEMS=="usb", ENV{...
6
votes
1answer
468 views

How do I change automatic mounts of removable vfat / fat32 drives/partitions to use “noexec”?

When I plug in a USB drive it is automatically mounted on /run/media/user/fslabel. This is done, I guess by some udev/dbus/thunar/nautilus/gvfs or other system, and I find this convenient and do not ...
0
votes
1answer
131 views

Accidentally ran mkfs.vfat on my backup drive [duplicate]

I ran mkfs.vfat /dev/sdb (whole device, not just one partition) on my backup drive, ironic, right. Is there any way to recover my files.
2
votes
1answer
1k views

How to manually set the dirty bit on a FAT32 partition

For some debugging purposes, I'd like to be able to manually set the dirty bit of a FAT32 partition to true. I found tons of information on how to use fsck.vfat to remove the dirty bit, but none on ...
1
vote
0answers
42 views

How can I get a vfat pendrive to automount as posixovl filesystem?

I'm using Kubuntu. I'd like to use my pendrive primarily for storing various data for my Linux (and not losing metadata like permissions and ownerships), but I don't want to exclude access to it from ...
0
votes
0answers
368 views

External hard drive can't be mounted on linux(windows says: Format it)

I have a hard disk and I can't mount it on linux. These are information may be helpful: # fdisk -l Device Boot Start End Blocks Id System /dev/sdb1 * 63 1250258624 ...
0
votes
1answer
358 views

Verify Linux FAT32 Support [closed]

I apologize if this is a duplicate, but I could not find any related question. How can I verify that my Linux 3.16.1 kernel supports FAT32? Things to keep in mind: I do not have /proc/config.gz ...
12
votes
1answer
3k views

systemd keeps unmounting a removable drive

I have following line in /etc/fstab: UUID=E0FD-F7F5 /mnt/zeno vfat noauto,utf8,user,rw,uid=1000,gid=1000,fmask=0113,dmask=0002 0 0 The partition is freshly created by gnome-disks under the ...
2
votes
1answer
568 views

How to specify block size for vFAT file system?

I just read that vFAT support different block size at (this link and in other places. It should be 512 bytes to 32 kb range ). So how can I specify this option in mkfs.vfat tool? Or does mkfs.vfat ...
2
votes
1answer
560 views

Why can't mv preserve permissions when moving between Android SD cards?

After mounting both SD cards on an Android phone using the "USB mass storage" mode I keep getting these messages when moving files between them: mv: failed to preserve ownership for ‘/.../foo’: ...
4
votes
2answers
2k views

How to create file links on a vfat filesystem of a mounted disk under Linux?

I have an external drive containing different pieces of music. The drive is a vfat formatted drive to be able to work with arbitrary devices. On the device I have music stored from different artists ...
1
vote
0answers
73 views

mount: fmask options is not working

Few days ago I did this question. But now I have another problem, related, but new. Scenario: I have a flash drive (vfat) mounted in /media/flash the filesystem node is /dev/sdb1. according to ...
2
votes
1answer
129 views

How to make gvfs mount fat/vfat drives with 8.3 names set to lowercase on automatic mount?

Use case: when USB flash or SD card is plugged in, the filesystem is mounted. It is mounted by gvfsd. But if the filesystem contains files in legacy 8.3 format (like digital cameras often save file ...
6
votes
2answers
366 views

What is the best way to synchronize files to a VFAT partition?

POSIX filenames may contain all characters except /, but some filesystems reserve characters like ?<>\\:*|". Using pax, I can copy files while replacing these reserved characters: $ pax -rw -s '...
4
votes
4answers
7k views

vfat not recognized in debian

I want to mount my usb drive (kindle vfat32). When I do mount -t auto /dev/sdf1 /mnt/usb I get mount: unknown filesystem type 'vfat' I checked if the drive is recognized with sudo fdisk -l and ...
5
votes
1answer
148 views

Why doesn't the Linux vfat driver allow certain characters?

The Linux vfat driver seems to disallow certain characters in vfat long file names: ?<>\:*|". I understand that Windows doesn't support these characters, but Wikipedia seems to indicate that the ...
2
votes
2answers
5k views

Unable to change permissions of file system root

When I write ls -la the output is : tusharmakkar08-Satellite-C660 tusharmakkar08 # ls -la total 88 drwxr-x---+ 10 root root 4096 Apr 18 19:43 . drwxr-xr-x 4 root root 4096 Mar 18 17:35 .. drwxr-...
7
votes
2answers
4k views

A clever way to defragment a FAT filesystem?

What is the best way to defragment a FAT filesystem when running Linux/Unix (on usb stick for instance)? Copy all content elsewhere, format, copy back again? Use FreeDOS defrag utility, in a KVM ...
2
votes
1answer
215 views

Set a VFAT volume name non-destructively?

The only way I know to set VFAT volume name under Linux is mkfs.vfat -n desired_name ..., which obviously destroys volume's contents. Is there a way to change the volume name non-destructively, as ...
3
votes
1answer
791 views

How to have correct permissions of files from usb disks?

Does anyone have the following problem? I have an Ubuntu box at work and also one at home. I always copy folders/files to/from an usb disk to/from my boxes. I have to change permissions of folders/...