summaryrefslogtreecommitdiff
path: root/doc/todo
diff options
context:
space:
mode:
authorJoey Hess2018-01-07 17:11:12 -0400
committerJoey Hess2018-01-07 17:11:12 -0400
commit9ae87002690eb6b44768f40496c3708891698afe (patch)
treeb01a6e546ae17c1e8fbe5cd545af0952b0b3eaec /doc/todo
parent4e65470f723b81bc9adad11d47ebe5929e353a9d (diff)
PTUUID
Diffstat (limited to 'doc/todo')
-rw-r--r--doc/todo/removable_drive_partitioning_and_install.mdwn17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/todo/removable_drive_partitioning_and_install.mdwn b/doc/todo/removable_drive_partitioning_and_install.mdwn
index ac270109..e88673c3 100644
--- a/doc/todo/removable_drive_partitioning_and_install.mdwn
+++ b/doc/todo/removable_drive_partitioning_and_install.mdwn
@@ -25,12 +25,29 @@ Open design questions:
Question: When using microsd card adapter, does the serial number pass
through so different microsds can be distinguished?
+
> Checked this, and two microsd card adapters from different
> manufacturers with different microsd cards have the same by-id.
> Those must have no serial number..
>
> Also, a USB SD/microSD reader had the same by-id for multiple cards.
+ > > For disks with a MBR, there's a disk identifier / volume id,
+ > > which should uniquely identify that disk,
+ > > as long as propellor does not overwrite the MBR when imaging it.
+ > > And, GPT has a similar disk GUID.
+ > >
+ > > /dev/disk/by-partuuid exposes this. Some documentation suggests
+ > > it's GPT-only, but my laptop is not GPT and its MBR disk identifier
+ > > shows up there. Oddly, that points to /dev/sda1 and not /dev/sda.
+ > >
+ > > blkid can also display it, as the PTUUID, which works for
+ > > both GPT and MBT.
+ > > --[[Joey]]
+
+ root@darkstar:/home/joey>blkid /dev/sda
+ /dev/sda: PTUUID="d0497bc6" PTTYPE="dos"
+
* Should an already imaged drive be updated incrementally or re-imaged?
Seems both cases would be useful, the former especially for incrementally
configuring it, the latter to bring it up from a clean state.