From: linux@moellendorf.eu
To: LKML <linux-kernel@vger.kernel.org>
Subject: Is it possible to backup and restore a configfs subsystem in userspace?
Date: Tue, 28 Jun 2022 21:15:24 +0200 [thread overview]
Message-ID: <YrtTTCvsVKP94gxa@lars-laptop> (raw)
Hi!
If I create a configfs subsystem with some items and attributes in
there, is it possible to backup and restore them in user space?
My first experiments say no:
- rsync: read errors mapping "/sys/kernel/config/my/item": No data
available
- tar: short read
- cp: skipping file '/sys/kernel/config/my/item', as it was replaced
while being copied
But maybe I miss something here?
Cheers!
Lars
reply other threads:[~2022-06-28 19:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=YrtTTCvsVKP94gxa@lars-laptop \
--to=linux@moellendorf.eu \
--cc=linux-kernel@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.