From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 665D6C433E7 for ; Tue, 13 Oct 2020 17:17:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1469B25344 for ; Tue, 13 Oct 2020 17:17:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388113AbgJMRR6 (ORCPT ); Tue, 13 Oct 2020 13:17:58 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:40600 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726395AbgJMRR5 (ORCPT ); Tue, 13 Oct 2020 13:17:57 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id DA0011C0B77; Tue, 13 Oct 2020 19:17:54 +0200 (CEST) Date: Tue, 13 Oct 2020 19:17:54 +0200 From: Pavel Machek To: Joe Perches Cc: LKML Subject: Re: sysfs filenames with spaces Message-ID: <20201013171754.GA29185@duo.ucw.cz> References: <9b6f5c32d244131dbd63b55b085b3b4173144b4b.camel@perches.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="huq684BweRXVnRxX" Content-Disposition: inline In-Reply-To: <9b6f5c32d244131dbd63b55b085b3b4173144b4b.camel@perches.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --huq684BweRXVnRxX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon 2020-10-05 19:41:15, Joe Perches wrote: > This doesn't seem like a great idea to me. >=20 > For my system I've got: >=20 > /sys/devices/platform/Fixed MDIO bus.0/ > /sys/bus/platform/drivers/int3401 thermal/ > /sys/bus/platform/drivers/int3403 thermal/ > /sys/bus/platform/drivers/int3400 thermal/ > /sys/bus/mdio_bus/drivers/Generic PHY/ > /sys/bus/mdio_bus/drivers/Generic Clause 45 PHY/ > /sys/bus/pnp/drivers/i8042 aux/ > /sys/bus/pnp/drivers/i8042 kbd/ > /sys/bus/i2c/drivers/CHT Whiskey Cove PMIC/ >=20 > Could these filenames be avoided in the future or > even renamed today? Does not look like great idea to me, either. Hmm. Is there filename with "/" in it? :-) But I guess you'd need to cc relevant maintainers and that this is going to be a bit of whack-a-mole. Best regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --huq684BweRXVnRxX Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCX4XhQgAKCRAw5/Bqldv6 8hd1AJ9rNb3o6WclbAEmkL8bjJgXEo+xnACgtazBnVc9dZl5UDZGMTbtPCQcB+E= =iSBG -----END PGP SIGNATURE----- --huq684BweRXVnRxX--