From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.2.5 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=ZwAWT6SFp1AHQubvyCZ9bzQwR6BXFWfg19ZwTFFq6kE=; b=ErIvLPbR+cSNrwDk7rPURRfdTLeNfFWq3Pt25FYUD+G3CSzcmWGHcDMLLHE4nmfhF5MCG+nyBFWMmj2i3I02Wb71E/NguTv4XAgTPrr6kpGVvg2/q7VSo4bROUwd1prrPJdmgBqyeT98mrVRL3mfhyxzvYNNPlODdrpxYhTu8AY=; Date: Mon, 19 May 2014 19:07:44 +0400 From: Pavel Vorobj`ev To: sysadmins@lists.altlinux.org Message-ID: <20140519190744.4c4b4edd@pa> In-Reply-To: <1400442209.833997486@f300.i.mail.ru> References: <1400442209.833997486@f300.i.mail.ru> Organization: home X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam: Not detected X-Mras: Ok Subject: Re: [Sysadmins] inotify X-BeenThere: sysadmins@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux sysadmins' discussion List-Id: ALT Linux sysadmins' discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2014 15:07:52 -0000 Archived-At: List-Archive: =D0=92 Sun, 18 May 2014 23:43:29 +0400 =D0=9E=D0=BB=D0=B5=D0=B3 =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > =D0=94=D0=BE=D0=B1=D1=80=D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1=83 "=D1=82=D0=B0=D0=BA=D0= =BE=D0=B9-=D1=82=D0=BE" =D0=BF=D0=BE=D0=B4=D0=BF=D0=B8=D1=81=D0=B0=D0=BB=D1= =81=D1=8F/=D0=BE=D1=82=D0=BF=D0=B8=D1=81=D0=B0=D0=BB=D1=81=D1=8F =D0=BD=D0= =B0 "=D1=82=D0=B0=D0=BA=D1=83=D1=8E-=D1=82=D0=BE" =D1=80=D0=B0=D1=81=D1=81= =D1=8B=D0=BB=D0=BA=D1=83. =D0=94=D0=BB=D1=8F > =D1=8D=D1=82=D0=BE=D0=B3=D0=BE =D0=BD=D0=B0=D0=B4=D0=BE =D1=81=D0=BC=D0= =BE=D1=82=D1=80=D0=B5=D1=82=D1=8C =D0=B7=D0=B0 =D0=BA=D0=B0=D0=B6=D0=B4=D1= =8B=D0=BC =D1=84=D0=B0=D0=B9=D0=BB=D0=BE=D0=BC subscriptions =D0=B2 > =D0=B4=D0=B8=D1=80=D0=B5=D0=BA=D1=82=D0=BE=D1=80=D0=B8=D0=B8 /home/user/M= aildir/ =D0=9D=D0=BE, inotify =D0=B2=D1=80=D0=BE=D0=B4=D0=B5 =D0=BD=D0=B5 = =D1=83=D0=BC=D0=B5=D0=B5=D1=82 =D1=81=D0=BC=D0=BE=D1=82=D1=80=D0=B5=D1=82= =D1=8C =D0=BF=D0=BE > =D0=BF=D0=BE=D0=B4=D0=B4=D0=B8=D1=80=D0=B5=D0=BA=D1=82=D0=BE=D1=80=D0=B8= =D1=8F=D0=BC. Limitations: Inotify does not support recursively > watching directories, meaning that a separate inotify watch must be > created for every subdirectory. =D0=9F=D0=BE=D0=BA=D0=B0 =D0=B2=D0=B8=D0= =B6=D1=83 =D1=82=D0=BE=D0=BB=D1=8C=D0=BA=D0=BE =D0=B2 icrontabe > =D0=BF=D1=80=D0=BE=D0=BF=D0=B8=D1=81=D1=8B=D0=B2=D0=B0=D1=82=D1=8C =D0=BA= =D0=B0=D0=B6=D0=B4=D0=BE=D0=BC=D1=83 =D0=BF=D0=BE=D0=BB=D0=BD=D1=83=D1=8E > =D1=81=D1=82=D1=80=D0=BE=D0=BA=D1=83: /home/username/Maildir/subscriptions > IN_MODIFY=D0=B8=D0=BB=D0=B8IN_CLOSE_WRITE /root/test/inotyfy.sh >=20 > =D0=9C=D0=BE=D0=B6=D0=B5=D1=82 =D0=B5=D1=81=D1=82=D1=8C =D0=B2=D1=8B=D1= =85=D0=BE=D0=B4? =D0=9D=D1=83 =D0=B8=D0=BB=D0=B8 =D0=B4=D1=80=D1=83=D0=B3= =D0=BE=D0=B5 =D1=80=D0=B5=D1=88=D0=B5=D0=BD=D0=B8=D0=B5 =D1=8D=D1=82=D0=BE= =D0=B9 =D0=B6=D0=B5 =D0=BF=D1=80=D0=BE=D0=B1=D0=BB=D0=B5=D0=BC=D1=8B? > =D0=97=D0=B0=D1=80=D0=B0=D0=BD=D0=B5=D0=B5 =D1=81=D0=BF=D0=B0=D1=81=D0=B8= =D0=B1=D0=BE >=20 inotifywait -r ? =D0=B2 =D0=B4=D0=B5=D0=B1=D0=B5 =D0=BF=D0=B0=D0=BA=D0=B5=D1=82 https://pack= ages.debian.org/wheezy/inotify-tools =D0=B2 =D0=B0=D0=BB=D1=8C=D1=82=D0=B5 =D0=BD=D0=B5 =D0=B7=D0=BD=D0=B0=D1=8E