On Thu, 29 Sep 2005, Yedidyah Bar-David wrote:
On Thu, Sep 29, 2005 at 04:37:32AM +0300, guy keren wrote:
just to make you happy, i went into the source tree, under
Documentation/dnotify.txt. the text sais you can learn about various types
of changes, that are NOT related to file
On Thu, Sep 29, 2005 at 01:17:03PM +0300, guy keren wrote:
hopefully, not too fast - you should remember that there is no 2.7 kernel
series any more - all the development is now done in the normal 2.6 kernel
series, and they assume the distributions will do the stabilization work.
Not only
does someone know if the 'unstable work' on the 2.6 tree was official
started? i do know that some non-trivial changes were made in recent
versions (e.g. in 2.6.12, the SCSI sub-system supports plug-and-play -
this means that SCSI disks would disappear right under your nose if your
here's the situation:
i have a file, and i want to open it only when no other process is
writing to it. but i don't have control over the possibly writing
process, so i can't do advisory or mandatory locking.
basically, i want to treat a file received by scp only after the
download is
Dvir Volk [EMAIL PROTECTED] writes:
here's the situation:
i have a file, and i want to open it only when no other process is
writing to it. but i don't have control over the possibly writing
process, so i can't do advisory or mandatory locking.
basically, i want to treat a file received by
On Wed, 28 Sep 2005, Dvir Volk wrote:
here's the situation:
i have a file, and i want to open it only when no other process is
writing to it. but i don't have control over the possibly writing
process, so i can't do advisory or mandatory locking.
basically, i want to treat a file received
On Wed, Sep 28, 2005 at 06:34:09PM +0300, guy keren wrote:
On Wed, 28 Sep 2005, Dvir Volk wrote:
here's the situation:
i have a file, and i want to open it only when no other process is
writing to it. but i don't have control over the possibly writing
process, so i can't do advisory
check out lsof and repeat mode, maybe it can somehow help you.
Regards,
tzahi.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dvir Volk
Sent: Wednesday, September 28, 2005 4:31 PM
To: linux-il@linux.org.il
Subject: How can i tell if
On Wed, 28 Sep 2005, Yedidyah Bar-David wrote:
On Wed, Sep 28, 2005 at 06:34:09PM +0300, guy keren wrote:
On Wed, 28 Sep 2005, Dvir Volk wrote:
here's the situation:
i have a file, and i want to open it only when no other process is
writing to it. but i don't have control over
On Wed, Sep 28, 2005 at 08:05:52PM +0300, guy keren wrote:
On Wed, 28 Sep 2005, Yedidyah Bar-David wrote:
On Wed, Sep 28, 2005 at 06:34:09PM +0300, guy keren wrote:
On Wed, 28 Sep 2005, Dvir Volk wrote:
here's the situation:
i have a file, and i want to open it only when no
On Wed, 28 Sep 2005, Muli Ben-Yehuda wrote:
On Wed, Sep 28, 2005 at 06:34:09PM +0300, guy keren wrote:
On Wed, 28 Sep 2005, Dvir Volk wrote:
here's the situation:
i have a file, and i want to open it only when no other process is
writing to it. but i don't have control over the
On Wed, Sep 28, 2005 at 08:09:38PM +0300, guy keren wrote:
as for O_EXCL, it does NOT solve this specific race. in fact, it causes a
problem: according to the man pages, it only works with combination of
O_CREAT. it looks like O_EXCL doesn't do what its name implies...
Indeed. Mea culpa.
here's the situation:
i have a file, and i want to open it only when no other process is
writing to it. but i don't have control over the possibly writing
process, so i can't do advisory or mandatory locking.
basically, i want to treat a file received by scp only after the
download is
On 9/29/05, Dvir Volk [EMAIL PROTECTED] wrote:
here's the situation:
i have a file, and i want to open it only when no other process is
writing to it. but i don't have control over the possibly writing
process, so i can't do advisory or mandatory locking.
basically, i want to treat a file
thanks
after considering all the options, plus a couple that weren't mentioned
here, i think i'll just go with the /tmp solution, and do the copying
with rsync+ssh with --temp-dir so from the target directory's point of
view, files appear complete at once.
you're right, guys, it's the
On Wed, 28 Sep 2005, Yedidyah Bar-David wrote:
On Wed, Sep 28, 2005 at 08:05:52PM +0300, guy keren wrote:
On Wed, 28 Sep 2005, Yedidyah Bar-David wrote:
I waited for one of the experts to say this, but none did. So here I go.
I never tried it myself, but there is dnotify and a
On Thu, Sep 29, 2005 at 04:37:32AM +0300, guy keren wrote:
On Wed, 28 Sep 2005, Yedidyah Bar-David wrote:
On Wed, Sep 28, 2005 at 08:05:52PM +0300, guy keren wrote:
as i understand, dnotify noties that a directory was changed. it does not
notify you when a directory is NOT changed (which
17 matches
Mail list logo