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

Re: Quick fsync question



Hi,

On Tue, 2003-02-04 at 02:32, Ben Escoto wrote:

> If I want to make sure a file has really been deleted do I have to:
> 
> 1. fsync the file
> 2. fsync the directory the file is in
> 3. both?

Under ext3, either 1 or 2 is enough.  Under ext2, you need 3.

Cheers,
 Stephen





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