NoteAfterNote-5
Termux And The ext4 Filesystem, Part 5 Of 5: Reading And Writing With debugfs, No Root Required
Published: April 16, 2023
Link: https://gist.github.com/NoteAfterNote/854468164f8513bea764ac1668489f96
-
Rooted: No
-
Connected to any network: No
-
Operating system:
neofetch --stdout|grep --color=never --ignore-case 'os:' OS: Android 11 armv7l
-
CPU:
neofetch --stdout|grep --color=never --ignore-case 'cpu:' CPU: MT6761V/WAB (4) @ 2.001GHz
-
Display resolution: 1440x720
-
Builtin internal storage: 32 Gigabytes
-
Builtin memory: 3 Gigabytes
-
Adoptable Storage: Enabled
-
Application Binary Interface (ABI): armeabi-v7a, 32-bit
-
Linux shell: bash (Bourne Again SHell)
-
Termux wake lock: Always enable
-
Termux packages installed: qemu-system-x86-64 qemu-utils manpages util-linux teseq vim nano wget android-tools libnfs links openssh man termux-api libusb clang ncurses ncurses-utils asciinema gnutls termux-tools bc samba apache2 traceroute net-tools iproute2 inetutils bsd-games netcat-openbsd nmap nmap-ncat rlwrap dosfstools e2fsprogs pass pass-otp openssl-tool gpgv pwgen openjdk-17 paperkey unrar ncftp lftp darkhttpd file sshpass mutt neomutt alpine neofetch cpufetch progress pv gptfdisk fdisk curl dos2unix lynx gifsicle cadaver mlocate
-
"Termux And The ext4 Filesystem, Part 1 Of 5: Reading And Writing, No Root Required": https://gist.github.com/NoteAfterNote/2558deec94bac7ec9fa58aa5ad5e9d1b , https://github.com/NoteAfterNote (@NoteAfterNote)
Welcome to Termux!
Community forum: https://termux.com/community
Gitter chat: https://gitter.im/termux/termux
IRC channel: #termux on libera.chat
Working with packages:
* Search packages: pkg search <query>
* Install a package: pkg install <package>
* Upgrade packages: pkg upgrade
Subscribing to additional repositories:
* Root: pkg install root-repo
* X11: pkg install x11-repo
Report issues at https://termux.com/issues
#
# "NINE_P_DIR=/storage/emulated/0/Download/qemu-test"
# is from "Termux And The ext4 Filesystem, Part 4 Of 5:
# QEMU, A Guest Operating System, GNU GRUB Bootloader,
# And fdisk": https://gist.github.com/NoteAfterNote/0ec14839db016b6d3b905d4eda5db263
#
#
~ $ cd $HOME
~ $
~ $ pwd
/data/data/com.termux/files/home
~ $ export NINE_P_DIR=/storage/emulated/0/Download/qemu-test
~ $
~ $ env
SHELL=/data/data/com.termux/files/usr/bin/bash
COLORTERM=truecolor
HISTCONTROL=ignoreboth
PREFIX=/data/data/com.termux/files/usr
JAVA_HOME=/data/data/com.termux/files/usr/opt/openjdk
TERMUX_IS_DEBUGGABLE_BUILD=1
TERMUX_MAIN_PACKAGE_FORMAT=debian
PWD=/data/data/com.termux/files/home
NINE_P_DIR=/storage/emulated/0/Download/qemu-test
TERMUX_VERSION=0.118.0
EXTERNAL_STORAGE=/sdcard
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
TERMUX_API_VERSION=0.50.1
HOME=/data/data/com.termux/files/home
LANG=en_US.UTF-8
TERMUX_APK_RELEASE=GITHUB
DEX2OATBOOTCLASSPATH=/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/core-icu4j.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/framework-atb-backward-compatibility.jar:/system/framework/mediatek-telephony-base.jar:/system/framework/mediatek-telephony-common.jar:/system/framework/mediatek-common.jar:/system/framework/mediatek-framework.jar:/system/framework/mediatek-ims-common.jar:/system/framework/mediatek-ims-base.jar:/system/framework/mediatek-telecom-common.jar:/system/framework/OPCommonTelephony.jar
TMPDIR=/data/data/com.termux/files/usr/tmp
ANDROID_DATA=/data
TERM=xterm-256color
ANDROID_I18N_ROOT=/apex/com.android.i18n
SHLVL=1
ANDROID_ROOT=/system
BOOTCLASSPATH=/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/core-icu4j.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/framework-atb-backward-compatibility.jar:/system/framework/mediatek-telephony-base.jar:/system/framework/mediatek-telephony-common.jar:/system/framework/mediatek-common.jar:/system/framework/mediatek-framework.jar:/system/framework/mediatek-ims-common.jar:/system/framework/mediatek-ims-base.jar:/system/framework/mediatek-telecom-common.jar:/system/framework/OPCommonTelephony.jar:/apex/com.android.conscrypt/javalib/conscrypt.jar:/apex/com.android.media/javalib/updatable-media.jar:/apex/com.android.mediaprovider/javalib/framework-mediaprovider.jar:/apex/com.android.os.statsd/javalib/framework-statsd.jar:/apex/com.android.permission/javalib/framework-permission.jar:/apex/com.android.sdkext/javalib/framework-sdkextensions.jar:/apex/com.android.wifi/javalib/framework-wifi.jar:/apex/com.android.tethering/javalib/framework-tethering.jar
ANDROID_TZDATA_ROOT=/apex/com.android.tzdata
TERMUX_APP_PID=4244
PATH=/data/data/com.termux/files/usr/bin
ANDROID_ART_ROOT=/apex/com.android.art
OLDPWD=/data/data/com.termux/files/home
_=/data/data/com.termux/files/usr/bin/env
~ $
~ $
~ $
~ $
~ $ cat << EOF > $NINE_P_DIR/file1.txt # "here-document" 1
echo $NINE_P_DIR
EOF
~ $
~ $ cat $NINE_P_DIR/file1.txt
echo /storage/emulated/0/Download/qemu-test
~ $
~ $ cat << 'EOF' > $NINE_P_DIR/file2.txt # "here-document" 2
echo $NINE_P_DIR
EOF
~ $
~ $ cat $NINE_P_DIR/file2.txt
echo $NINE_P_DIR
~ $
~ $ rm $NINE_P_DIR/{file1.txt,file2.txt}
~ $
~ $ ls --color=never -l NINE_P_DIR
ls: cannot access 'NINE_P_DIR': No such file or directory
~ $
~ $ ls -l '$NINE_P_DIR'
ls: cannot access '$NINE_P_DIR': No such file or directory
~ $
~ $ ls --color=never -alR $NINE_P_DIR
/storage/emulated/0/Download/qemu-test:
total 13681712
-rw-rw---- 1 root everybody 51380224 Apr 4 20:35 alpine-virt-3.17.3-x86_64.iso
-rw-rw---- 1 root everybody 96 Apr 4 20:35 alpine-virt-3.17.3-x86_64.iso.sha256
drwxrwx--- 2 root everybody 4096 Apr 14 10:19 backup
-rw-rw---- 1 root everybody 1073741824 Apr 14 11:46 disk3-1gb.img
-rw-rw---- 1 root everybody 0 Apr 14 11:33 test.txt
-rw-rw---- 1 root everybody 6442450944 Apr 15 11:07 vm-linux-grub.raw
-rw-rw---- 1 root everybody 6442450944 Apr 14 09:53 vm-template-grub.raw
/storage/emulated/0/Download/qemu-test/backup:
total 7340048
-rw-rw---- 1 root everybody 1073741824 Apr 14 04:04 disk3-1gb.img
-rw-rw---- 1 root everybody 6442450944 Apr 14 09:53 vm-template-grub.raw
~ $
~ $ ls --color=never -alR "$NINE_P_DIR"
/storage/emulated/0/Download/qemu-test:
total 13681712
-rw-rw---- 1 root everybody 51380224 Apr 4 20:35 alpine-virt-3.17.3-x86_64.iso
-rw-rw---- 1 root everybody 96 Apr 4 20:35 alpine-virt-3.17.3-x86_64.iso.sha256
drwxrwx--- 2 root everybody 4096 Apr 14 10:19 backup
-rw-rw---- 1 root everybody 1073741824 Apr 14 11:46 disk3-1gb.img
-rw-rw---- 1 root everybody 0 Apr 14 11:33 test.txt
-rw-rw---- 1 root everybody 6442450944 Apr 15 11:07 vm-linux-grub.raw
-rw-rw---- 1 root everybody 6442450944 Apr 14 09:53 vm-template-grub.raw
/storage/emulated/0/Download/qemu-test/backup:
total 7340048
-rw-rw---- 1 root everybody 1073741824 Apr 14 04:04 disk3-1gb.img
-rw-rw---- 1 root everybody 6442450944 Apr 14 09:53 vm-template-grub.raw
~ $
~ $ tree NINE_P_DIR
NINE_P_DIR [error opening dir]
0 directories, 0 files
~ $
~ $ tree '$NINE_P_DIR'
$NINE_P_DIR [error opening dir]
0 directories, 0 files
~ $
~ $ tree "$NINE_P_DIR"
/storage/emulated/0/Download/qemu-test
├── alpine-virt-3.17.3-x86_64.iso
├── alpine-virt-3.17.3-x86_64.iso.sha256
├── backup
│ ├── disk3-1gb.img
│ └── vm-template-grub.raw
├── disk3-1gb.img
├── test.txt
├── vm-linux-grub.raw
└── vm-template-grub.raw
2 directories, 8 files
~ $
~ $
~ $
~ $
~ $ date '+%M:%S' ; dd if=/dev/urandom of=$NINE_P_DIR/disk9-10gb bs=1M count=10240 ; date '+%M:%S'
02:31
10240+0 records in
10240+0 records out
10737418240 bytes (11 GB, 10 GiB) copied, 433.438 s, 24.8 MB/s
09:45
~ $
~ $
~ $ date +%M:%S ; shred --zero --iterations=0 $NINE_P_DIR/disk9-10gb.ext ; date +%M:%S
23:15
29:57
~ $
~ $
~ $
~ $
~ $ echo $PREFIX
/data/data/com.termux/files/usr
~ $
~ $ tree -L 1 $PREFIX
/data/data/com.termux/files/usr
├── bin
├── etc
├── games
├── include
├── lib
├── libexec
├── opt
├── share
├── tmp
└── var
11 directories, 0 files
~ $
~ $ date '+%M:%S' ;du -sch $PREFIX ; date '+%M:%S'
38:13
2.3G /data/data/com.termux/files/usr
2.3G total
38:20
~ $
~ $
~ $ date '+%M:%S' ; mkfs.ext4 -m 0 -d $PREFIX $NINE_P_DIR/disk9-10gb.ext ; date '+%M:%S' # man mkfs.ext4
38:45
mke2fs 1.47.0 (5-Feb-2023)
Creating filesystem with 2621440 4k blocks and 655360 inodes
Filesystem UUID: e486791e-6f6d-49fe-9f43-d2b43fffaeed
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Copying files into the device: done
Writing superblocks and filesystem accounting information:done 0
41:29
~ $
~ $ ls --color=never -alR "$NINE_P_DIR"
/storage/emulated/0/Download/qemu-test:
total 24167480
-rw-rw---- 1 root everybody 51380224 Apr 4 20:35 alpine-virt-3.17.3-x86_64.iso
-rw-rw---- 1 root everybody 96 Apr 4 20:35 alpine-virt-3.17.3-x86_64.iso.sha256
drwxrwx--- 2 root everybody 4096 Apr 14 10:19 backup
-rw-rw---- 1 root everybody 1073741824 Apr 14 11:46 disk3-1gb.img
-rw-rw---- 1 root everybody 10737418240 Apr 16 06:41 disk9-10gb.ext
-rw-rw---- 1 root everybody 0 Apr 14 11:33 test.txt
-rw-rw---- 1 root everybody 6442450944 Apr 15 11:07 vm-linux-grub.raw
-rw-rw---- 1 root everybody 6442450944 Apr 14 09:53 vm-template-grub.raw
/storage/emulated/0/Download/qemu-test/backup:
total 7340048
-rw-rw---- 1 root everybody 1073741824 Apr 14 04:04 disk3-1gb.img
-rw-rw---- 1 root everybody 6442450944 Apr 14 09:53 vm-template-grub.raw
~ $
~ $ dumpe2fs -h $NINE_P_DIR/disk9-10gb.ext # man dumpe2fs
dumpe2fs 1.47.0 (5-Feb-2023)
Filesystem volume name: <none>
Last mounted on: <not available>
Filesystem UUID: e486791e-6f6d-49fe-9f43-d2b43fffaeed
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal ext_attr resize_inode dir_index orphan_file filetype extent 64bit flex_bg metadata_csum_seed sparse_super large_file huge_file dir_nlink extra_isize metadata_csum
Filesystem flags: unsigned_directory_hash
Default mount options: user_xattr acl
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 655360
Block count: 2621440
Reserved block count: 0
Overhead clusters: 66747
Free blocks: 2135235
Free inodes: 587687
First block: 0
Block size: 4096
Fragment size: 4096
Group descriptor size: 64
Reserved GDT blocks: 1024
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 8192
Inode blocks per group: 512
Flex block group size: 16
Filesystem created: Sun Apr 16 06:38:45 2023
Last mount time: n/a
Last write time: Sun Apr 16 06:41:29 2023
Mount count: 0
Maximum mount count: -1
Last checked: Sun Apr 16 06:38:45 2023
Check interval: 0 (<none>)
Lifetime writes: 1880 MB
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 256
Required extra isize: 32
Desired extra isize: 32
Journal inode: 8
Default directory hash: half_md4
Directory Hash Seed: 1b5d6333-5f0b-4dc1-9935-ea84bb64d585
Journal backup: inode blocks
Checksum type: crc32c
Checksum: 0xcac8fc7e
Checksum seed: 0x2b3b3ec8
Orphan file inode: 12
Journal features: (none)
Total journal size: 64M
Total journal blocks: 16384
Max transaction length: 16384
Fast commit length: 0
Journal sequence: 0x00000001
Journal start: 0
~ $
~ $ e2label $NINE_P_DIR/disk9-10gb.ext # man e2label
~ $
~ $ e2label $NINE_P_DIR/disk9-10gb.ext disk9-10gb
~ $
~ $ e2label $NINE_P_DIR/disk9-10gb.ext
disk9-10gb
~ $
~ $ dumpe2fs -h $NINE_P_DIR/disk9-10gb.ext | grep 'Filesystem volume name:'
dumpe2fs 1.47.0 (5-Feb-2023)
Filesystem volume name: disk9-10gb
~ $
~ $
~ $
~ $ export DEBUGFS_PAGER=cat # man debugfs
~ $
~ $ debugfs -R 'ls -l' $NINE_P_DIR/disk9-10gb.ext # man debugfs
debugfs 1.47.0 (5-Feb-2023)
2 40755 (2) 0 0 4096 16-Apr-2023 06:38 .
2 40755 (2) 0 0 4096 16-Apr-2023 06:38 ..
11 40700 (2) 0 0 16384 16-Apr-2023 06:38 lost+found
13 40700 (2) 10189 10189 24576 9-Apr-2023 02:33 bin
1293 40700 (2) 10189 10189 4096 9-Apr-2023 02:33 etc
1545 40700 (2) 10189 10189 4096 13-Oct-2022 19:33 games
1554 40700 (2) 10189 10189 12288 29-Mar-2023 02:31 include
15311 40700 (2) 10189 10189 24576 29-Mar-2023 02:31 lib
27160 40700 (2) 10189 10189 4096 29-Mar-2023 02:31 libexec
27606 40700 (2) 10189 10189 4096 16-Dec-2022 01:48 opt
28280 40700 (2) 10189 10189 4096 9-Apr-2023 02:33 share
66739 40700 (2) 10189 10189 4096 16-Apr-2023 05:54 tmp
66742 40700 (2) 10189 10189 4096 23-Feb-2023 17:04 var
~ $
~ $ debugfs -R 'dirsearch /bin termux-info' $NINE_P_DIR/disk9-10gb.ext
debugfs 1.47.0 (5-Feb-2023)
Entry found at logical block 4, phys 50989, offset 2488
offset 2488
~ $
~ $ debugfs -R "dump /bin/termux-info $NINE_P_DIR/termux-info.backup" $NINE_P_DIR/disk9-10gb.ext
debugfs 1.47.0 (5-Feb-2023)
~ $
~ $ whereis termux-info
termux-info: /data/data/com.termux/files/usr/bin/termux-info
~ $
~ $ sha256sum $NINE_P_DIR/termux-info.backup /data/data/com.termux/files/usr/bin/termux-info
b3e748059dcb1bb22784e8f6eb2a16e2f61ffa624850b55c9ae61185b0f3c6ca /storage/emulated/0/Download/qemu-test/termux-info.backup
b3e748059dcb1bb22784e8f6eb2a16e2f61ffa624850b55c9ae61185b0f3c6ca /data/data/com.termux/files/usr/bin/termux-info
~ $
~ $ debugfs -R "write $NINE_P_DIR/termux-info.backup termux-info.backup" $NINE_P_DIR/disk9-10gb.ext
debugfs 1.47.0 (5-Feb-2023)
write: Filesystem opened read/only
~ $
~ $ debugfs -w -R "write $NINE_P_DIR/termux-info.backup termux-info.backup.on.disk9-10gb" $NINE_P_DIR/disk9-10gb.ext
debugfs 1.47.0 (5-Feb-2023)
Allocated inode: 67674
~ $
~ $ debugfs -R 'ls -l' $NINE_P_DIR/disk9-10gb.ext
debugfs 1.47.0 (5-Feb-2023)
2 40755 (2) 0 0 4096 16-Apr-2023 06:38 .
2 40755 (2) 0 0 4096 16-Apr-2023 06:38 ..
11 40700 (2) 0 0 16384 16-Apr-2023 06:38 lost+found
13 40700 (2) 10189 10189 24576 9-Apr-2023 02:33 bin
1293 40700 (2) 10189 10189 4096 9-Apr-2023 02:33 etc
1545 40700 (2) 10189 10189 4096 13-Oct-2022 19:33 games
1554 40700 (2) 10189 10189 12288 29-Mar-2023 02:31 include
15311 40700 (2) 10189 10189 24576 29-Mar-2023 02:31 lib
27160 40700 (2) 10189 10189 4096 29-Mar-2023 02:31 libexec
27606 40700 (2) 10189 10189 4096 16-Dec-2022 01:48 opt
28280 40700 (2) 10189 10189 4096 9-Apr-2023 02:33 share
66739 40700 (2) 10189 10189 4096 16-Apr-2023 05:54 tmp
66742 40700 (2) 10189 10189 4096 23-Feb-2023 17:04 var
67674 100660 (1) 0 0 3270 16-Apr-2023 06:47 termux-info.backup.on.disk9-10gb
~ $
~ $ debugfs -R 'stat termux-info.backup.on.disk9-10gb' $NINE_P_DIR/disk9-10gb.ext
debugfs 1.47.0 (5-Feb-2023)
Inode: 67674 Type: regular Mode: 0660 Flags: 0x80000
Generation: 0 Version: 0x00000000:00000000
User: 0 Group: 0 Project: 0 Size: 3270
File ACL: 0
Links: 1 Blockcount: 8
Fragment: Address: 0 Number: 0 Size: 0
ctime: 0x643bd245:00000000 -- Sun Apr 16 06:47:33 2023
atime: 0x643bd245:00000000 -- Sun Apr 16 06:47:33 2023
mtime: 0x643bd245:00000000 -- Sun Apr 16 06:47:33 2023
crtime: 0x643bd245:00000000 -- Sun Apr 16 06:47:33 2023
Size of extra inode fields: 32
Inode checksum: 0x9085221a
EXTENTS:
(0):433844
~ $
~ $ debugfs -R 'rm /termux-info.backup.on.disk9-10gb' $NINE_P_DIR/disk9-10gb.ext
debugfs 1.47.0 (5-Feb-2023)
rm: Filesystem opened read/only
~ $
~ $ debugfs -w -R 'rm /termux-info.backup.on.disk9-10gb' $NINE_P_DIR/disk9-10gb.ext
debugfs 1.47.0 (5-Feb-2023)
~ $
~ $ debugfs -R 'stat termux-info.backup.on.disk9-10gb' $NINE_P_DIR/disk9-10gb.ext
debugfs 1.47.0 (5-Feb-2023)
termux-info.backup.on.disk9-10gb: File not found by ext2_lookup
~ $
~ $ debugfs -R 'ls -l' $NINE_P_DIR/disk9-10gb.ext
debugfs 1.47.0 (5-Feb-2023)
2 40755 (2) 0 0 4096 16-Apr-2023 06:38 .
2 40755 (2) 0 0 4096 16-Apr-2023 06:38 ..
11 40700 (2) 0 0 16384 16-Apr-2023 06:38 lost+found
13 40700 (2) 10189 10189 24576 9-Apr-2023 02:33 bin
1293 40700 (2) 10189 10189 4096 9-Apr-2023 02:33 etc
1545 40700 (2) 10189 10189 4096 13-Oct-2022 19:33 games
1554 40700 (2) 10189 10189 12288 29-Mar-2023 02:31 include
15311 40700 (2) 10189 10189 24576 29-Mar-2023 02:31 lib
27160 40700 (2) 10189 10189 4096 29-Mar-2023 02:31 libexec
27606 40700 (2) 10189 10189 4096 16-Dec-2022 01:48 opt
28280 40700 (2) 10189 10189 4096 9-Apr-2023 02:33 share
66739 40700 (2) 10189 10189 4096 16-Apr-2023 05:54 tmp
66742 40700 (2) 10189 10189 4096 23-Feb-2023 17:04 var
~ $
~ $
~ $
~ $ ls -l $NINE_P_DIR/../50gb.ext
-rw-rw---- 1 root everybody 53687091200 Apr 16 05:57 /storage/emulated/0/Download/qemu-test/../50gb.ext
~ $
~ $ file $NINE_P_DIR/../50gb.ext
/storage/emulated/0/Download/qemu-test/../50gb.ext:
Linux rev 1.0 ext4 filesystem data, UUID=ed64f636-1b13-4695-ad66-82236229d6e4, volume name "50gb" (extents) (64bit) (large files) (huge files)
~ $
~ $ stat $NINE_P_DIR/../50gb.ext
File: /storage/emulated/0/Download/qemu-test/../50gb.ext
Size: 53687091200 Blocks: 104857624 IO Block: 4096 regular file
Device: 0,84 Inode: 2130464 Links: 1
Access: (0660/-rw-rw----) Uid: ( 0/ root) Gid: ( 9997/everybody)
Access: 2023-04-08 02:53:18.872059396 -0400
Modify: 2023-04-16 05:57:59.052009372 -0400
Change: 2023-04-16 05:57:59.052009372 -0400
Birth: -
~ $
~ $ debugfs -R 'ls -l' $NINE_P_DIR/../50gb.ext
debugfs 1.47.0 (5-Feb-2023)
2 40755 (2) 1000 1000 4096 27-Mar-2023 01:44 .
2 40755 (2) 1000 1000 4096 27-Mar-2023 01:44 ..
11 40700 (2) 0 0 16384 27-Mar-2023 01:28 lost+found
655361 40775 (2) 1000 1000 4096 12-Jan-2023 19:57 alpine
2883585 40755 (2) 1000 1000 4096 12-Dec-2022 06:48 termux
~ $
~ $ debugfs -R 'ls -l alpine/v3.17/releases/x86_64' $NINE_P_DIR/../50gb.ext
debugfs 1.47.0 (5-Feb-2023)
2490369 40755 (2) 1000 1000 4096 4-Apr-2023 20:35 .
655365 40755 (2) 1000 1000 4096 23-Feb-2023 00:01 ..
2490371 100644 (1) 1000 1000 833 12-Jan-2023 20:28 alpine-extended-3.17.0-x86_64.iso.asc
2490370 100644 (1) 1000 1000 811597824 12-Jan-2023 20:28 alpine-extended-3.17.0-x86_64.iso
2490375 100644 (1) 1000 1000 104 12-Jan-2023 20:28 alpine-extended-3.17.0_rc1-x86_64.iso.sha256
2490372 100644 (1) 1000 1000 100 12-Jan-2023 20:28 alpine-extended-3.17.0-x86_64.iso.sha256
2490373 100644 (1) 1000 1000 164 12-Jan-2023 20:28 alpine-extended-3.17.0-x86_64.iso.sha512
2490374 100644 (1) 1000 1000 714080256 12-Jan-2023 20:28 alpine-extended-3.17.0_rc1-x86_64.iso
2490376 100644 (1) 1000 1000 168 12-Jan-2023 20:28 alpine-extended-3.17.0_rc1-x86_64.iso.sha512
2490377 100644 (1) 1000 1000 811597824 12-Jan-2023 20:29 alpine-extended-3.17.0_rc3-x86_64.iso
2490378 100644 (1) 1000 1000 104 12-Jan-2023 20:29 alpine-extended-3.17.0_rc3-x86_64.iso.sha256
2490379 100644 (1) 1000 1000 168 12-Jan-2023 20:29 alpine-extended-3.17.0_rc3-x86_64.iso.sha512
2490380 100644 (1) 1000 1000 811597824 12-Jan-2023 20:29 alpine-extended-3.17.0_rc4-x86_64.iso
2490381 100644 (1) 1000 1000 104 12-Jan-2023 20:29 alpine-extended-3.17.0_rc4-x86_64.iso.sha256
2490382 100644 (1) 1000 1000 168 12-Jan-2023 20:29 alpine-extended-3.17.0_rc4-x86_64.iso.sha512
2490383 100644 (1) 1000 1000 814743552 12-Jan-2023 20:30 alpine-extended-3.17.1-x86_64.iso
2490384 100644 (1) 1000 1000 833 12-Jan-2023 20:30 alpine-extended-3.17.1-x86_64.iso.asc
2490385 100644 (1) 1000 1000 100 12-Jan-2023 20:30 alpine-extended-3.17.1-x86_64.iso.sha256
2490386 100644 (1) 1000 1000 164 12-Jan-2023 20:30 alpine-extended-3.17.1-x86_64.iso.sha512
2490387 100644 (1) 1000 1000 814743552 13-Feb-2023 06:35 alpine-extended-3.17.2-x86_64.iso
2490388 100644 (1) 1000 1000 833 13-Feb-2023 06:35 alpine-extended-3.17.2-x86_64.iso.asc
2490389 100644 (1) 1000 1000 100 13-Feb-2023 06:35 alpine-extended-3.17.2-x86_64.iso.sha256
2490390 100644 (1) 1000 1000 164 13-Feb-2023 06:35 alpine-extended-3.17.2-x86_64.iso.sha512
2490391 100644 (1) 1000 1000 51380224 12-Jan-2023 20:31 alpine-virt-3.17.0-x86_64.iso
2490392 100644 (1) 1000 1000 833 12-Jan-2023 20:31 alpine-virt-3.17.0-x86_64.iso.asc
2490393 100644 (1) 1000 1000 96 12-Jan-2023 20:31 alpine-virt-3.17.0-x86_64.iso.sha256
2490394 100644 (1) 1000 1000 160 12-Jan-2023 20:31 alpine-virt-3.17.0-x86_64.iso.sha512
2490395 100644 (1) 1000 1000 51380224 12-Jan-2023 20:31 alpine-virt-3.17.0_rc1-x86_64.iso
2490396 100644 (1) 1000 1000 100 12-Jan-2023 20:31 alpine-virt-3.17.0_rc1-x86_64.iso.sha256
2490397 100644 (1) 1000 1000 164 12-Jan-2023 20:31 alpine-virt-3.17.0_rc1-x86_64.iso.sha512
2490398 100644 (1) 1000 1000 51380224 12-Jan-2023 20:31 alpine-virt-3.17.0_rc3-x86_64.iso
2490399 100644 (1) 1000 1000 100 12-Jan-2023 20:31 alpine-virt-3.17.0_rc3-x86_64.iso.sha256
2490400 100644 (1) 1000 1000 164 12-Jan-2023 20:31 alpine-virt-3.17.0_rc3-x86_64.iso.sha512
2490401 100644 (1) 1000 1000 51380224 12-Jan-2023 20:31 alpine-virt-3.17.0_rc4-x86_64.iso
2490402 100644 (1) 1000 1000 100 12-Jan-2023 20:31 alpine-virt-3.17.0_rc4-x86_64.iso.sha256
2490403 100644 (1) 1000 1000 164 12-Jan-2023 20:31 alpine-virt-3.17.0_rc4-x86_64.iso.sha512
2490404 100644 (1) 1000 1000 51380224 12-Jan-2023 20:31 alpine-virt-3.17.1-x86_64.iso
2490405 100644 (1) 1000 1000 833 12-Jan-2023 20:31 alpine-virt-3.17.1-x86_64.iso.asc
2490406 100644 (1) 1000 1000 96 12-Jan-2023 20:31 alpine-virt-3.17.1-x86_64.iso.sha256
2490407 100644 (1) 1000 1000 160 12-Jan-2023 20:31 alpine-virt-3.17.1-x86_64.iso.sha512
2490408 100644 (1) 1000 1000 51380224 13-Feb-2023 06:36 alpine-virt-3.17.2-x86_64.iso
2490409 100644 (1) 1000 1000 833 13-Feb-2023 06:36 alpine-virt-3.17.2-x86_64.iso.asc
2490410 100644 (1) 1000 1000 96 13-Feb-2023 06:36 alpine-virt-3.17.2-x86_64.iso.sha256
2490411 100644 (1) 1000 1000 160 13-Feb-2023 06:36 alpine-virt-3.17.2-x86_64.iso.sha512
2490412 100644 (1) 1000 1000 3318 12-Jan-2023 20:31 latest-releases.yaml
2490413 100644 (1) 1000 1000 816840704 4-Apr-2023 20:34 alpine-extended-3.17.3-x86_64.iso
2490414 100644 (1) 1000 1000 833 4-Apr-2023 20:34 alpine-extended-3.17.3-x86_64.iso.asc
2490415 100644 (1) 1000 1000 100 4-Apr-2023 20:34 alpine-extended-3.17.3-x86_64.iso.sha256
2490416 100644 (1) 1000 1000 164 4-Apr-2023 20:34 alpine-extended-3.17.3-x86_64.iso.sha512
2490417 100644 (1) 1000 1000 51380224 4-Apr-2023 20:35 alpine-virt-3.17.3-x86_64.iso
2490418 100644 (1) 1000 1000 833 4-Apr-2023 20:35 alpine-virt-3.17.3-x86_64.iso.asc
2490419 100644 (1) 1000 1000 96 4-Apr-2023 20:35 alpine-virt-3.17.3-x86_64.iso.sha256
2490420 100644 (1) 1000 1000 160 4-Apr-2023 20:35 alpine-virt-3.17.3-x86_64.iso.sha512
~ $
~ $ debugfs -R "ls -l /termux/packages.termux.dev/apt/termux-main/pool/main/q" $NINE_P_DIR/../50gb.ext
debugfs 1.47.0 (5-Feb-2023)
2883648 40755 (2) 1000 1000 4096 10-Dec-2022 05:42 .
2883599 40755 (2) 1000 1000 4096 10-Dec-2022 05:46 ..
3015976 40755 (2) 1000 1000 4096 6-Mar-2023 19:31 qalc-static
3015977 40755 (2) 1000 1000 4096 6-Mar-2023 19:31 qalc
3015978 40755 (2) 1000 1000 4096 16-Dec-2022 21:49 qemu-common
3015979 40755 (2) 1000 1000 4096 16-Dec-2022 21:49 qemu-system-aarch64-headless
3015980 40755 (2) 1000 1000 4096 16-Dec-2022 21:49 qemu-system-arm-headless
3015981 40755 (2) 1000 1000 4096 16-Dec-2022 21:49 qemu-system-i386-headless
3015982 40755 (2) 1000 1000 4096 16-Dec-2022 21:49 qemu-system-m68k-headless
3015983 40755 (2) 1000 1000 4096 16-Dec-2022 21:49 qemu-system-ppc-headless
3015984 40755 (2) 1000 1000 4096 16-Dec-2022 21:49 qemu-system-ppc64-headless
3015985 40755 (2) 1000 1000 4096 16-Dec-2022 21:49 qemu-system-riscv32-headless
3015986 40755 (2) 1000 1000 4096 16-Dec-2022 21:49 qemu-system-riscv64-headless
3015987 40755 (2) 1000 1000 4096 16-Dec-2022 21:49 qemu-system-x86-64-headless
3015988 40755 (2) 1000 1000 4096 16-Dec-2022 21:49 qemu-user-aarch64
3015989 40755 (2) 1000 1000 4096 16-Dec-2022 21:49 qemu-user-arm
3015990 40755 (2) 1000 1000 4096 16-Dec-2022 21:49 qemu-user-i386
3015991 40755 (2) 1000 1000 4096 16-Dec-2022 21:49 qemu-user-m68k
3015992 40755 (2) 1000 1000 4096 16-Dec-2022 21:49 qemu-user-ppc
3015993 40755 (2) 1000 1000 4096 16-Dec-2022 21:49 qemu-user-ppc64
3015994 40755 (2) 1000 1000 4096 16-Dec-2022 21:49 qemu-user-riscv32
3015995 40755 (2) 1000 1000 4096 16-Dec-2022 21:49 qemu-user-riscv64
3015996 40755 (2) 1000 1000 4096 16-Dec-2022 21:49 qemu-user-x86-64
3015997 40755 (2) 1000 1000 4096 16-Dec-2022 21:49 qemu-utils
3015998 40755 (2) 1000 1000 4096 9-Mar-2023 01:03 qhull-static
3015999 40755 (2) 1000 1000 4096 9-Mar-2023 01:03 qhull
3016000 40755 (2) 1000 1000 4096 26-Feb-2023 00:12 qpdf-static
3016001 40755 (2) 1000 1000 4096 26-Feb-2023 00:12 qpdf
3016002 40755 (2) 1000 1000 4096 11-Jan-2023 14:44 qrsspig
3016003 40755 (2) 1000 1000 4096 9-Mar-2023 01:03 quick-lint-js
3016004 40755 (2) 1000 1000 4096 10-Dec-2022 05:42 quickjs
3016005 40755 (2) 1000 1000 4096 10-Dec-2022 05:42 quilt
~ $
~ $
~ $ mkdir $NINE_P_DIR/{repository-termux,tmp}
~ $
~ $
~ $ date '+%M:%S' ; debugfs -R "rdump /termux/packages.termux.dev/apt/termux-main/pool/main/q $NINE_P_DIR/repository-termux" $NINE_P_DIR/../50gb.ext ; date '+%M:%S'
52:47
debugfs 1.47.0 (5-Feb-2023)
rdump: Operation not permitted while opening /storage/emulated/0/Download/qemu-test/repository-termux/q/qemu-common/qemu-common_1:7.2.0_arm.deb
rdump: Operation not permitted while opening /storage/emulated/0/Download/qemu-test/repository-termux/q/qemu-system-aarch64-headless/qemu-system-aarch64-headless_1:7.2.0_arm.deb
rdump: Operation not permitted while opening /storage/emulated/0/Download/qemu-test/repository-termux/q/qemu-system-arm-headless/qemu-system-arm-headless_1:7.2.0_arm.deb
rdump: Operation not permitted while opening /storage/emulated/0/Download/qemu-test/repository-termux/q/qemu-system-i386-headless/qemu-system-i386-headless_1:7.2.0_arm.deb
rdump: Operation not permitted while opening /storage/emulated/0/Download/qemu-test/repository-termux/q/qemu-system-m68k-headless/qemu-system-m68k-headless_1:7.2.0_arm.deb
rdump: Operation not permitted while opening /storage/emulated/0/Download/qemu-test/repository-termux/q/qemu-system-ppc-headless/qemu-system-ppc-headless_1:7.2.0_arm.deb
rdump: Operation not permitted while opening /storage/emulated/0/Download/qemu-test/repository-termux/q/qemu-system-ppc64-headless/qemu-system-ppc64-headless_1:7.2.0_arm.deb
rdump: Operation not permitted while opening /storage/emulated/0/Download/qemu-test/repository-termux/q/qemu-system-riscv32-headless/qemu-system-riscv32-headless_1:7.2.0_arm.deb
rdump: Operation not permitted while opening /storage/emulated/0/Download/qemu-test/repository-termux/q/qemu-system-riscv64-headless/qemu-system-riscv64-headless_1:7.2.0_arm.deb
rdump: Operation not permitted while opening /storage/emulated/0/Download/qemu-test/repository-termux/q/qemu-system-x86-64-headless/qemu-system-x86-64-headless_1:7.2.0_arm.deb
rdump: Operation not permitted while opening /storage/emulated/0/Download/qemu-test/repository-termux/q/qemu-user-aarch64/qemu-user-aarch64_1:7.2.0_arm.deb
rdump: Operation not permitted while opening /storage/emulated/0/Download/qemu-test/repository-termux/q/qemu-user-arm/qemu-user-arm_1:7.2.0_arm.deb
rdump: Operation not permitted while opening /storage/emulated/0/Download/qemu-test/repository-termux/q/qemu-user-i386/qemu-user-i386_1:7.2.0_arm.deb
rdump: Operation not permitted while opening /storage/emulated/0/Download/qemu-test/repository-termux/q/qemu-user-m68k/qemu-user-m68k_1:7.2.0_arm.deb
rdump: Operation not permitted while opening /storage/emulated/0/Download/qemu-test/repository-termux/q/qemu-user-ppc/qemu-user-ppc_1:7.2.0_arm.deb
rdump: Operation not permitted while opening /storage/emulated/0/Download/qemu-test/repository-termux/q/qemu-user-ppc64/qemu-user-ppc64_1:7.2.0_arm.deb
rdump: Operation not permitted while opening /storage/emulated/0/Download/qemu-test/repository-termux/q/qemu-user-riscv32/qemu-user-riscv32_1:7.2.0_arm.deb
rdump: Operation not permitted while opening /storage/emulated/0/Download/qemu-test/repository-termux/q/qemu-user-riscv64/qemu-user-riscv64_1:7.2.0_arm.deb
rdump: Operation not permitted while opening /storage/emulated/0/Download/qemu-test/repository-termux/q/qemu-user-x86-64/qemu-user-x86-64_1:7.2.0_arm.deb
rdump: Operation not permitted while opening /storage/emulated/0/Download/qemu-test/repository-termux/q/qemu-utils/qemu-utils_1:7.2.0_arm.deb
rdump: Operation not permitted while opening /storage/emulated/0/Download/qemu-test/repository-termux/q/quickjs/quickjs_1:20210327-2_arm.deb
52:50
~ $
~ $ tree $NINE_P_DIR/repository-termux
/storage/emulated/0/Download/qemu-test/repository-termux
└── q
├── qalc
│ └── qalc_4.6.0_arm.deb
├── qalc-static
│ └── qalc-static_4.6.0_arm.deb
├── qemu-common
├── qemu-system-aarch64-headless
├── qemu-system-arm-headless
├── qemu-system-i386-headless
├── qemu-system-m68k-headless
├── qemu-system-ppc-headless
├── qemu-system-ppc64-headless
├── qemu-system-riscv32-headless
├── qemu-system-riscv64-headless
├── qemu-system-x86-64-headless
├── qemu-user-aarch64
├── qemu-user-arm
├── qemu-user-i386
├── qemu-user-m68k
├── qemu-user-ppc
├── qemu-user-ppc64
├── qemu-user-riscv32
├── qemu-user-riscv64
├── qemu-user-x86-64
├── qemu-utils
├── qhull
│ └── qhull_8.1-alpha3-0_arm.deb
├── qhull-static
│ └── qhull-static_8.1-alpha3-0_arm.deb
├── qpdf
│ └── qpdf_11.3.0_arm.deb
├── qpdf-static
│ └── qpdf-static_11.3.0_arm.deb
├── qrsspig
│ └── qrsspig_0.8.0-1_arm.deb
├── quick-lint-js
│ └── quick-lint-js_2.12.0_arm.deb
├── quickjs
└── quilt
└── quilt_0.67_all.deb
32 directories, 9 files
~ $
~ $
~ $ debugfs -R "dump /termux/packages.termux.dev/apt/termux-main/pool/main/q/quilt/quilt_0.67_all.deb $NINE_P_DIR/tmp/CopyOf-quilt_0.67_all.deb" $NINE_P_DIR/../50gb.ext
debugfs 1.47.0 (5-Feb-2023)
~ $
~ $ sha256sum $NINE_P_DIR/repository-termux/q/quilt/quilt_0.67_all.deb $NINE_P_DIR/tmp/CopyOf-quilt_0.67_all.deb
d60ad08a175276a99f0e58f794b4042534d5dc8a66125a7752213ebad9bda330 /storage/emulated/0/Download/qemu-test/repository-termux/q/quilt/quilt_0.67_all.deb
d60ad08a175276a99f0e58f794b4042534d5dc8a66125a7752213ebad9bda330 /storage/emulated/0/Download/qemu-test/tmp/CopyOf-quilt_0.67_all.deb
~ $
~ $
~ $ apt info quilt
Package: quilt
Version: 0.67
Maintainer: @termux
Installed-Size: 705 kB
Depends: coreutils, diffstat, gawk, graphviz, perl
Homepage: https://savannah.nongnu.org/projects/quilt
Download-Size: 358 kB
APT-Sources: http://127.0.0.80:50080/termux/packages.termux.dev/apt/termux-main stable/main arm Packages
Description: Allows you to easily manage large numbers of patches
~ $
~ $ dpkg-deb -c $NINE_P_DIR/tmp/CopyOf-quilt_0.67_all.deb
drwxr-xr-x builder/builder 0 2022-11-16 05:39 ./
drwxr-xr-x builder/builder 0 2022-11-16 05:39 ./data/
drwxr-xr-x builder/builder 0 2022-11-16 05:39 ./data/data/
drwxr-xr-x builder/builder 0 2022-11-16 05:39 ./data/data/com.termux/
drwxr-xr-x builder/builder 0 2022-11-16 05:39 ./data/data/com.termux/files/
drwx------ builder/builder 0 2022-11-16 05:39 ./data/data/com.termux/files/usr/
drwx------ builder/builder 0 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/
drwx------ builder/builder 0 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/doc/
drwx------ builder/builder 0 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/doc/quilt/
-rw------- builder/builder 4013 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/doc/quilt/README.MAIL
lrwxrwxrwx builder/builder 0 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/doc/quilt/LICENSE -> ../../LICENSES/GPL-2.0.txt
-rw------- builder/builder 20467 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/doc/quilt/README
-rw------- builder/builder 291088 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/doc/quilt/quilt.pdf
drwx------ builder/builder 0 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/
-rwx------ builder/builder 2968 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/files
-rwx------ builder/builder 2524 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/add
-rwx------ builder/builder 2721 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/patches
drwx------ builder/builder 0 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/scripts/
-rwx------ builder/builder 3525 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/scripts/remove-trailing-ws
-rw------- builder/builder 22562 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/scripts/patchfns
-rwx------ builder/builder 13137 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/scripts/dependency-graph
-rwx------ builder/builder 7978 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/scripts/backup-files
-rw------- builder/builder 1022 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/scripts/utilfns
-rwx------ builder/builder 6401 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/scripts/edmail
-rwx------ builder/builder 5415 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/scripts/inspect-wrapper
-rwx------ builder/builder 1220 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/edit
-rwx------ builder/builder 2446 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/new
-rwx------ builder/builder 1015 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/applied
-rwx------ builder/builder 5941 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/pop
-rwx------ builder/builder 974 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/next
-rwx------ builder/builder 2414 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/revert
-rwx------ builder/builder 1042 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/previous
-rwx------ builder/builder 1540 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/snapshot
-rwx------ builder/builder 2746 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/fold
-rwx------ builder/builder 11733 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/setup
-rwx------ builder/builder 3211 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/header
-rwx------ builder/builder 2495 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/delete
-rwx------ builder/builder 8096 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/refresh
-rwx------ builder/builder 3419 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/annotate
drwx------ builder/builder 0 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/compat/
lrwxrwxrwx builder/builder 0 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/compat/diffstat -> /data/data/com.termux/files/usr/bin/diffstat
-rwx------ builder/builder 114 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/compat/sendmail
lrwxrwxrwx builder/builder 0 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/compat/awk -> /data/data/com.termux/files/usr/bin/gawk
-rwx------ builder/builder 2798 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/graph
-rwx------ builder/builder 8696 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/push
-rwx------ builder/builder 2432 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/upgrade
-rwx------ builder/builder 900 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/top
-rwx------ builder/builder 15805 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/mail
-rwx------ builder/builder 1165 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/unapplied
-rwx------ builder/builder 3126 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/grep
-rwx------ builder/builder 5217 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/import
-rwx------ builder/builder 7898 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/diff
-rwx------ builder/builder 2388 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/fork
-rwx------ builder/builder 1776 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/series
-rwx------ builder/builder 2089 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/remove
-rwx------ builder/builder 2021 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/quilt/rename
drwx------ builder/builder 0 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/man/
drwx------ builder/builder 0 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/man/man1/
-rw------- builder/builder 2686 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/man/man1/guards.1.gz
-rw------- builder/builder 10121 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/man/man1/quilt.1.gz
drwx------ builder/builder 0 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/emacs/
drwx------ builder/builder 0 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/emacs/site-lisp/
-rw------- builder/builder 19523 2022-11-16 05:39 ./data/data/com.termux/files/usr/share/emacs/site-lisp/quilt.el
drwx------ builder/builder 0 2022-11-16 05:39 ./data/data/com.termux/files/usr/etc/
drwx------ builder/builder 0 2022-11-16 05:39 ./data/data/com.termux/files/usr/etc/bash_completion.d/
-rw------- builder/builder 7117 2022-11-16 05:39 ./data/data/com.termux/files/usr/etc/bash_completion.d/quilt
-rw------- builder/builder 1236 2022-11-16 05:39 ./data/data/com.termux/files/usr/etc/quilt.quiltrc
drwx------ builder/builder 0 2022-11-16 05:39 ./data/data/com.termux/files/usr/bin/
-rwx------ builder/builder 3310 2022-11-16 05:39 ./data/data/com.termux/files/usr/bin/quilt
-rwx------ builder/builder 7293 2022-11-16 05:39 ./data/data/com.termux/files/usr/bin/guards
~ $
~ $
~ $ dumpe2fs -h $NINE_P_DIR/../50gb.ext
dumpe2fs 1.47.0 (5-Feb-2023)
Filesystem volume name: 50gb
Last mounted on: /mnt/d4
Filesystem UUID: ed64f636-1b13-4695-ad66-82236229d6e4
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal ext_attr resize_inode dir_index filetype extent 64bit flex_bg sparse_super large_file huge_file dir_nlink extra_isize metadata_csum
Filesystem flags: signed_directory_hash
Default mount options: user_xattr acl
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 3276800
Block count: 13107200
Reserved block count: 0
Overhead clusters: 284552
Free blocks: 1243884
Free inodes: 3252143
First block: 0
Block size: 4096
Fragment size: 4096
Group descriptor size: 64
Reserved GDT blocks: 1024
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 8192
Inode blocks per group: 512
Flex block group size: 16
Filesystem created: Mon Mar 27 01:28:00 2023
Last mount time: Sat Apr 8 02:40:45 2023
Last write time: Sun Apr 16 05:57:58 2023
Mount count: 3
Maximum mount count: -1
Last checked: Mon Mar 27 01:28:00 2023
Check interval: 0 (<none>)
Lifetime writes: 47 GB
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 256
Required extra isize: 32
Desired extra isize: 32
Journal inode: 8
Default directory hash: half_md4
Directory Hash Seed: b6f57ef5-b9a5-429d-bcf4-d08884e23ec9
Journal backup: inode blocks
Checksum type: crc32c
Checksum: 0x46ee1b5e
Journal features: journal_incompat_revoke journal_64bit journal_checksum_v3
Total journal size: 256M
Total journal blocks: 65536
Max transaction length: 65536
Fast commit length: 0
Journal sequence: 0x00000107
Journal start: 0
Journal checksum type: crc32c
Journal checksum: 0xcb0b8022
~ $
~ $
~ $ date '+%M:%S' ; fsck.ext4 $NINE_P_DIR/../50gb.ext ; date '+%M:%S'
56:28
e2fsck 1.47.0 (5-Feb-2023)
50gb: clean, 24657/3276800 files, 11863316/13107200 blocks
56:29
~ $
~ $
~ $
~ $
~ $
~ $ cat << 'DEBUGFS_EOF' > $NINE_P_DIR/copy-iso-to-ext4.txt
mkdir ISO
cd ISO
#
lcd /storage/emulated/0/Download/qemu-test
#
pwd
#
write alpine-virt-3.17.3-x86_64.iso alpine-virt-3.17.3-x86_64.iso
write alpine-virt-3.17.3-x86_64.iso.sha256 alpine-virt-3.17.3-x86_64.iso.sha256
ls
ls -l
DEBUGFS_EOF
~ $
~ $ date '+%M:%S' ; debugfs -w -f $NINE_P_DIR/copy-iso-to-ext4.txt $NINE_P_DIR/disk9-10gb.ext ; date '+%M:%S'
04:12
debugfs 1.47.0 (5-Feb-2023)
debugfs: mkdir ISO
debugfs: cd ISO
#
debugfs: lcd /storage/emulated/0/Download/qemu-test
#
debugfs: pwd
[pwd] INODE: 67674 PATH: /ISO
[root] INODE: 2 PATH: /
#
debugfs: write alpine-virt-3.17.3-x86_64.iso alpine-virt-3.17.3-x86_64.iso
Allocated inode: 67675
debugfs: write alpine-virt-3.17.3-x86_64.iso.sha256 alpine-virt-3.17.3-x86_64.iso.sha256
Allocated inode: 67676
debugfs: ls
67674 (12) . 2 (12) .. 67675 (40) alpine-virt-3.17.3-x86_64.iso
67676 (4020) alpine-virt-3.17.3-x86_64.iso.sha256
debugfs: ls -l
67674 40755 (2) 0 0 4096 16-Apr-2023 07:04 .
2 40755 (2) 0 0 4096 16-Apr-2023 06:38 ..
67675 100660 (1) 0 0 51380224 16-Apr-2023 07:04 alpine-virt-3.17.3-x86_64.iso
67676 100660 (1) 0 0 96 16-Apr-2023 07:04 alpine-virt-3.17.3-x86_64.iso.sha256
04:16
~ $
~ $ debugfs -R 'ls -l' $NINE_P_DIR/disk9-10gb.ext
debugfs 1.47.0 (5-Feb-2023)
2 40755 (2) 0 0 4096 16-Apr-2023 06:38 .
2 40755 (2) 0 0 4096 16-Apr-2023 06:38 ..
11 40700 (2) 0 0 16384 16-Apr-2023 06:38 lost+found
13 40700 (2) 10189 10189 24576 9-Apr-2023 02:33 bin
1293 40700 (2) 10189 10189 4096 9-Apr-2023 02:33 etc
1545 40700 (2) 10189 10189 4096 13-Oct-2022 19:33 games
1554 40700 (2) 10189 10189 12288 29-Mar-2023 02:31 include
15311 40700 (2) 10189 10189 24576 29-Mar-2023 02:31 lib
27160 40700 (2) 10189 10189 4096 29-Mar-2023 02:31 libexec
27606 40700 (2) 10189 10189 4096 16-Dec-2022 01:48 opt
28280 40700 (2) 10189 10189 4096 9-Apr-2023 02:33 share
66739 40700 (2) 10189 10189 4096 16-Apr-2023 05:54 tmp
66742 40700 (2) 10189 10189 4096 23-Feb-2023 17:04 var
67674 40755 (2) 0 0 4096 16-Apr-2023 07:04 ISO
~ $
~ $ debugfs -R 'ls -l ISO' $NINE_P_DIR/disk9-10gb.ext
debugfs 1.47.0 (5-Feb-2023)
67674 40755 (2) 0 0 4096 16-Apr-2023 07:04 .
2 40755 (2) 0 0 4096 16-Apr-2023 06:38 ..
67675 100660 (1) 0 0 51380224 16-Apr-2023 07:04 alpine-virt-3.17.3-x86_64.iso
67676 100660 (1) 0 0 96 16-Apr-2023 07:04 alpine-virt-3.17.3-x86_64.iso.sha256
~ $
~ $ cat << DEBUGFS_EOF > $NINE_P_DIR/copy-files-to-ext4.txt
cd ISO
ls -l
#
pwd
cd ..
pwd
mkdir QEMU
lcd $NINE_P_DIR
#
write vm-template-grub.raw QEMU/vm-template-grub.raw
#
write vm-linux-grub.raw QEMU/vm-linux-grub.raw
#
write $NINE_P_DIR/disk3-1gb.img QEMU/disk3-1gb.img
ls QEMU
cd QEMU
ls -l
DEBUGFS_EOF
~ $
~ $ date '+%M:%S' ; debugfs -w -f $NINE_P_DIR/copy-files-to-ext4.txt $NINE_P_DIR/disk9-10gb.ext ; date '+%M:%S'
21:39
debugfs 1.47.0 (5-Feb-2023)
debugfs: cd ISO
debugfs: ls -l
67674 40755 (2) 0 0 4096 16-Apr-2023 07:04 .
2 40755 (2) 0 0 4096 16-Apr-2023 06:38 ..
67675 100660 (1) 0 0 51380224 16-Apr-2023 07:04 alpine-virt-3.17.3-x86_64.iso
67676 100660 (1) 0 0 96 16-Apr-2023 07:04 alpine-virt-3.17.3-x86_64.iso.sha256
#
debugfs: pwd
[pwd] INODE: 67674 PATH: /ISO
[root] INODE: 2 PATH: /
debugfs: cd ..
debugfs: pwd
[pwd] INODE: 2 PATH: /
[root] INODE: 2 PATH: /
debugfs: mkdir QEMU
debugfs: lcd /storage/emulated/0/Download/qemu-test
#
debugfs: write vm-template-grub.raw QEMU/vm-template-grub.raw
Allocated inode: 67678
#
debugfs: write vm-linux-grub.raw QEMU/vm-linux-grub.raw
Allocated inode: 67679
#
debugfs: write /storage/emulated/0/Download/qemu-test/disk3-1gb.img QEMU/disk3-1gb.img
Allocated inode: 67680
debugfs: ls QEMU
67677 (12) . 2 (12) .. 67678 (28) vm-template-grub.raw
67679 (28) vm-linux-grub.raw 67680 (4004) disk3-1gb.img
debugfs: cd QEMU
debugfs: ls -l
67677 40755 (2) 0 0 4096 16-Apr-2023 07:21 .
2 40755 (2) 0 0 4096 16-Apr-2023 06:38 ..
67678 100660 (1) 0 0 6442450944 16-Apr-2023 07:21 vm-template-grub.raw
67679 100660 (1) 0 0 6442450944 16-Apr-2023 07:26 vm-linux-grub.raw
67680 100660 (1) 0 0 1073741824 16-Apr-2023 07:30 disk3-1gb.img
32:31
~ $
~ $ debugfs -R 'ls -l' $NINE_P_DIR/disk9-10gb.ext
debugfs 1.47.0 (5-Feb-2023)
2 40755 (2) 0 0 4096 16-Apr-2023 06:38 .
2 40755 (2) 0 0 4096 16-Apr-2023 06:38 ..
11 40700 (2) 0 0 16384 16-Apr-2023 06:38 lost+found
13 40700 (2) 10189 10189 24576 9-Apr-2023 02:33 bin
1293 40700 (2) 10189 10189 4096 9-Apr-2023 02:33 etc
1545 40700 (2) 10189 10189 4096 13-Oct-2022 19:33 games
1554 40700 (2) 10189 10189 12288 29-Mar-2023 02:31 include
15311 40700 (2) 10189 10189 24576 29-Mar-2023 02:31 lib
27160 40700 (2) 10189 10189 4096 29-Mar-2023 02:31 libexec
27606 40700 (2) 10189 10189 4096 16-Dec-2022 01:48 opt
28280 40700 (2) 10189 10189 4096 9-Apr-2023 02:33 share
66739 40700 (2) 10189 10189 4096 16-Apr-2023 05:54 tmp
66742 40700 (2) 10189 10189 4096 23-Feb-2023 17:04 var
67674 40755 (2) 0 0 4096 16-Apr-2023 07:04 ISO
67677 40755 (2) 0 0 4096 16-Apr-2023 07:21 QEMU
~ $
~ $ debugfs -R 'ls -l QEMU' $NINE_P_DIR/disk9-10gb.ext
debugfs 1.47.0 (5-Feb-2023)
67677 40755 (2) 0 0 4096 16-Apr-2023 07:21 .
2 40755 (2) 0 0 4096 16-Apr-2023 06:38 ..
67678 100660 (1) 0 0 6442450944 16-Apr-2023 07:21 vm-template-grub.raw
67679 100660 (1) 0 0 6442450944 16-Apr-2023 07:26 vm-linux-grub.raw
67680 100660 (1) 0 0 1073741824 16-Apr-2023 07:30 disk3-1gb.img
~ $
~ $ date '+%M:%S' ; fsck.ext4 $NINE_P_DIR/disk9-10gb.ext ; date '+%M:%S'
34:25
e2fsck 1.47.0 (5-Feb-2023)
disk9-10gb: clean, 67680/655360 files, 1708299/2621440 blocks
34:25
~ $
~ $
~ $
~ $
~ $ pwd
/data/data/com.termux/files/home
~ $
~ $
- "Configuring LUKS: Linux Unified Key Setup": https://www.redhat.com/sysadmin/disk-encryption-luks
- "Frequently Asked Questions Cryptsetup/LUKS": https://gitlab.com/cryptsetup/cryptsetup/wikis/FrequentlyAskedQuestions
- "Encrypted Archive with Cryptsetup": https://dashohoxha.gitlab.io/cryptsetup-encrypted-archive/ , https://github.com/dashohoxha (dashohoxha), https://gitlab.com/dashohoxha
- "Basic Guide To Encrypting Linux Partitions With LUKS": https://linuxconfig.org/basic-guide-to-encrypting-linux-partitions-with-luks , https://linuxconfig.org/how-to-use-a-file-as-a-luks-device-key , https://linuxconfig.org/how-to-use-luks-with-a-detached-header
- "How To Linux Hard Disk Encryption With LUKS [ cryptsetup encrypt command ]": https://www.cyberciti.biz/security/howto-linux-hard-disk-encryption-with-luks-cryptsetup-command/
- "How to encrypt a single Linux filesystem": https://www.redhat.com/sysadmin/encrypt-single-filesystem (LUKS)
- "Create an encrypted file vault on Linux": https://opensource.com/article/21/4/linux-encryption (LUKS)
- "Encrypted filesystems, loop devices, cryptsetup": http://jeromebelleman.gitlab.io/posts/filesystems/cryptsetup/ (LUKS)
- "luks encryption with loopback file": https://gist.github.com/dbehnke/ad19ca8f1ccf80aebca5 , (@dbehnke)
- "An introduction to Linux filesystems": https://opensource.com/life/16/10/introduction-linux-filesystems (Linux "mount" command)
- "mount Command in Linux | Explained": https://itslinuxfoss.com/mount-command-linux/
- "How to Mount and Unmount Filesystems in Linux": https://www.baeldung.com/linux/mount-unmount-filesystems (Linux "fdisk" command)
- "How to Mount and Unmount File Systems in Linux": https://linuxize.com/post/how-to-mount-and-unmount-file-systems-in-linux/ (Linux "fdisk" command)
- "Managing partitions in Linux with fdisk": https://www.redhat.com/sysadmin/partitions-fdisk
- "Creating and managing partitions in Linux with parted": https://www.redhat.com/sysadmin/partitions-parted
- "Linux mount Command with Examples": https://phoenixnap.com/kb/linux-mount-command
- "An introduction to the Linux /etc/fstab file": https://www.redhat.com/sysadmin/etc-fstab
- "Chapter 24. Mounting file systems": https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/managing_file_systems/index
- "Linux: Mount Disk Partition Using LABEL": https://www.cyberciti.biz/faq/rhel-centos-debian-fedora-mount-partition-label/
- "Linux commands: du and the options you should be using": https://www.redhat.com/sysadmin/du-command-options
- "Hard links and soft links in Linux explained": https://www.redhat.com/sysadmin/linking-linux-explained
- "Linux permissions: SUID, SGID, and sticky bit": https://www.redhat.com/sysadmin/suid-sgid-sticky-bit
- "How to audit permissions with the find command": https://www.redhat.com/sysadmin/audit-permissions-find
- "Getting started with socat, a multipurpose relay tool for Linux": https://www.redhat.com/sysadmin/getting-started-socat
- "Basic troubleshooting with telnet and netcat": https://www.redhat.com/sysadmin/telnet-netcat-troubleshooting (Linux "nc" command)
- Linux "mktemp" command: https://www.gnu.org/software/coreutils/manual/coreutils.html
- "How to use grep": https://www.redhat.com/sysadmin/how-to-use-grep
- "Manipulating text at the command line with grep": https://www.redhat.com/sysadmin/manipulating-text-grep
- "Manipulating text at the command line with sed": https://www.redhat.com/sysadmin/manipulating-text-sed
- "Manipulating text with sed and grep": https://www.redhat.com/sysadmin/manipulating-text-sed-grep
- "How to Kill a Process in Linux? Commands to Terminate": https://phoenixnap.com/kb/how-to-kill-a-process-in-linux
- kill, ps, "Linux Command Basics: 7 commands for process management": https://www.redhat.com/sysadmin/linux-command-basics-7-commands-process-management
- "Bash scripting: Moving from backtick operator to $ parentheses": https://www.redhat.com/sysadmin/backtick-operator-vs-parens
- Linux ext4 filesystem: "Filesystems in the Linux kernel": https://docs.kernel.org/filesystems/index.html , https://docs.kernel.org/filesystems/ext4/index.html ("ext4 Data Structures and Algorithms"), https://www.cyberciti.biz/faq/linux-modify-partition-labels-command-to-change-diskname/ ("Linux Change Disk Label Name on EXT2 / EXT3 / EXT4 File Systems"), https://www.redhat.com/sysadmin/disk-space ("Linux sysadmins want to know: Where did my disk space go?")
- "What sysadmins need to know about using Bash": https://www.redhat.com/sysadmin/bash-navigation
- "10 basic Linux commands you need to know": https://www.redhat.com/sysadmin/basic-linux-commands
- "8 fundamental Linux file-management commands for new users": https://www.redhat.com/sysadmin/linux-file-management-commands
- "8 essential Linux file navigation commands for new users": https://www.redhat.com/sysadmin/Linux-file-navigation-commands
- "Basic Linux commands and tools every sysadmin should know": https://clockhash.com/blog/basic-linux-commands-and-tools-every-sysadmin-should-know
- bash: https://www.gnu.org/software/bash/manual/bash.html ("Bash Reference Manual"), https://www.redhat.com/sysadmin/linux-environment-variables ("Linux environment variable tips and tricks"), https://www.redhat.com/sysadmin/scripting-writing-text-file ("Bash scripting: How to write data to text files"), https://www.redhat.com/sysadmin/pipes-command-line-linux ("Working with pipes on the Linux command line" "here-document (heredoc)" "here-string"), https://linuxhint.com/linux-pipe-command-examples/ ("Linux Pipe Command with Examples"), https://www.redhat.com/sysadmin/linux-shell-redirection-pipelining ("How to manipulate files with shell redirection and pipelines in Linux"), https://www.redhat.com/sysadmin/redirect-shell-command-script-output ("How to redirect shell command output"), https://www.redhat.com/sysadmin/history-command ("How to manage your Linux command history"), https://www.redhat.com/sysadmin/parsing-bash-history ("Parsing Bash history in Linux"), https://tldp.org/LDP/abs/html/ ("Advanced Bash-Scripting Guide" "Here Documents"), https://wiki.bash-hackers.org
- ctrl-c (control-c), ctrl-d (control-d): https://www.oreilly.com/library/view/learning-the-unix/1565923901/ch01s04.html ("The Unresponsive Terminal"), https://www.networkworld.com/article/3284105/linux-control-sequence-tricks.html ("Linux control sequence tricks"), https://web.cecs.pdx.edu/~rootd/catdoc/guide/TheGuide_38.html ("UNIX Control-Key Commands")
- Linux commands "tput init", "tput reset", "tput clear": https://www.gnu.org/software/termutils/manual/termutils-2.0/html_mono/tput.html ("Portable Terminal Control From Scripts"), https://tldp.org/LDP/abs/html/terminalccmds.html ("16.7. Terminal Control Commands"), https://www.cyberciti.biz/tips/bash-fix-the-display.html ("BASH Fix Display and Console Garbage and Gibberish on a Linux / Unix / macOS"), https://bash.cyberciti.biz/guide/Fixing_the_display_with_reset ("Fixing the display with reset")
- "The Linux man-pages project": https://www.kernel.org/doc/man-pages/ , https://mirrors.edge.kernel.org/pub/linux/docs/man-pages/book/
- "How to find out what a Linux command does": https://www.redhat.com/sysadmin/linux-command-documentation
- Linux 'tree" and "ls" commands: https://www.cyberciti.biz/faq/linux-show-directory-structure-command-line/ ("Linux see directory tree structure using tree command"), https://www.redhat.com/sysadmin/ls-command-options ("Sysadmin tools: 11 ways to use the ls command in Linux"), https://www.redhat.com/sysadmin/Linux-file-navigation-commands ("8 essential Linux file navigation commands for new users")
- "How to Use the less, more, and most Commands to Read Text Files in Linux": https://www.makeuseof.com/use-less-more-and-most-linux-commands/
- Linux text editor "nano": https://www.redhat.com/sysadmin/getting-started-nano ("Getting started with Nano")
- Linux text editors "vi", "vim", "ed": https://www.redhat.com/sysadmin/get-started-vi-editor ("How to get started with the Vi editor"), https://www.redhat.com/sysadmin/introduction-vi-editor ("An introduction to the vi editor"), https://www.redhat.com/sysadmin/beginners-guide-vim ("Linux basics: A beginner's guide to text editing with vim"), https://www.redhat.com/sysadmin/vim-commands ("Vim: Basic and intermediate commands"), https://www.redhat.com/sysadmin/introduction-ed-editor ("How to get started with the ed text editor")
- Linux web browswer "links": http://links.twibright.com , http://links.twibright.com/download.php ("Documentation"), https://www.tecmint.com/command-line-web-browsers/ ("A Command Line Web Browsing with Lynx and Links Tools")
- Linux "grep" command: https://www.redhat.com/sysadmin/find-text-files-using-grep ("Find text in files using the Linux grep command")
- Linux "echo" command: https://phoenixnap.com/kb/echo-command-linux ("Echo Command in Linux (With Examples)"), https://www.tecmint.com/echo-command-in-linux/ ("15 Practical Examples of ‘echo’ command in Linux"),
- Linux "find" command: https://www.redhat.com/sysadmin/linux-find-command ("10 ways to use the Linux find command"), : https://www.redhat.com/sysadmin/find-best-friend ("When it comes to Linux system troubleshooting, find is my best friend")
- Regular expressions (regex): https://www.redhat.com/sysadmin/introducing-regular-expressions ("Introducing regular expressions"), https://www.redhat.com/sysadmin/getting-started-regular-expressions-example ("Getting started with regular expressions: An example"), https://www.redhat.com/sysadmin/regex-grep-data-flow ("Regex and grep: Data flow and building blocks"), https://www.redhat.com/sysadmin/regular-expressions-pulling-it-all-together ("Regular expressions: Pulling it all together"), https://opensource.com/article/18/5/getting-started-regular-expressions ("Getting started with regular expressions")
- Linux "chmod" command: https://www.redhat.com/sysadmin/linux-file-permissions-xplained ("Linux file permissions explained"), https://www.redhat.com/sysadmin/introduction-chmod ("Linux permissions: An introduction to chmod"), https://www.redhat.com/sysadmin/manage-permissions ("How to manage Linux permissions for users, groups, and others"), https://www.redhat.com/sysadmin/linux-permissions ("What sysadmins need to know about Linux permissions")
- Linux "bc" command: https://www.gnu.org/software/bc/manual/html_mono/bc.html ("bc" "an arbitrary precision calculator language"), https://linuxconfig.org/bc ("bc command in Linux with examples"), https://web.archive.org/web/20211207113205/docstore.mik.ua/orelly/unix/upt/ch49_03.htm ("Chapter 49 Working with Numbers" "49.3 Gotchas in Base Conversion"), https://www.networkworld.com/article/3681079/converting-numbers-on-linux-among-decimal-hexadecimal-octal-and-binary.html ("Converting numbers on Linux among decimal, hexadecimal, octal, and binary"), https://www.theunixschool.com/2011/05/bc-unix-calculator.html ("bc - Unix calculator"), https://www.real-world-systems.com/docs/bc.1.html ("bc" "arbitrary precision calculator"), http://www.physics.smu.edu/coan/linux/bc.html ("6. (Very) Brief intro to bc")
- Linux "apt" command: https://linuxhint.com/debian_sources-list/ ("Understanding and Using Debian sources.list"), https://wiki.debian.org/SourcesList ("Configuring Apt Sources")
- Web-based Distributed Authoring and Versioning (WebDAV), Linux command "cadaver": http://www.webdav.org , https://docs.vscentrum.be/en/latest/data/cadaver_client_access.html ("Cadaver Client Access"), https://github.com/hpcloud/swift-webdav/blob/master/doc/Cadaver.md ("Using the Cadaver WebDAV Client"). https://help.webpal.net/apis/webdav ("WebPal Resources for Editors, Admins, Collaborators and Coders" "WebDAV Interface")
- "Alpine User Handbook": https://docs.alpinelinux.org/user-handbook/0.1a/index.html
- From https://alpinelinux.org download the "Virtual" "x86_64" files: https://dl-cdn.alpinelinux.org/alpine/v3.17/releases/x86_64/alpine-virt-3.17.3-x86_64.iso , https://dl-cdn.alpinelinux.org/alpine/v3.17/releases/x86_64/alpine-virt-3.17.3-x86_64.iso.sha256
- Alpine Linux Wiki: https://wiki.alpinelinux.org
- "Setting up disks manually": https://wiki.alpinelinux.org/wiki/Setting_up_disks_manually
- "Bootloaders": https://wiki.alpinelinux.org/wiki/Bootloaders
- "GNU GRUB": https://www.gnu.org/software/grub/
- "GNU GRUB Manual 2.06": https://www.gnu.org/software/grub/manual/grub/grub.html
- "Production Web server: Lighttpd": https://wiki.alpinelinux.org/wiki/Production_Web_server:_Lighttpd
- "Lighttpd": https://wiki.alpinelinux.org/wiki/Lighttpd
- Lighttpd: https://redmine.lighttpd.net/projects/lighttpd , https://redmine.lighttpd.net/projects/lighttpd/wiki/Mod_webdav , https://redmine.lighttpd.net/projects/lighttpd/wiki/Mod_auth
- "htdigest - manage user files for digest authentication": https://httpd.apache.org/docs/2.4/programs/htdigest.html
- "htpasswd - Manage user files for basic authentication": https://httpd.apache.org/docs/2.4/programs/htpasswd.html
- "Termux And The ext4 Filesystem, Part 3 Of 5: QEMU, A Guest Operating System, LUKS Encryption, lighttpd, WebDAV": https://gist.github.com/NoteAfterNote/cabd411777f2ad5ae57d3d98c576471c , https://github.com/NoteAfterNote (@NoteAfterNote)
- ctrl-c (control-c), ctrl-d (control-d): https://www.oreilly.com/library/view/learning-the-unix/1565923901/ch01s04.html ("The Unresponsive Terminal"), https://www.networkworld.com/article/3284105/linux-control-sequence-tricks.html ("Linux control sequence tricks"), https://web.cecs.pdx.edu/~rootd/catdoc/guide/TheGuide_38.html ("UNIX Control-Key Commands")
- Linux commands "tput init", "tput reset", "tput clear": https://www.gnu.org/software/termutils/manual/termutils-2.0/html_mono/tput.html ("Portable Terminal Control From Scripts"), https://tldp.org/LDP/abs/html/terminalccmds.html ("16.7. Terminal Control Commands"), https://www.cyberciti.biz/tips/bash-fix-the-display.html ("BASH Fix Display and Console Garbage and Gibberish on a Linux / Unix / macOS"), https://bash.cyberciti.biz/guide/Fixing_the_display_with_reset ("Fixing the display with reset")
- Reset a Termux terminal session at anytime, very useful when lines are truncated while booting: https://wiki.termux.com/wiki/User_Interface ("create new terminal sessions", "specify a session title", "Resetting the terminal"), see https://user-images.githubusercontent.com/21236430/126444437-7570cdcb-e825-4970-97ff-71f41e426b0f.jpg in termux/termux-app#2184 (comment) ("Feature request: termux transcript #2184" "Gameye98 commented on Jul 21, 2021" )
- "4 System Administration": https://tldp.org/LDP/gs/node6.html
- "Chapter 1. Getting Started with Linux": https://www.oreilly.com/library/view/practical-linux-system/9781098109028/ch01.html
- "Reboot Linux System Command": https://www.cyberciti.biz/faq/howto-reboot-linux/
- "Linux superuser access, explained": https://www.redhat.com/sysadmin/linux-superuser-access
- "Why Do We Use su – and Not Just su?": https://www.baeldung.com/linux/su-command-options
- "Linux command line basics: sudo": https://www.redhat.com/sysadmin/sudo
- "Exploring the differences between sudo and su commands in Linux": https://www.redhat.com/sysadmin/difference-between-sudo-su
- "Using sudo to delegate permissions in Linux": https://www.redhat.com/sysadmin/using-sudo-delegate
- "Real sysadmins don't sudo": https://www.redhat.com/sysadmin/sysadmins-dont-sudo
- "Linux sysadmin basics: User account management": https://www.redhat.com/sysadmin/linux-user-account-management
- "How to create, delete, and modify groups in Linux": https://www.redhat.com/sysadmin/linux-groups (Linux "id" command)
- "Linux sysadmin basics: User account management with UIDs and GIDs": https://www.redhat.com/sysadmin/user-account-gid-uid
- "Managing local group accounts in Linux": https://www.redhat.com/sysadmin/local-group-accounts
- "How to use a command line random password generator PWGEN on Linux": https://linuxconfig.org/how-to-use-a-command-line-random-password-generator-pwgen-on-linux
- "Recommendations on Using Assigned Transport Port Numbers": https://www.rfc-editor.org/rfc/rfc7605.html
- "Internet Assigned Numbers Authority (IANA) Procedures for the Management of the Service Name and Transport Protocol Port Number Registry": https://www.rfc-editor.org/rfc/rfc6335 ("the Dynamic Ports, also known as the Private or Ephemeral Ports, from 49152-65535 (never assigned)")
- Linux "shuf" command": https://www.gnu.org/software/coreutils/manual/html_node/shuf-invocation.html
- "Working with File Systems": http://web.archive.org/web/20130423054811/technet.microsoft.com/en-us/library/bb457112.aspx ("4 GB minus 1 byte"), "Working with File Systems": https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-xp/bb457112(v=technet.10)
- "How FAT Works": https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2003/cc776720(v=ws.10)
- QEMU: https://www.qemu.org , https://github.com/qemu/qemu (@qemu), https://www.qemu.org/docs/master/ , https://wiki.qemu.org , https://github.com/qemu/qemu/tree/master/docs
- "Device Emulation": https://www.qemu.org/docs/master/system/device-emulation.html ("Common Terms" "Device Front End" "Device Back End"), https://qemu.readthedocs.io/en/latest/system/device-emulation.html
- "QEMU User Documentation": https://www.qemu.org/docs/master/system/qemu-manpage.html , https://qemu.readthedocs.io/en/latest/system/qemu-manpage.html
- "QEMU Documentation": https://qemu.readthedocs.io/_/downloads/en/latest/pdf/
- https://github.com/qemu/qemu/blob/master/qemu-options.hx
- "QEMU disk image utility": https://www.qemu.org/docs/master/tools/qemu-img.html ("qemu-img create"), https://qemu.readthedocs.io/en/latest/tools/qemu-img.html
- "Managing device boot order with bootindex properties": https://www.qemu.org/docs/master/system/bootindex.html , https://qemu.readthedocs.io/en/latest/system/bootindex.html
- "Network emulation": https://www.qemu.org/docs/master/system/devices/net.html ("Using the user mode network stack" "-net user" "The QEMU VM behaves as if it was behind a firewall which blocks all incoming connections."),
- "Documentation/Networking": https://wiki.qemu.org/Documentation/Networking ("hostfwd")
- "Documentation/9psetup": https://wiki.qemu.org/Documentation/9psetup ("-virtfs"), https://wiki.qemu.org/Documentation/9p https://wiki.qemu.org/Features/VirtIORNG ("virtio-rng-pci")
- "QEMU command-line: behavior of ‘-serial stdio’ vs. ‘-serial mon:stdio’": https://kashyapc.wordpress.com/2016/02/11/qemu-command-line-behavior-of-serial-stdio-vs-serial-monstdio/ ("-serial mon:stdio")
- "QEMU Monitor": https://www.qemu.org/docs/master/system/monitor.html , https://qemu.readthedocs.io/en/latest/system/monitor.html
- "Keys in the character backend multiplexer": https://www.qemu.org/docs/master/system/mux-chardev.html ("Ctrl-a h", "Ctrl-a t", "Ctrl-a c", "Ctrl-a x"), https://qemu.readthedocs.io/en/latest/system/mux-chardev.html
- "Introduction": https://www.qemu.org/docs/master/system/introduction.html ("QEMU provides a number of management interfaces including a line based Human Monitor Protocol (HMP) that allows you to dynamically add and remove devices as well as introspect the system state.")
- "Security": https://www.qemu.org/docs/master/system/security.html ("Monitor console (QMP and HMP)", "The general recommendation is that the monitor console should be exposed over a UNIX domain socket backend to the local host only."), https://qemu.readthedocs.io/en/latest/system/security.html
- "QemuDiskHotplug": https://wiki.ubuntu.com/QemuDiskHotplug and
- "QEMU Human Monitor Interface, Example Usage": https://web.archive.org/web/20180104171638/nairobi-embedded.org/qemu_monitor_console.html ("Nographic Mode")
- Check the apps: https://www.virustotal.com/gui/home/url ("OPSWAT. MetaDefender Cloud"), https://metadefender.opswat.com ("VirusTotal")
- darkhttpd: When you need a web server in a hurry.: https://github.com/emikulic/darkhttpd (@emikulic), https://unix4lyfe.org/darkhttpd/ ("darkhttpd" "When you need a web server in a hurry.")
- Apk Analyzer (Martin Styk, sk.styk.martin.apkanalyzer): https://github.com/MartinStyk/AndroidApkAnalyzer (@MartinStyk), https://play.google.com/store/apps/details?id=sk.styk.martin.apkanalyzer
- Chmod calculator (Bonaventura Novellino, com.chmod.calc.o): https://play.google.com/store/apps/details?id=com.chmod.calc.o
- Device Info HW (Andrey Efremov, ru.andr7e.deviceinfohw): https://play.google.com/store/apps/details?id=ru.andr7e.deviceinfohw
- Files (Marc apps & software, com.marc.files): https://play.google.com/store/apps/details?id=com.marc.files
- Firefox Beta: (mozilla-mobile. org.mozilla.firefox_beta): https://github.com/mozilla-mobile/firefox-android (@mozilla-mobile), https://www.mozilla.org/en-US/firefox/browsers/mobile/
- Hash Droid (Hobby One, com.hobbyone.HashDroid): https://f-droid.org/en/packages/com.hobbyone.HashDroid/ , https://github.com/HobbyOneDroid/HashDroid (@HobbyOneDroid), https://play.google.com/store/apps/details?id=com.hobbyone.HashDroid
- Material Files (Hai Zhang, me.zhanghai.android.files): https://github.com/zhanghai/MaterialFiles (@zhanghai), https://play.google.com/store/apps/details?id=me.zhanghai.android.files
- MiX Image (Hootan Parsa, com.mixplorer.addon.image): https://forum.xda-developers.com/t/app-2-2-mixplorer-v6-x-released-fully-featured-file-manager.1523691/ ("Downloads")
- MiX PDF (Hootan Parsa, com.mixplorer.addon.pdf): https://forum.xda-developers.com/t/app-2-2-mixplorer-v6-x-released-fully-featured-file-manager.1523691/ ("Downloads")
- Primitive FTPd (wolpi, org.primftpd): https://github.com/wolpi/prim-ftpd (@wolpi), https://play.google.com/store/apps/details?id=org.primftpd
- RealCalc Scientific Calculator (Quartic Software, uk.co.nickfines.RealCalc): https://play.google.com/store/apps/details?id=uk.co.nickfines.RealCalc
- Simple HTTP Server (Phlox Development, com.phlox.simpleserver): https://play.google.com/store/apps/details?id=com.phlox.simpleserver
- Termux:GUI (termux, com.termux.gui): https://github.com/termux/termux-gui (@termux), https://play.google.com/store/apps/details?id=com.phlox.simpleserver
- USB Device Info (Alexandros Schillings, aws.apps.usbDeviceEnumerator): https://play.google.com/store/apps/details?id=aws.apps.usbDeviceEnumerator