find the UUID with lsblk -o UUID,NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL,MODEL
Make sure you create /home/pi/shared
first.
#this is a network share with no authentication
//192.168.50.1/MACOZ-240 /mnt/shared cifs username=guest,password=,vers=1.0,_netdev 0 0
#this is a fat32 drive attached to USB
UUID=XYZ-123 /home/pi/shared vfat defaults,auto,users,rw,nofail,umask=000,x-systemd.device-timeout=3 0 0