From nobody Thu Jul 03 13:24:54 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 4bXyDq2BL0z611TS for ; Thu, 03 Jul 2025 13:25:15 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bXyDn6DY7z43Br; Thu, 03 Jul 2025 13:25:13 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-60c4f796446so13433000a12.1; Thu, 03 Jul 2025 06:25:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1751549107; x=1752153907; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=xI1pFVc11uUeRwglNSrqjIlP24xw0g4tFXw7OWLg384=; b=Lw6zMheldubMLzumGcfjeRCE3fZzjTjDMVJu6wCkvJqtanz7+QRYgGHx7EYRAOtXnp IjrVftgb0xiFVKN4WKiZ/ERJnY6or4kcW4YQ6iVwXrLy06MyDKokJU9RKHYGJLqDLDgD 2+9xJC9qtN2nGdN/gf6R2Fy/IFsWzoowi59z/vHf5ucjgxYC1foN7rFSWLAHHAaDnWEo WkJEy6ViRoOQV4zGZlzn1Pxko8LkUlcQeTZbXbbOaMqiowmfYDyiMQQitaOQ8zZpI8s3 nVxXgZImiR0Aqv9sZK6gY0z674MqxcvjcAOMIPHYrfKTGclGTsT46ShcPt9jtK585jOn zLVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751549107; x=1752153907; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xI1pFVc11uUeRwglNSrqjIlP24xw0g4tFXw7OWLg384=; b=JJ1gdQTjAVERfMQP6x+xcT62D6ANGqr3SzdqD7z3PF7qyQvvFc4kTZodMJyprvosPz dMTVtvHGPMa/ZOgb2rVjJo8E6sO939zWIAOrKqgoiuUY4f9WSAvevV8NDJYYU96l7Qmc heZYGKCYELzB9oxI5V6lxWuvmaR5IwxtnfWsKetvq6KaeQUGbkj5Vsf7PntmIAwMDleM NIJTTehgERPPd88m49nZwh62RH3xeadRJzgFh1GoPW3Ywi75eWwlb9+/onK1T/6dTU1A np76vQpnxh9ZvSvFWIWkGv60+gfgF5xru/09c8AvBin0nwer6l/PiJSrWVdgMOoVrISh 5kjg== X-Gm-Message-State: AOJu0YxBt3Yl+G/elDdkS0gSb1QXXbwxTNglDniH6YfYtrvkXiZOa8+d 7xGkipR8EcaGcBmjupDOje4ZBg2DCaoqomDtOHAmjdTy8x2y272+G8E8un5TQwtKKTIrNwK1mYJ DbZQC0MDgF1HzADZ9wfIkXdIjy1sy0AmK X-Gm-Gg: ASbGncvdZvk6L8cfv9jqWTfhPKuiqxcge2+XsM645u5+uLEHuKfW1D/37gMwmEjtMmD XnCZOplwWSkfxVIGXqjCkyMg1arlshBOQUxEN1Ogvg4kTAFx51/kdk/EZUZGGQDe81369BlK3Oz 0qO+Rp+ozIaeTjZvDBMd+KJU/0gK/WJ8CfqmMFvJdhW0XyKF87+gFGtXq6+rAMwOpFXDd3cUyGq v0= X-Google-Smtp-Source: AGHT+IHHY3hJ2GrzxwaeWBWyyYAqbdLUrU/qx4Irt6qRozK5mE8NSJiS0VLAPqncRlWNLcsjDK6nM1xjty1WrpZRonM= X-Received: by 2002:a17:907:9342:b0:add:ede0:b9c4 with SMTP id a640c23a62f3a-ae3c2d563acmr682916466b.42.1751549105953; Thu, 03 Jul 2025 06:25:05 -0700 (PDT) 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 References: <2417127.THHZn3L5Ee@ravel> In-Reply-To: <2417127.THHZn3L5Ee@ravel> From: Rick Macklem Date: Thu, 3 Jul 2025 06:24:54 -0700 X-Gm-Features: Ac12FXxdY0yS0vkGxeYRDY_W2BoWbYsfMLb7su6elhp-gPCnTCcsu3n5KLBMjAQ Message-ID: Subject: Re: RFC: checking file systems support UF_HIDDEN, UF_SYSTEM To: Olivier Certner Cc: freebsd-current@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4bXyDn6DY7z43Br X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] On Thu, Jul 3, 2025 at 1:22=E2=80=AFAM Olivier Certner w= rote: > > Hi Alan, > > > The strcmp method isn't very good, because it doesn't account for the > > possibility that some filesystems may only support the flags conditiona= lly, > > depending on formatting options. I vote for method 1. > > Method 1 does not solve this problem either, as VFCF_* flags are per file= system *type*, not mounts. That is true. For file systems other than fuse, the property seems to apply to all file systems of the type. I don't know what fuse does? - Does fuse support these at all? (They are not supported by Linux, as far as I know.) Having said the above, I think Kostik's suggestion of a new pathconf variab= le seems the best, since it will cover all current and future cases. Thanks for the comments, rick > > Regards. > > -- > Olivier Certner