rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andreas Hindborg <a.hindborg@kernel.org>
To: "Daniel Almeida" <daniel.almeida@collabora.com>
Cc: "Danilo Krummrich" <dakr@kernel.org>,
	"Miguel Ojeda" <ojeda@kernel.org>,
	"Alex Gaynor" <alex.gaynor@gmail.com>,
	"Boqun Feng" <boqun.feng@gmail.com>,
	"Gary Guo" <gary@garyguo.net>,
	"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
	"Benno Lossin" <benno.lossin@proton.me>,
	"Alice Ryhl" <aliceryhl@google.com>,
	"Trevor Gross" <tmgross@umich.edu>,
	"Joel Becker" <jlbec@evilplan.org>,
	"Christoph Hellwig" <hch@lst.de>,
	"Peter Zijlstra" <peterz@infradead.org>,
	"Ingo Molnar" <mingo@redhat.com>, "Will Deacon" <will@kernel.org>,
	"Waiman Long" <longman@redhat.com>,
	"Fiona Behrens" <me@kloenk.dev>,
	"Charalampos Mitrodimas" <charmitro@posteo.net>,
	rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 0/4] rust: configfs abstractions
Date: Mon, 24 Feb 2025 20:12:26 +0100	[thread overview]
Message-ID: <87h64jyx5x.fsf@kernel.org> (raw)
In-Reply-To: <E12F1175-63AB-47BE-88E7-B6DA627DA8E6@collabora.com> (Daniel Almeida's message of "Mon, 24 Feb 2025 13:55:59 -0300")

"Daniel Almeida" <daniel.almeida@collabora.com> writes:

> Hi Andreas, FYI:
>
> Tested-by: Daniel Almeida <daniel.almeida@collabora.com>
>
> 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 “Show baz” ?

Thanks for testing! Good catch of copy pasta on the last one - I will
fix that.


Best regards,
Andreas Hindborg



      reply	other threads:[~2025-02-24 19:12 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-24 13:21 [PATCH v4 0/4] rust: configfs abstractions Andreas Hindborg
2025-02-24 13:21 ` [PATCH v4 1/4] rust: sync: change `<Arc<T> as ForeignOwnable>::PointedTo` to `T` Andreas Hindborg
2025-02-24 21:22   ` Daniel Almeida
2025-02-24 13:21 ` [PATCH v4 2/4] rust: configfs: introduce rust support for configfs Andreas Hindborg
2025-02-24 22:30   ` Daniel Almeida
2025-02-25 10:11     ` Andreas Hindborg
2025-02-25 10:53       ` Daniel Almeida
2025-02-25 12:29         ` Andreas Hindborg
2025-02-25 13:01           ` Daniel Almeida
2025-02-24 13:21 ` [PATCH v4 3/4] rust: configfs: add a sample demonstrating configfs usage Andreas Hindborg
2025-02-25  9:37   ` Daniel Almeida
2025-02-25 10:23     ` Andreas Hindborg
2025-02-25 10:58       ` Daniel Almeida
2025-02-24 13:21 ` [PATCH v4 4/4] MAINTAINERS: add entry for configfs Rust abstractions Andreas Hindborg
2025-02-25  9:38   ` Daniel Almeida
2025-02-24 16:55 ` [PATCH v4 0/4] rust: configfs abstractions Daniel Almeida
2025-02-24 19:12   ` Andreas Hindborg [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h64jyx5x.fsf@kernel.org \
    --to=a.hindborg@kernel.org \
    --cc=alex.gaynor@gmail.com \
    --cc=aliceryhl@google.com \
    --cc=benno.lossin@proton.me \
    --cc=bjorn3_gh@protonmail.com \
    --cc=boqun.feng@gmail.com \
    --cc=charmitro@posteo.net \
    --cc=dakr@kernel.org \
    --cc=daniel.almeida@collabora.com \
    --cc=gary@garyguo.net \
    --cc=hch@lst.de \
    --cc=jlbec@evilplan.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=longman@redhat.com \
    --cc=me@kloenk.dev \
    --cc=mingo@redhat.com \
    --cc=ojeda@kernel.org \
    --cc=peterz@infradead.org \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=tmgross@umich.edu \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).