I am trying to find a way to get any unique identifier for each USB disk. Currently, I got the following options, but all of them are "alterable" by user, I need an ID which is non-alterable by user and can work for all USB disk under Linux.
1. disk identifier by using fdisk -l, but it seems will be changed once user re-partition the USB.
2. UUID by using vol_id --uuid OR blkid, but it also can be changed by tune2fs command.
3. usb_id, which is a command come with udev, but it seems not work on some USB disk.
Does anyone know other possible way?