Re: fsync() doesn't work with Secure NFS?

From: Peter Eriksson (peter_at_ifm.liu.se)
Date: 11/15/05


Date: Tue, 15 Nov 2005 13:56:50 +0000 (UTC)

Peter Eriksson <peter@ifm.liu.se> writes:

>Sample run:

>> rm *
>> /tmp/t
>fd = 3, res = 4, rc = 0, errno = 0, cc = 0
>> ls -l
>total 1
>-rw-r--r-- 1 peter nuucp 4 Nov 15 14:06 dummy.txt
>> ls
>> /tmp/t fsync
>fd = 3, res = 4, rc = -1, errno = 13, cc = -1
>> ls -l
>total 0
>-rw-r--r-- 1 peter nuucp 0 Nov 15 14:06 dummy.txt

There's also supposed to be an "rm *" before the "ls" command
(I was a little bit quick editing&posting that piece).

- Peter

-- 
-- 
Peter Eriksson <peter@ifm.liu.se>            Phone:    +46 13  28 2786
Computer Systems Manager/BOFH                Cell/GSM: +46 705 18 2786
Physics Department, Linköping University     Room:     Building F, F203