User data path
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
Re: User data path
Yep, you can symlink the old mount location to the new one:jram wrote: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
Code: Select all
ln -sf /mnt/NEW_UUID /mnt/PREVIOUS_UUID
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.