![]() |
|
|
#1 |
|
May 2004
Oslo, Norway
7816 Posts |
I have mounted the C-disk on one of my Windows 2000 computers from Linux with smbfs. Is it safe to have a "tail -f results.txt" from the Windows computer running in an xterm on the Linux computer? DOS/Windows doesn't normally allow multiple programs to access the same file simultaneously, but how is it when the file is accessed remotely from another OS? And does tail -f qualify as "file access"?
I could of course just try, but I don't want to mess up my results.txt BTW, does this question qualify for a FAQ? regards, Leif. |
|
|
|
|
|
#2 | |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
101010000000012 Posts |
Quote:
Beware: Windows has different buffering behaviour when IO redirection is in place. You will very probably find that the tail -f hangs around for a long time and then spits out 4k all at once. First time I've ever seen anyone ask the question. Paul |
|
|
|
|
|
|
#3 | |||
|
May 2004
Oslo, Norway
23·3·5 Posts |
Quote:
Quote:
Quote:
regards, Leif. |
|||
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Windows concurrent output to the screen and a file. | petrw1 | Homework Help | 14 | 2018-04-26 22:45 |
| P95 - Windows 7 - Unable to open log file | ThomRuley | PrimeNet | 2 | 2017-01-15 20:43 |
| Mfaktc file access error. | storm5510 | GPU Computing | 16 | 2016-10-19 16:33 |
| Windows batch file for NFS - any help? | f1pokerspeed | Programming | 9 | 2013-12-24 18:21 |
| Missing Help File in Windows | pintoj | Information & Answers | 2 | 2009-06-18 17:12 |