RFC mdev-only /dev management (without devtmpfs)
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest6 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 3/6 | system: add mdev-only /dev management (without devtmpfs) | +0 | 1 reply | |
| 3/6 | system: add mdev-only /dev management (without devtmpfs) | +0 | 1 reply | |
| 3/6 | system: add mdev-only /dev management (without devtmpfs) | +0 | 2 replies | |
| 3/6 | system: add mdev-only /dev management (without devtmpfs) | +0 | 4 replies | |
| 3/6 | system: add mdev-only /dev management (without devtmpfs) | +0 | 1 reply | |
| 3/6 | system: add mdev-only /dev management (without devtmpfs) | +0 | 0 replies | |
| 3/6 | system: add mdev-only /dev management (without devtmpfs) | +0 | 1 reply | |
| 3/6 | system: add mdev-only /dev management (without devtmpfs) | +0 | 0 replies |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by.
| Patch | John Linn | Nicolas Pitre |
|---|---|---|
| 3/6 | T-b | A-b |
| 3/6 | T-b | A-b |
| 3/6 | T-b | A-b |
| 3/6 | T-b | A-b |
| 3/6 | T-b | A-b |
| 3/6 | T-b | A-b |
| 3/6 | T-b | A-b |
| 3/6 | T-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Buildroot] [RFC 0/6] mdev-only /dev management (without devtmpfs)
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Luca" == Luca Ceresoli <[email protected]> writes:
Hi,
this patchset adds a new /dev management mechanism, using mdev for dynamic device creation but without relying on devtmpfs.The main motivation is the need of dynamic /dev management and/or firmware loading assisted by mdev on targets that are bound to kernels < 2.6.32, and thus cannot use devtmpfs.
Is combining such old (<2009) kernel with modern userspace really a good idea?
git grep -l _AT_LEAST package/ | wc -l
48
But that is most likely not all of them, as none of the autobuilders use such ancient kernel headers.
How old is < 2.6.32? If you look@the commit adding devtmpfs to the kernel, it seems quite self contained and easy to backport:
git show --stat --oneline 2b2af54a5bb6f7e8
2b2af54 Driver Core: devtmpfs - kernel-maintained tmpfs-based /dev
drivers/base/Kconfig | 25 ++++ drivers/base/Makefile | 1 + drivers/base/base.h | 6 + drivers/base/core.c | 3 + drivers/base/devtmpfs.c | 367 +++++++++++++++++++++++++++++++++++++++++++++++ drivers/base/init.c | 1 + include/linux/device.h | 10 ++ include/linux/shmem_fs.h | 3 + init/do_mounts.c | 2 +- init/main.c | 2 + mm/shmem.c | 9 +- 11 files changed, 422 insertions(+), 7 deletions(-)
Have you considered doing that instead?
Signature · 1 line
Bye, Peter Korsgaard