Setting Up a RAM Disk on a Raspberry Pi 4

CanaKit Raspberry Pi 4 (4GB) Starter Kit (Amazon Affiliate)
US: https://amzn.to/3azJgrW
UK: https://amzn.to/2JdMq9o
CA: https://amzn.to/3bwiRvY
ES: https://amzn.to/2T06LnM (similar)
FR: https://amzn.to/3cvIZrs (similaire)
IT: https://amzn.to/2Ar74Sj (simile)
DE: https://amzn.to/2AqfWHQ (ähnlich)
IN: https://amzn.to/3ey6fWj
AU: https://amzn.to/2VTUt1C
NL: https://amzn.to/3f5NdsD (vergelijkbaar)

Check for Free RAM
free
Remove Swap
sudo dphys-swapfile swapoff
sudo dphys-swapfile uninstall
sudo update-rc.d dphys-swapfile remove
sudo apt purge dphys-swapfile
Create Mount Point
sudo mkdir -p /mnt/ramdisk
Change Permissions
sudo chown -R pi:pi /mnt/ramdisk
Create RAM Disk
sudo mount -osize=2G -t tmpfs tmpfs /mnt/ramdisk
Benchmark
cd /mnt/ramdisk
dd if=/dev/zero of=temp.txt bs=1M count=1024
dd if=temp.txt of=/dev/null bs=1M count=1024
Unmount Ram Disk
sudo umount /mnt/ramdisk
Make Ram Disk Automatic on Boot
sudo nano /etc/fstab
tmpfs /mnt/ramdisk tmpfs defaults,noatime,mode=755,uid=pi,gid=pi,size=2g 0 0

Type control-o to save and control-x to exit.

Test fstab
sudo mount -a

QNAP Qsync Pro for Android Basic Setup

QNAP TS-453Be (Amazon Affiliate)
US: https://amzn.to/2T6JiCc
UK: https://amzn.to/39VhU0e
CA: https://amzn.to/35DjLDa
ES: https://amzn.to/2zFrBCy
FR: https://amzn.to/3dfSGKY
DE: https://amzn.to/2RYjw1U
IT: https://amzn.to/3exclGO
IN: https://amzn.to/2PkrssM
AU: https://amzn.to/2ZRaMOa

(x4) WD RED WD40EFRX CMR* (Amazon Affiliate)
US: https://amzn.to/3ewSHvC
UK: https://amzn.to/354lcOk
CA: https://amzn.to/3l5syGK
DE: https://amzn.to/2IfafjF
ES: https://amzn.to/2TXqa99
FR: https://amzn.to/35178VF
IT: https://amzn.to/32fNx28
IN: https://amzn.to/3l5X6bh
AU: https://amzn.to/2JCUyn7

* Please verify that you have chosen the WD40EFRX (CMR) model when ordering. Also check that you got the correct drives when your order arrives. Avoid the WD40EFAX SMR models!

Crucial 16GB (8GBx2) RAM CT2K8G3S186DM (Amazon Affiliate)
US: https://amzn.to/35TmsB1
UK: https://amzn.to/35Pvsa5
CA: https://amzn.to/2thVWUy
ES: https://amzn.to/2VgoecJ
FR: https://amzn.to/2NoBZSv
IT: https://amzn.to/2VgwIkb
DE: https://amzn.to/3avuVwe (HX318LS11IB/8)
IN: https://amzn.to/37Y1Fgz
AU: https://amzn.to/2CGypRH

QNAP Playlist: https://www.youtube.com/playlist?list=PLErU2HjQZ_ZPX505_znSLtZE7Z42m6DEK

How many Floppies can a microSD Card Hold?

Samsung vs SanDisk High Endurance Cards in Raspberry Pi 4: https://youtu.be/-gTLpf2WUYY

mediacapacitybyteskilobytesmegabytesgigabytesgrams
sony3.5” floppy1.44MB147456014401.406250.00137329101562519
panasonicsd card8MB679936066406.4843750.0063323974609381.83
samsungmicrosd card128GB128043712512125042688122112119.250.25
How many floppies on a 8MB SD card?4.61111111111111
How many floppies on a 128GB microSD card?86835.2
How many 8MB SD cards on 128GB microSD card?18831.7301204819
How many floppies in 1.83g of SD card?47.8749241044323
How many floppies in 19g of microSD card?6599475.2
Weight of floppies (grams)?125390028.8
Weight of floppies (kilograms)?125390.0288
Weight of floppies (pounds)?276189.490748899
Weight of floppies (tons)?138.094745374449

Samsung PRO Endurance 128GB microSD Card MB-MJ128GA/AM (Amazon Affiliate)
US: https://amzn.to/3bDvxBC
UK: https://amzn.to/3jDPlcv
CA: https://amzn.to/3aA1ZU0
DE: https://amzn.to/32M2IRQ
ES: https://amzn.to/30GmOdu
FR: https://amzn.to/31ScBN9
IT: https://amzn.to/2ABGWEz
IN: https://amzn.to/32N8OkZ
AU: https://amzn.to/2Z8m4OX