Re: Bug in documentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/19/13 13:37, Felix_Schulte@xxxxxxxxxx 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux