On Fri, 09 Aug 2013 09:58:19 -0400 (EDT), Klaus Jantzen wrote: > > by "some magic" the partitions on a HDD receive a block-id > or UUID (for fstab). > > Does the ID of a partition change when the partition is moved > or when a new partition is created in the unallocated space > between two partitions? > > Thanks for any info.
The UUID is assigned when the partition is formatted, not when it is allocated. Commands such as mke2fs or mkswap do the formatting. Moving or resizing a partition will not change its UUID, nor will allocating or deallocating another partition in any location. However, reformatting the partition will normally change its UUID unless the old UUID is explicitly specified as an option during formatting. For example, I've heard, though I have not personally verified it, that the Ubuntu installer has a habit of reformatting swap partitions during installation that were originally created by the Debian installer, thus messing up the Debian system's use of the swap partitions. -- .''`. Stephen Powell : :' : `. `'` `- -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/1782814833.2585471.1376231789082.javamail.r...@md01.wow.synacor.com

