I created one partition and I wanted to mount that partition to this directory /home/max/VirtualBox VMs
I wrote this line in fstab:
/dev/sda4 /home/max/VirtualBox\ VMs ext4 defaults 0 0
but it's giving this error
[mntent]: line 16 in /etc/fstab is bad
I know I am getting this error because of space in between 'virtualBox VMs'
Is it possible to mount to that Directory?
[max@localhost VirtualBox VMs]$ pwd /home/max/VirtualBox VMs
Best Answer
Use quote marks.