From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mr3.vodafonemail.de (mr3.vodafonemail.de [145.253.228.163]) by sourceware.org (Postfix) with ESMTPS id 1B7A53858022 for ; Sun, 16 Jul 2023 19:33:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1B7A53858022 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nexgo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nexgo.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexgo.de; s=vfde-smtpout-mb-15sep; t=1689535978; bh=ecP+x2txYN26/OF/YnrvCmcDZLziPFxxgDL7hPr3Lws=; h=From:To:Subject:References:Date:In-Reply-To:Message-ID:User-Agent: Content-Type:From; b=VQaLR0MYBW1D3LvTHUEpWW3Ce26+7aBEHSonjIzMKm4f4Xfoq61Z36Sf3rWlxVb7o BpSbsGeOEBOTEmQfVC6uVisDKxADQM84VEP8AmddfiG8fXB9PwbedjaJws/cVdfWYT 5BuLqMM4gt4bmo0HYrxU3v2ntMwEkmW+hmxFp0Mg= Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr3.vodafonemail.de (Postfix) with ESMTPS id 4R3wNV4kXkz21Ry for ; Sun, 16 Jul 2023 19:32:58 +0000 (UTC) Received: from Gerda (p54a0c2c4.dip0.t-ipconnect.de [84.160.194.196]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4R3wNQ36L3z9sWJ for ; Sun, 16 Jul 2023 19:32:51 +0000 (UTC) From: ASSI To: cygwin-apps@cygwin.com Subject: Re: chattr makes cygport slow References: <3gbdai9h69p2c67lv8g7f873hje9skmglq@4ax.com> <6oudaidfkn4d7fnharmh7u3f3ionrcrgl0@4ax.com> <820bb54e-770e-5994-465a-476b88e74180@dronecode.org.uk> <87bkgma3ek.fsf@Rainer.invalid> <0eb00e42-372f-3aa7-d161-c2e62a1e9d91@dronecode.org.uk> Date: Sun, 16 Jul 2023 21:32:44 +0200 In-Reply-To: <0eb00e42-372f-3aa7-d161-c2e62a1e9d91@dronecode.org.uk> (Jon Turney via Cygwin-apps's message of "Sun, 16 Jul 2023 17:15:27 +0100") Message-ID: <87leffr6sj.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-purgate-type: clean X-purgate: clean X-purgate-size: 778 X-purgate-ID: 155817::1689535974-4A7FB86E-0D0FADC0/0/0 X-Spam-Status: No, score=-3031.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Jon Turney via Cygwin-apps writes: > The warning (error if RESTRICT=3Dcase_insensitive) should occur for all > commands, not just prep. OK. > How about the attached. Looks promising. > Even then, it should only be modifying every directory, not every file. Run strace on "chattr -r +C ." and see that it isn't that smart=E2=80=A6 Anyway, since it won't succeed on anything but empty directories it doesn't make sense to use to attempt a recursive change even if it were just looking at directories (which would of course be way faster at least). Regards, Achim. --=20 +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for KORG EX-800 and Poly-800MkII V0.9: http://Synth.Stromeko.net/Downloads.html#KorgSDada