lsblk # list block devices
fdisk -l # partition table
mkfs.ext4 /dev/sdb1 # format partition
# Mount
mount /dev/sdb1 /mnt/data
mount -t tmpfs tmpfs /tmp
# Permanent mount — /etc/fstab
# UUID=xxxx /mnt/data ext4 defaults 0 2
umount /mnt/data