2022-05-05

Linux exFAT file system

$ sudo apt install exfatprogs
$ sudo apt autoremove
$ sudo mkfs.exfat -L DDBAK /dev/sda2
$ sudo mkdir /mnt/bak

$ echo '/dev/sda2 /mnt/bak exfat defaults,nosuid,nodev,gid=24,fmask=0007,dmask=0007,uhelper=udisks2 0 0' | sudo tee -a /etc/fstab

$ sudo mount /mnt/bak/

$ mount | grep /dev/sda2
/dev/sda2 on /mnt/bak type exfat (rw,nosuid,nodev,relatime,gid=24,fmask=0007,dmask=0007,allow_utime=0020,iocharset=utf8,errors=remount-ro,uhelper=udisks2)

 

Linux swap file

$ sudo fallocate -l 8g /mnt/8GiB.swap
$ sudo chmod 600 /mnt/8GiB.swap
$ sudo mkswap /mnt/8GiB.swap
$ sudo swapon /mnt/8GiB.swap
$ cat /proc/swaps
$ echo '/mnt/8GiB.swap swap swap defaults 0 0' | sudo tee -a /etc/fstab

$ sudo reboot

$ free -h

Watch battery (Wenger)

371 - 9,5x2mm, 1,55V, 35mAh (V371, D371, 280-31, SB-AN, SR921, SR69, SR920SW)
370 - 9,5x2mm, 1,55V, 40mAh (V370, D370, 280-51, SB-BN, SR921, SR69, SR920W)