news
Barry Kauler's Latest Work on EasyOS and Others
-
Barry Kauler ☛ Dropout to shell in initrd
The shutdown menu, when running the desktop, has an option to reboot and dropout from the 'init' script in the initrd, for debugging the initrd. However, what if you can't get to the desktop, what if the problem, like a crash, is in the initrd?
It is possible to add a "dropout=<number>" parameter on the kernel commandline, but I had also implemented a menu entry in the initrd, to dropout ...or rather, I thought that I had.
-
Barry Kauler ☛ Overlayfs management in EasyOS
Here are previous posts about the overlay filesystem: [...]
-
Barry Kauler ☛ Finding overlayfs whiteout files
In aufs, finding whiteout files is easy, as they are all named appended with ".wh.". Overlayfs is a bit more tricky.
I'm running EasyOS with overlayfs right now. The place where overlay whiteout files can be found, is in /mnt/.easy_rw/mainrw, which is the files and folders created in the current session, and running in RAM; ZRAM specifically. When the session is saved, usually at shutdown, the contents of mainrw will be written to /mnt/wkg/.session, for permanent storage.In overlay, whiteout files are character devices, with major/minor numbers 0/0. In ROX-Filer, they look like this (the one on the right, that looks like a measuring tape): [...]
-
Barry Kauler ☛ getfattr linked statically with musl
Binary utility 'getfattr' is for reading extended attributes of files and folders. It is part of the 'attr' package. I want to use it in the initrd, where all the binary executables are statically-linked. That is, there are no shared libraries.