lkml.org 
[lkml]   [2006]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectVFAT: Can't create file named 'aux.h'?
From
Date

Hi everybody,

while trying to back up a couple Linux directories to a FAT disk I ran
into a weird situation: I can't create a file called aux.h on the FAT
system!

Here's how to reproduce it:

cd /tmp
dd if=/dev/zero of=vfat_img bs=1M count=1
/sbin/losetup /dev/loop7 vfat_img
/sbin/mkfs.vfat /dev/loop7
mkdir vfat_mnt
mount -t vfat /dev/loop7 vfat_mnt
touch vfat_mnt/auy.h
touch vfat_mnt/aux.h

auy.h is happily created, aux.h gives "touch: setting times of
`vfat_mnt/aux.h': No such file or directory", and no file is created.
This happened to me on the system described below, but I could reproduce
the same behavior on a system booted from RHEL4 CDs, an old Knoppix
(3.4), and friends could reproduce it on other systems, too, so it
doesn't seem to be very related to a specific version.

As a workaround I tar/bzipped my dirs, but that behavior seems very
unusual and doesn't inspire a lot of confidence in vfat... What am I
missing here?

Thanks

Dirk


Here's my system (RHEL4 with updated kernel):

Linux dream.vrac 2.6.15.6 #1 SMP PREEMPT Tue Mar 14 10:41:05 CST 2006
x86_64 x86_64 x86_64 GNU/Linux

Gnu C 3.4.3
Gnu make 3.80
binutils 2.15.92.0.2
util-linux 2.12a
mount 2.12a
module-init-tools 3.1-pre5
e2fsprogs 1.35
reiserfsprogs line
reiser4progs line
pcmcia-cs 3.2.7
quota-tools 3.12.
PPP 2.4.2
nfs-utils 1.0.6
Linux C Library 2.3.4
Dynamic linker (ldd) 2.3.4
Procps 3.2.3
Net-tools 1.60
Kbd 1.12
Sh-utils 5.2.1
udev 039
Modules Loaded loop vmnet vmmon parport_pc lp parport autofs4
sunrpc ipt_REJECT ipt_state ip_conntrack iptable_filter ip_tables vfat
fat dm_mod button battery ac nvidia ipv6 usb_storage ohci1394 ohci_hcd
ehci_hcd i2c_nforce2 i2c_core snd_intel8x0 snd_ac97_codec snd_ac97_bus
snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd soundcore snd_page_alloc
forcedeth floppy raid0 sata_nv libata sd_mod scsi_mod


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-20 22:40    [W:0.080 / U:23.980 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site