User data path

I had a great install of DietPi working and had configured my userdata to be stored on usb_1. However, I had an ‘event’ that resulted in corruption of my SD card and had to start again. When configuring the path to the same usb stick - it no is identified by a very long number with the result that all the paths I had set up for cron jobs etc need to be changed. Is there any way of identifying that USB stick as it was originally? Thx

Yep, you can symlink the old mount location to the new one:

 ln -sf /mnt/NEW_UUID /mnt/PREVIOUS_UUID

Brilliant :slight_smile: Thx