sync seems does not work fine?

Jordi Sanfeliu (mikaku@arrakis.es)
Mon, 12 May 1997 23:02:44 +0200 (MET DST)


Hi *

Before explain the problem, the better way is test it. Please, test this
with a big file (hmmm ... 1Mb of data, more or less)

# tar cvf /dev/fd0 ./bigfile

or

# mount /dev/fd0 /mnt
# cp bigfile /mnt

Well, when you press Enter the copy is begin (obvious), in this moment,
Linux starts the copy of this file to /dev/fd0, and Linux give you the
prompt in 2 or 3 seconds. Note that, in this point, the file is not still
copied totally.

BUT, if you executes a "sync" command in this moment (so you are requesting
to Linux that this should be copied NOW !!), then you will haven't the
prompt until the file be copied totally and this session will be "locked". (?)

I thing that this is a sync problem or shared-memory or SIGNALS (i dont know)

I have make this test on SCO UNIX and it's works fine.

Anyone can tell me something about this?

Thanks in advance

Jordi
-----
Linux Kernel = 2.0.28
Machine = Pentium 166Mhz with 32Mb RAM (45Mb of swap)

|||
(0 0)
+----oOO----(_)---------------------------+
| Jordi Sanfeliu (Mikaku on IRC-Net/Efnet)|
| mikaku@arrakis.es |
| http://www.arrakis.es/~mikaku |
|-----------------------------------------|
| I want a Top Level Domain for Catalonia |
| http://www.domini-ct.org |
+------------------oOO--------------------+
|__|__|
|| ||
ooO Ooo