initmpfs: use tmpfs instead of ramfs for rootfs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | initmpfs: replace MS_NOUSER in initramfsfs/ | +8 | 3 replies | |
| 2/5 | initmpfs: Move bdi setup from init_rootfs to init_ramfsfs/ | +20 | 0 replies | |
| 3/5 | initmpfs: Move rootfs code from fs/ramfs/ to init/fs/ fs/ include/ +2 more | +38 | 0 replies | |
| 4/5 | initmpfs: Make rootfs use tmpfs when CONFIG_TMPFS enabled.init/ mm/ | +12 | 0 replies | |
| 5/5 | initmpfs: Use initramfs if rootfstype= or root= specified.init/ | +11 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] initmpfs: use tmpfs instead of ramfs for rootfs
Use tmpfs for rootfs when CONFIG_TMPFS=y and there's no root=. Specify rootfstype=ramfs to get the old initramfs behavior.
The previous initramfs code provided a fairly crappy root filesystem:
didn't let you --bind mount directories out of it, reported zero size/usage so it didn't show up in "df" and couldn't run things like rpm that query available space before proceeding, would fill up all available memory and panic the system if you wrote too much to it...
Using tmpfs instead provides a much better root filesystem.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>