Moving open files

Leo Cacciari leo.cacciari at gmail.com
Tue Jul 8 16:27:30 BST 2008


Il giorno lun, 07/07/2008 alle 20.14 +0300, Dotan Cohen ha scritto:
...
> In my opinion, and the opinion of he who 'lost' his data, there should
> be a lock file.
> 
> > By all means, file a bug report, but I wouldn't be terribly surprised if
> > they won't consider it.  Of course, if nobody files a bug report, they
> > _definitely_ won't consider it :-)
> 
> Thanks, I will file it. Maybe it could be optional.
Well, I do not know. I found the idea stupid, but everyone is intitled
to have stupid ideas, even me....
The problem is: to work with _everithing_ (not just when you open the
file with another OO, which already does), it should be a mandatory
lock. Now, mandatory locks are always been a PITA in Linux. AFAIK, in
the actual implementation, if you have a mandatory lock on a file an the
process having set it crashes without removing it, the file will be
_inaccessible_ to _all_ (even root), unless you reboot the system. Do
you really want it?

-- 
Leo Cacciari

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Questa =?ISO-8859-1?Q?=E8?= una parte del messaggio
	firmata digitalmente
Url : https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080708/23a7c7fc/attachment.pgp 


More information about the ubuntu-users mailing list