I've created a file and formated it.
# fallocate -l 1g /foo.img # mkfs -t ext4 /foo.img
I can mount it using
# mount /foo.img /bar
But how can I make it permanent?
/etc/fstab
/etc/fstab
; you don't need the UUID bit, just specify the path directly. – muru Jul 18 '17 at 08:05