From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9CACD189F36; Mon, 24 Feb 2025 19:12:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740424356; cv=none; b=FmcTQvfWO+e78eZ0ph3NuMxb1JTZ4tCluedwPutNiJKeinhLPm++Cny1YfmtP2Kvoh17S6xqQEi8Vkj5vAwoSI42auJB6Tj++6sCRaWYI5LuQ5V4K215SdBL9wipyBYrZRShtu1GBuXpF/aYZPtZBKRsXMxshg/cvl/3rlcGzfM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740424356; c=relaxed/simple; bh=9mijU7ARMLzdycQikCzbXlvLV7vede6tJUsdFDXNimE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=BWotzWlt/JfCCsiY+nMzgHDWVl5Red6oIRXDi/sOqITBHgBIQ/07uuWCFcPySJT4csBol0QbjIaTvlDYx6YaPEi3W9yVnIG0JjJvTCzOSgJNzgnX+Q15lLRGiJ6aqHhAqN4VWAPkBeyB5Ch4uBMLP+1t52aauoYvO2xHTepZANY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=XTE3lUKH; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="XTE3lUKH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A0696C4CED6; Mon, 24 Feb 2025 19:12:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1740424356; bh=9mijU7ARMLzdycQikCzbXlvLV7vede6tJUsdFDXNimE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=XTE3lUKHUMsrOl7Uj3AJ7gA+6QeZtJzut/GlZ9M4xfXiRbDu/8BLUVmKfdPKtF0wY KxQD401m3nZTa2DnbqIL70ciQJuRXw11GyAmSGPhRpIXM4xAv+VAULt0v/mLBsT6xR huLlKcnnpAYC9KcyLGQAUm+IGnmw7rF54wri9WwGE947/HVjY8cGb+UEuiSW+8HieC 7upfm9x0ZohQUzXw964U0gKt941Z8cxySKJIvd7xcSbUbmCJHKIiXrao2QWW1SIr+o +Tl3nSD1uvlUO/GrJMeKv4Wltt3B0TKxwHWTLOdSClGSfwEMyXxW0D7/byf/FAwbEc d/7a+u5SXBdDw== From: Andreas Hindborg To: "Daniel Almeida" Cc: "Danilo Krummrich" , "Miguel Ojeda" , "Alex Gaynor" , "Boqun Feng" , "Gary Guo" , =?utf-8?Q?Bj?= =?utf-8?Q?=C3=B6rn?= Roy Baron , "Benno Lossin" , "Alice Ryhl" , "Trevor Gross" , "Joel Becker" , "Christoph Hellwig" , "Peter Zijlstra" , "Ingo Molnar" , "Will Deacon" , "Waiman Long" , "Fiona Behrens" , "Charalampos Mitrodimas" , , Subject: Re: [PATCH v4 0/4] rust: configfs abstractions In-Reply-To: (Daniel Almeida's message of "Mon, 24 Feb 2025 13:55:59 -0300") References: <20250224-configfs-v4-0-9af9b5e611f6@kernel.org> User-Agent: mu4e 1.12.7; emacs 29.4 Date: Mon, 24 Feb 2025 20:12:26 +0100 Message-ID: <87h64jyx5x.fsf@kernel.org> Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable "Daniel Almeida" writes: > Hi Andreas, FYI: > > Tested-by: Daniel Almeida > > i.e.: > > ``` > sudo cat /mnt/rust_configfs/message > [ 234.971000] rust_configfs: Show message > Hello World > > sudo cat /mnt/rust_configfs/bar > [ 335.542585] rust_configfs: Show bar > > sudo sh -c "echo new_bar > /mnt/rust_configfs/bar" > [ 382.114901] rust_configfs: Store bar > > sudo cat /mnt/rust_configfs/bar > [ 401.348487] rust_configfs: Show bar > new_bar > > sudo mkdir /mnt/rust_configfs/child > > sudo ls /mnt/rust_configfs/ > bar child/ message > > sudo ls /mnt/rust_configfs/child/ > baz > > sudo cat /mnt/rust_configfs/child/baz > [ 600.651618] rust_configfs: Show baz > Hello Baz > > sudo mkdir /mnt/rust_configfs/child/grandchild > > sudo ls /mnt/rust_configfs/child/grandchild/ > gc > > sudo cat /mnt/rust_configfs/child/grandchild/gc > [ 670.093647] rust_configfs: Show baz > Hello GC > ``` > > Is that last one (for the grandchild) really supposed to print =E2=80=9CS= how baz=E2=80=9D ? Thanks for testing! Good catch of copy pasta on the last one - I will fix that. Best regards, Andreas Hindborg