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

Re: Safe File Update (atomic)



On Fri, Dec 31, 2010 at 03:44:56PM +0100, Enrico Weigelt wrote:
> * Olaf van der Spek <olafvdspek@gmail.com> schrieb:
> 
> > > Well, they're an fundamental concept which sometimes *IS* significant
> > > to the applications. It's very different from systems where each
> > > file has exactly one name (eg. DOS/Windows) or where there're just
> > > filesnames that point to opaque stream objects that can be virtually
> > > anything (eg. Plan9).
> > 
> > Sometimes, indeed. This number of times should be as low as possible.
> 
> These cases aren't that rare. Windows, for example, tends to deny
> renames on open files, as they're also identified by the filename.
> (yes, there're other solutions for this problem, eg. having some
> internal-only inode numbering, etc).

I would like to point out that this specific issue is why Windows needs
to be rebooted so often compared to Unix systems.  This is one situation
where inodes really shine.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187

Attachment: signature.asc
Description: Digital signature


Reply to: