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

Re: Evitar tener que [des]montar



Hue-Bond wrote:

> Juan C. Amengual, jueves 11 de octubre de 2001 a la(s) 15:15:20 +0200:
> >
> >y ¿qué ocurre? Pues probé por ejemplo a copiar unos .avi
> >(DivX) que tenía en mi home de Linux (unos 20 MB o así) y tardó un rato en
> >devolver el prompt después de ejecutar el cp, es decir que realmente sí que hizo
> >la copia y no la "bufferizó" como hace por defecto Linux.
>
> $ dd if=/dev/urandom of=unmega bs=512 count=2000
> 2000+0 registros leídos
> 2000+0 registros escritos
> $ ls -l unmega
> -rw-rw----    1 hue      cc2k      1024000 jue oct 11 16:11:10 2001 unmega
> # mount -t vfat -o sync /dev/fd0 /mnt/floppy/
> $ mount
> [...]
> /dev/fd0 on /mnt/floppy type vfat (rw,sync)
> # time cp /home/hue/unmega /mnt/floppy/
>
> real    0m1.170s
> user    0m0.010s
> sys     0m0.060s
> # time umount /mnt/floppy/
>
> real    0m33.968s
> user    0m0.000s
> sys     0m0.030s
> # _
>
>          Al menos este 2.2.19 no funciona como quiero.
>
>

Ya. Está claro. Pues no sé ... habría que echarle un vistazo detenido a la
documentación del mount, a ver qué dice de la opción sync. Igual se ha pasado algo
por alto ... ¡Ufff! si encuentro algo de tiempo intentaré echarle un vistazo.

Saludos,

================================================================================

JUAN CARLOS AMENGUAL                    As prospects diminish
UNIVERSIDAD JAUME I                     As nightmares swell
DEPARTAMENTO DE INFORMÁTICA             Some pray for heaven
CAMPUS DE RIU SEC, EDIFICIO TI          while we live in hell
CASTELLON, 12071. SPAIN.                My life's the disease
Phone: +34 964 728361                   My life's the disease ...
Fax: +34 964 728435             Sergeant/McCulloch/Pattinson/De Freitas
e-mail: jcamen@inf.uji.es               (Echo and the Bunnymen)
                            - "The Disease", Heaven Up Here, 1981, WEA Rec. -

================================================================================





Reply to: