Reflect btrfs additions in example_output, now working properly

This commit is contained in:
Josh Hansen 2023-09-27 14:25:27 -07:00
parent 2c89984b50
commit 6399aabb66

View file

@ -74,4 +74,64 @@ Initialized ./people2/5
+ mkdir ./empty
+ /home/josh/Projects/Ghee/target/debug/ghee status ./empty
No table found
+ dd if=/dev/zero of=./ghee-btrfs.img bs=1024 count=114000
114000+0 records in
114000+0 records out
116736000 bytes (117 MB, 111 MiB) copied, 0.822232 s, 142 MB/s
+ mkfs.btrfs -L ghee-example --rootdir ./empty ./ghee-btrfs.img
btrfs-progs v6.2
See http://btrfs.wiki.kernel.org for more information.
NOTE: several default settings have changed in version 5.15, please make sure
this does not affect your deployments:
- DUP for metadata (-m dup)
- enabled no-holes (-O no-holes)
- enabled free-space-tree (-R free-space-tree)
Making image is completed.
Label: ghee-example
UUID: 92e8c225-f0c9-4d27-bf97-70cf4284e725
Node size: 16384
Sector size: 4096
Filesystem size: 111.33MiB
Block group profiles:
Data: single 8.00MiB
Metadata: DUP 32.00MiB
System: DUP 8.00MiB
SSD detected: no
Zoned device: no
Incompat features: extref, skinny-metadata, no-holes
Runtime features: free-space-tree
Checksum: crc32c
Number of devices: 1
Devices:
ID SIZE PATH
1 111.33MiB ./ghee-btrfs.img
+ mkdir ./btrfs
+ sudo mount -o loop ./ghee-btrfs.img ./btrfs
+ cd ./btrfs
+ sudo chown josh:josh .
+ /home/josh/Projects/Ghee/target/debug/ghee status .
No table found
+ /home/josh/Projects/Ghee/target/debug/ghee create -v -k toppings ./pizza
Initialized table ./pizza with key: user.toppings
+ /home/josh/Projects/Ghee/target/debug/ghee status ./pizza
+./pizza
+ /home/josh/Projects/Ghee/target/debug/ghee touch ./pizza/olive
+ /home/josh/Projects/Ghee/target/debug/ghee status ./pizza
+./pizza
+./pizza/olive
+ /home/josh/Projects/Ghee/target/debug/ghee commit -m Add olive pizza ./pizza
+ /home/josh/Projects/Ghee/target/debug/ghee status ./pizza
+ /home/josh/Projects/Ghee/target/debug/ghee touch ./pizza/pepperoni
+ echo Olives are good on pizza
+ /home/josh/Projects/Ghee/target/debug/ghee set -s yumminess=5 ./pizza/olive
+ /home/josh/Projects/Ghee/target/debug/ghee status ./pizza
m./pizza/olive
+./pizza/pepperoni
+ /home/josh/Projects/Ghee/target/debug/ghee commit -m Add pepperoni; add details to olive ./pizza
+ /home/josh/Projects/Ghee/target/debug/ghee status ./pizza
+ cd ..
+ sudo umount ./btrfs
+ cd ..