Skip to contentSkip to conversation

Is it possible to backup and restore a configfs subsystem in userspace?

DISCUSSION [email protected] 1 participant 1 message Jun 28, 2022

lore
Share & tools
lore
#0 lore 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