* Bug in documentation
@ 2013-07-19 11:37 Felix_Schulte-dDVk9ABzqyjQT0dZR+AlfA
[not found] ` <94A07449C751564EBBCDD7481A3E829E104E60-vsg8/t6Ur8szk0z/ZuOLCTkPmBWM+Ckf2LY78lusg7I@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Felix_Schulte-dDVk9ABzqyjQT0dZR+AlfA @ 2013-07-19 11:37 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
Hi!
The documentation for inotify is a bit misleading
(http://man7.org/linux/man-pages/man7/inotify.7.html)
It says when describing the "mask" field:
IN_MOVED_FROM File moved out of watched directory (*).
The description is not correct, since this event is also fired (on
read()) when a file is moved *within* the same directory (to a new name)
and is explicitly *not* *moved out* of the directory.
It's not a big deal, of course, I just was confused about it recently.
Ciao
Felix
Firmensitz: Muenchen Amtsgericht: AG Muenchen Handelsregister: HRB 144340 Geschaeftsfuehrer: Timothy James Daly, Jonathan Park, Martin Stecher Bankverbindung: ABN-Amro Bank N.V. Konto 671 211 9006 UST-ID: DE168122444
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug in documentation
[not found] ` <94A07449C751564EBBCDD7481A3E829E104E60-vsg8/t6Ur8szk0z/ZuOLCTkPmBWM+Ckf2LY78lusg7I@public.gmane.org>
@ 2013-07-20 22:28 ` Michael Kerrisk
[not found] ` <51EB0EFD.40706-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Michael Kerrisk @ 2013-07-20 22:28 UTC (permalink / raw)
To: Felix_Schulte-dDVk9ABzqyjQT0dZR+AlfA
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
linux-man-u79uwXL29TY76Z2rM5mHXA
On 07/19/13 13:37, Felix_Schulte-dDVk9ABzqyjQT0dZR+AlfA@public.gmane.org wrote:
> Hi!
>
> The documentation for inotify is a bit misleading
> (http://man7.org/linux/man-pages/man7/inotify.7.html)
>
> It says when describing the "mask" field:
> IN_MOVED_FROM File moved out of watched directory (*).
>
> The description is not correct, since this event is also fired (on
> read()) when a file is moved *within* the same directory (to a new name)
> and is explicitly *not* *moved out* of the directory.
>
> It's not a big deal, of course, I just was confused about it recently.
Hello Felix,
I agree, it could be clearer. I revised the text to read:
IN_MOVED_FROM Generated for the directory containing the
old filename when a file is renamed (*).
IN_MOVED_TO Generated for the directory containing the
new filename when a file is renamed (*).
Okay?
Cheers,
Michael
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug in documentation
[not found] ` <51EB0EFD.40706-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2013-07-23 9:30 ` Felix_Schulte-dDVk9ABzqyjQT0dZR+AlfA
0 siblings, 0 replies; 3+ messages in thread
From: Felix_Schulte-dDVk9ABzqyjQT0dZR+AlfA @ 2013-07-23 9:30 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
Hi Michael,
your suggestion sounds good to me :)
Ciao
Felix
On 21.07.2013 00:28, Michael Kerrisk wrote:
> On 07/19/13 13:37, Felix_Schulte-dDVk9ABzqyjQT0dZR+AlfA@public.gmane.org wrote:
>> Hi!
>>
>> The documentation for inotify is a bit misleading
>> (http://man7.org/linux/man-pages/man7/inotify.7.html)
>>
>> It says when describing the "mask" field:
>> IN_MOVED_FROM File moved out of watched directory (*).
>>
>> The description is not correct, since this event is also fired (on
>> read()) when a file is moved *within* the same directory (to a new name)
>> and is explicitly *not* *moved out* of the directory.
>>
>> It's not a big deal, of course, I just was confused about it recently.
>
> Hello Felix,
>
> I agree, it could be clearer. I revised the text to read:
>
> IN_MOVED_FROM Generated for the directory containing the
> old filename when a file is renamed (*).
> IN_MOVED_TO Generated for the directory containing the
> new filename when a file is renamed (*).
>
> Okay?
>
> Cheers,
>
> Michael
>
Firmensitz: Muenchen Amtsgericht: AG Muenchen Handelsregister: HRB 144340 Geschaeftsfuehrer: Timothy James Daly, Jonathan Park, Martin Stecher Bankverbindung: ABN-Amro Bank N.V. Konto 671 211 9006 UST-ID: DE168122444
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-07-23 9:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-19 11:37 Bug in documentation Felix_Schulte-dDVk9ABzqyjQT0dZR+AlfA
[not found] ` <94A07449C751564EBBCDD7481A3E829E104E60-vsg8/t6Ur8szk0z/ZuOLCTkPmBWM+Ckf2LY78lusg7I@public.gmane.org>
2013-07-20 22:28 ` Michael Kerrisk
[not found] ` <51EB0EFD.40706-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-07-23 9:30 ` Felix_Schulte-dDVk9ABzqyjQT0dZR+AlfA
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).