makingglitches / GooglePhotoDownload

Connects to Google Photos and downloads all content, keeping track of original data on disk and moving files only on the computer and already on server to respective directories, and tries to download the entire collection and store size info for quicker startup as well as original file sizes of those on disk, downloading the files still on disk first so they can be freed up. Supports multiple user accounts. Its just a better mousetrap. Google Takeout prepares whole archives of photos, this allows you to download them separately and keep track of some statistics as well on space usage.
6 stars 4 forks source link

Add recognition of mount point by partition UUID #55

Open makingglitches opened 2 years ago

makingglitches commented 2 years ago

Do disk images have ID's ?

In creating a test

dd if=/dev/zero of=test1.img mkfs -t ext4 test1.img

a blkid command ran on the image file produced the same result as when it is mounted against a loop device.

eg

mount test1.img /mntpt or losetup /dev/loopx test1.img mount /dev/loopx /mntpt

the blkid output is currently being drawn into MountInfo and the UUID of this command indicates the specific partition, apparently the PARTUUID is the filesystem. not all files or parts seem to have this.