On Wed, Apr 28, 2010 at 10:28:09AM -0400, jamesb wrote: > Package: mount > Version: 2.13.1.1-1 > Severity: serious > > i did a mount with a usb stick (kingston 1gig), > > mount -t auto /dev/sda1 /mnt/sda1 > cp /path/foobar.zip . > ls (while under /mnt/sda1) shows the newly copied /mnt/sda1/foobar.zip > cd / > umount /mnt/sda1 > > i remount the stick on another system and noticed it wasnt there, so i > came back and did the following > > mounted, > cp'd > "sync" > etc.. > > the sync did the trick.. > > something is missing somewhere, i shouldn't have to sync in order > to keep my fat32 usb drive intact.. > > the file was only 21mb.. > > i marked this serious, as i dont know what may have happened if i used > the move command.. but i'll try that next :)
You need to mount your USB stick with the "sync" option if you want your data written out rightway. See "man mount". Cheers, Moritz -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org