Re: Moving open files



2008/7/8 Leo Cacciari <leo.cacciari@xxxxxxxxx>:

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.

I believe this is false. A lock is associated with a process. When the
process finishes or crashes, the lock is removed.

--
Marcin Kowalczyk
qrczak@xxxxxxxxxx
http://qrnik.knm.org.pl/~qrczak/

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: Random System Crashes
    ... Hash: SHA1 ... My system would just completely lock up and not respond to ... When my system crashes EVERYTHING ...
    (Debian-User)
  • [PATCH] fb: move mutex_init to framebuffer_alloc()
    ... a per-fbinfo mutex was added and framebuffer drivers were ... This new lock is currently initialized in ... register_framebufferis called and hence crashes the system very ...
    (Linux-Kernel)
  • Re: panic: sbflush_locked
    ... On Mon, 20 Dec 2004, Alan Cox wrote: ... >> track it down before with zero luck. ... I've had no more crashes. ... removed them due to concerns about lock order. ...
    (freebsd-current)
  • Re: Windows XP Pro Locks Up When Hard Drive Crashes...
    ... OK, i put the drive in my gf's computer, and when it crashes in her computer ... it doesn't lock her system up. ... So i'm left to pretty much formatting, reinstalling a bare windows xp pro ... > So just to make it real clear to everyone my opinion of Maxtor - They suck ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: [PATCH] LIB: remove unmatched write_lock() in gen_pool_destroy
    ... gen_pool_destroy by removing the write_lock. ... This bug is ... Any other thread that waited to acquire such a lock ... significant code change. ...
    (Linux-Kernel)

Loading