Skip to content

Instantly share code, notes, and snippets.

@NoteAfterNote
NoteAfterNote / note-after-note-2025-april-7-tar-archive-mkfs-ext4-filesystem.md
Last active December 25, 2025 23:29
Using a tar archive with "mkfs.ext4 -d" to populate the ext4 filesystem

NoteAfterNote-11
Using a tar archive with "mkfs.ext4 -d" to populate the ext4 filesystem
Published: April 7, 2025
Link: https://gist.github.com/NoteAfterNote/65a139ce70cbf27c4875aaaee0e779cc


Here's the description for "-d root-directory|tarball" from the mkfs.ext4 man page:

"Copy the contents of the given directory or tarball into the root directory of the file system. Tarball input is only available if mke2fs was compiled with libarchive support enabled and if the libarchive shared library is available at run-time. The special value "-" will read a tarball from standard input."

Termux: Enable Wake-Lock

@NoteAfterNote
NoteAfterNote / note-after-note-2025-december-01-testing-termux-proot-distro-nfs.md
Last active April 4, 2026 20:36
Testing: Termux, proot-distro, Network File System (NFS)
@NoteAfterNote
NoteAfterNote / note-after-note-2026-may-28-pki.md
Last active June 4, 2026 11:53
Public Key Infrastructure (PKI)

NoteAfterNote-13
Public Key Infrastructure (PKI)
Published: May 28, 2026
Link: https://gist.github.com/NoteAfterNote/0892db84c82e4f5107bc35a6931fa5de


"PKI - CA Cross-Cerificate with OpenSSL?" discussion on the openssl-users mailing list, 2004-09-22 (September 22, 2004) - 2004-09-24 (September 24, 2004): https://marc.info/?t=109589086200004&r=1&w=1

  • Message 01 of 14, https://marc.info/?l=openssl-users&m=109589078005056&w=1

  • Message 02 of 14, https://marc.info/?l=openssl-users&m=109592203218740&w=1 ("2004-09-23 6:45:16"), "First, use 'openssl x509 -x509toreq' to create a CSR from the certificate you want to cross-certify, then use 'openssl ca' to sign it, and use a specific extension section in the configuration file (use the -extensions option). Alternatively, the CA you want to cross-certify with could send you the CSR they used to create their CA certificate, and you could send them yours. . . ." (openssl-users mailing list, "Richard Levitte" at "