Set USB Disk default data directory during install

Hi to all,
is there a method to format the usb disk (ext4) and set it like the default data directory before software install in automatic mode?
Thank you!

Daniele

Hi,

Not currently. We did plan for this in the past, but we decided against it to prevent users accidentally overwriting a USB HDD with existing data.

Hi and thank you very much for your reply.

Isn’t possible to add manually this function in dietpi.config or in a custum script?

Thank you

Daniele