On Sun 12 Nov 2023 at 18:27:20 (+0000), Andy Smith wrote:
> On Sun, Nov 12, 2023 at 07:03:41PM +0100, Hans wrote:
> > I want to dd it automatically like
> > 
> > dd if=/path/to/my/image.iso of=UUID=34567890-afde-.....-1234 
> 
> If your use case is writing an ISO file directly to a USB device (no
> partitioning) then I'd think you could use the ID of the USB stick
> to mount it in future. You can find these in /dev/disk/by-id and it
> will remain the same for the life of that stick.

I would agree with that, though there is one thing you should check
first, and that is that you're not using one of a set of identical
USB sticks that have the same ID (or, if you are, that you have some
physical means of distinguishing between them).

Cheers,
David.

Reply via email to