urgent question, about filesystem-files
bvidinli
bvidinli at gmail.com
Thu Apr 10 06:45:35 EDT 2008
* i do not want to prevent other process access same file, i only
want if a file being used as i acess it.
* i am not interested if a process will access same file just after i
access it... because in my case, this is not possible..
* i want some other way, other than linux lsof command. it is slow for me.
is there a native python way, ?
thanks.
2008/4/10, Diez B. Roggisch <deets at nospam.web.de>:
> bvidinli wrote:
>
> > this is for ensuring that file is not in use, ...
> > by any process in system....
>
>
> How do you prevent the other processes that *might* access that file from
> doing so while *you* work on it? unless they cooperate using file-locks,
> you might end up with garbage.
>
> Diez
>
> --
> http://mail.python.org/mailman/listinfo/python-list
--
İ.Bahattin Vidinli
Elk-Elektronik Müh.
-------------------
iletisim bilgileri (Tercih sirasina gore):
skype: bvidinli (sesli gorusme icin, www.skype.com)
msn: bvidinli at iyibirisi.com
yahoo: bvidinli
+90.532.7990607
+90.505.5667711
More information about the Python-list
mailing list