[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: USB Sticks unmounten



Am 2006-01-05 21:16:38, schrieb Andreas Pakulat:

> Grad nochmal mit vfat getestet: Ein cp largefile /usbstick braucht ne
> Weile:

Also ich finde den Test nicht gerade reel...
Ich würde das eher so testen:

  __( '/home/michelle.konzack/bin/mount-write-umount' )_
 /
| #!/bin/bash
| 
| dd if=/dev/zero of=/tmp/blubber bs=1k count=10240
| 
| function mwu()
| {
|     mount -t vfat /dev/sde1 /media/usbkey/1 -o sync
|     cp -f /tmp/blubber /media/usbkey/1/
|     umount /media/usbkey/1
| }
| 
| time mwu
 \______________________________________________________

und desweiteren statt "sync" nochmal mit "async" das gleiche machen.

Greetings
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)



Reply to: