XPost: comp.mobile.android, alt.comp.os.windows-11
On 2025-02-04 21:28, Marion wrote:
...
However... with all magic... comes complexity (of understanding)...
In another thread, an offshoot revealed that even if you change the volume name (aka volume label) of your portable storage sdcard, while Android apps can use either the old volume name or the new volume name (apparently), the question is why didn't Windows format *completely* change the Volume Name?
No, it is not the old label, but the UUID, which in Windows is kept
short, not using the 128 bits. It is possibly the same as the label, or
at least in the same style.
For instance, in Linux you can use "tune2fs" to write the uuid of an
ext4 partition.
-U UUID
Set the universally unique identifier
(UUID) of the file system to UUID. The
format of the UUID is a series of hex
digits separated by hyphens, like this:
"c1b9d5a2-f162-11cf-9ece-0020afc76f16".
The UUID parameter may also be one of
the following:
clear clear the file system UUID
random generate a new randomly-gen-
erated UUID
time generate a new time-based
UUID
The UUID may be used by mount(8),
fsck(8), and /etc/fstab(5) (and possibly
others) by specifying UUID=uuid instead
of a block special device name like
/dev/hda1.
See uuidgen(8) for more information. If
the system does not have a good random
number generator such as /dev/random or
/dev/urandom, tune2fs will automatically
use a time-based UUID instead of a ran-
domly-generated UUID.
So, the Windows format command should create the uuid randomly, and
perhaps allows to change it.
I suggest you find a command to at least display the uuid in Windows,
and then format an usb mem stick to check what happens to it.
Maybe here: <
https://stackoverflow.com/questions/70770357/how-can-i-get-the-guid-of-my-disc-partitions>
There is a sample code using Delphi, and some possibilities using the
Power Shell.
--
Cheers, Carlos.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)