The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
0answers
12 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", ...
6
votes
1answer
160 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
58 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
408 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
25 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
183 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
157 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 ...
6
votes
1answer
830 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 ...
1
vote
1answer
266 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
365 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’: ...
3
votes
2answers
785 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
57 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
101 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
218 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
3answers
3k 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
117 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
4k 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 .. ...
6
votes
2answers
3k 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
152 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
715 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 ...