In Linux, you would typically edit the /etc/fstab file to mount filesystems.
The /etc/fstab file is a configuration file that contains information about filesystems that are mounted automatically at boot time or manually with the mount command. Each line in the file corresponds to a filesystem, and specifies the device, mount point, filesystem type, mount options, dump frequency, and file system check order.
To add a new filesystem to be mounted at boot time, you would add a new line to the /etc/fstab file specifying the necessary information about the filesystem. For example:
/dev/sdb1 /mnt/data ext4 defaults 0 2
This line specifies that the device /dev/sdb1 (which could be a hard drive or other storage device) should be mounted at the mount point /mnt/data, using the ext4 filesystem type, with default mount options. The last two fields specify the dump frequency and file system check order for the filesystem.
Once you’ve made changes to the /etc/fstab file, you can mount all the filesystems listed in the file by running the mount -a command.