From nobody Thu Jul 03 14:49:03 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4bY05h0lpdz619Jq for ; Thu, 03 Jul 2025 14:49:12 +0000 (UTC) (envelope-from olce@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bY05g6yJzz3GW2; Thu, 03 Jul 2025 14:49:11 +0000 (UTC) (envelope-from olce@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1751554152; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=jc2Roz3yghjKhXFTBXh6RJtQAmsKijkUKReur+L2xYQ=; b=YmU0BW09nvegq29gEIuWdOae7HL2Q31+GCaEPGgSUypOkQoIB9X1ZI0ayBwZiuhVYTP8js BLGy09PUGbu3/EDpHanazlzVESrW6SCzUnji6MlB/vTeTw3NB74S9X0Lddv0NMWFPglfUY Dt6qgcph+MO97Aw3bv1ox644UcvfxwjvicIVmdNt8hkPPK4aubm+yDwsexq/9K1yI1oxFe iRRA/dvtD5dGCauW4vVWuVb9aIuM9g5zjXQ9E3CZSjmlS0jC7ZLngSCj/LEEc+6MNiQ2aO 6d14dz5NwjcH0M+hi+IDgA/dQe7bZnOT2iF6h0QEZ7bdVxin3SpVVHSRHfTJgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1751554152; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=jc2Roz3yghjKhXFTBXh6RJtQAmsKijkUKReur+L2xYQ=; b=bWLdbh0PqYfJR5AJuZnB6PT71TDnA96WGoGT17HeiZBUqWGHX08sKQnVu3Z2uSttK9gHnt pvjXzV9Jlgid3ew8XFqNMbX56zOSwIjv5JkoN0LsgDL66WdwtaMitJ0Ivjv8/pE5O5ZHw9 ZRfx1Vgui7RK7XxrM088m4J3xpx9k7IdaEOLDtpP2FNbz8twf7lUflXLotS6gu7RWyzg4J sUlqKtiSRuzJY813Pr+nfjY/cpkJBvAO/9ma/hA28sGeb9ILDA/0FPIn7gZUEMI8ZwhI9W 3UU+WP8NZ2fOavhtZ9JGbrGbciLDAxTRbpvzJjEo+7bYjCTl+OrkdBb0oniyDw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1751554152; a=rsa-sha256; cv=none; b=xsCdgn4xmDxLBP/n0X5pKEuqUR5mZ3Cbej6jbRRGMZjkI8YgyfDPJGs/AZsJXzSd+lPlia D/7EqqY8t2tXjbx7wktudj1y2vCpZ/E7aZgSktzGjb6MQszM0rgOn1L/kJSDrppvffUBtq 8oeAYZEcVCowRwx8zAU7/hYh1v1eoGMWbbnDySBK4m6knyQ4MSKi2LFf6bk98n0Ya/iWNU 9xZAXHKRxXs7EyZQ7G7n/G7Xd3P1c1UPdgOZdlcCHl0IpWkQU/5OJGcw271NOG1+mRr0pK tuAeMhPkw4ed91GgpLsePb+5xNb1Q9sn0n/NEqJgPivxy0raG0Poqp5TGiKbCA== Received: from ravel.localnet (aclermont-ferrand-653-1-222-123.w90-14.abo.wanadoo.fr [90.14.66.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: olce/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4bY05g37pLz3lX; Thu, 03 Jul 2025 14:49:11 +0000 (UTC) (envelope-from olce@freebsd.org) From: Olivier Certner To: Rick Macklem Cc: Konstantin Belousov , freebsd-current@freebsd.org Subject: Re: RFC: checking file systems support UF_HIDDEN, UF_SYSTEM Date: Thu, 03 Jul 2025 16:49:03 +0200 Message-ID: <3252102.VPuetLRq1i@ravel> In-Reply-To: References: <2410567.gG0HsuGxDd@ravel> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart11614175.X2hNYcAVgp"; micalg="pgp-sha384"; protocol="application/pgp-signature" --nextPart11614175.X2hNYcAVgp Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Olivier Certner To: Rick Macklem Subject: Re: RFC: checking file systems support UF_HIDDEN, UF_SYSTEM Date: Thu, 03 Jul 2025 16:49:03 +0200 Message-ID: <3252102.VPuetLRq1i@ravel> MIME-Version: 1.0 > Note that, for a NFSv4 client mount, support for hidden/system could > change somewhere in > the mounted server tree, since for NFSv4 the tree can consist of multiple file > systems of different types. For example: > If an ext2 fs was mounted under a ufs file system, the hidden/system support > would go away when the mount point is crossed into the ext2 subtree. > > So, I think pathconf is the best way to go (and avoids using up flag bits). That's a compelling reason. Consequence is that pathconf() must then be used on the directory where hidden/system files could be created/expected, and not the mount's root directory. Regards. -- Olivier Certner --nextPart11614175.X2hNYcAVgp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCQAdFiEEmNCxHjkosai0LYIujKEwQJceJicFAmhmmF8ACgkQjKEwQJce JidLjg/+KsQca/tOdmRou47JBy8MhwvHl2KLjdPldD51JrycTfmg5c3kEI6vbEb9 3ZNifJppt9KFfA3rAbw3cPhzi65wBhtsGNNUi3NHAoR3Tkpze5+Iq76cDBGCJ1q3 ZM3kqWCoTpScCF8nNBPt2l7M/1bFZllfU0PS4AcvAomL1plI8RqOP9VL7qlPQN2y RKSkWv/l+t0znsbPQUpIE4bgBHFijdUnHEi4lOTh3LJV5dUdxQpI0Il/fGLhNdUn UZnUWO/Ra9iL0pE53Wvak0DSZ0xz30dSbU+pT0+GpNxhTe4C/qlxvqh6g5fdMGwE TzUu6mGfqAU8tsQdPW8NTNC1tZwvSipgW00jkn7qEiIs69YPlv+PtUbiVyooYotA PRe+beGFwkexdh6wJDz9i8HejzuUjOiJEJL8Uhq099V66tKDB6cK6RZ15TxWKK8e g3AXcv6bnNZoyUNmnFgQADjDbpYbVVRKp++f0jB1NmVdczCa8Ncx8YyiBhzRxF7S MPfGMEDu5Dtic4iPfWbrQGUgDhWnZ4LtiO5VfYz65gLR0dB+Gvt3MHiyO/5Sss5O d7H9/zCv7KzHB3+Fj9VdJd3+kbW1pQLkDilBryVwwb2fwhKG8qMX8muKRDdVUgyc ib9b3+QwGvnqy8aUL30/Z6T4DkxpOVnBxi9K/l7O+6wwRy69FKk= =Jzvl -----END PGP SIGNATURE----- --nextPart11614175.X2hNYcAVgp--