[PR #369] [MERGED] get_size_gb() calculation error for 20GB HDDs. #406

Closed
opened 2026-03-07 19:18:11 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/007revad/Synology_HDD_db/pull/369
Author: @planetrocky
Created: 10/19/2024
Status: Merged
Merged: 10/19/2024
Merged by: @007revad

Base: mainHead: main


📝 Commits (1)

  • d684e3f get_size_gb() calculation error for 20GB HDDs.

📊 Changes

1 file changed (+3 additions, -5 deletions)

View changed files

📝 syno_hdd_db.sh (+3 -5)

📄 Description

Increased precision of GiB to GB, 2^30 / 1e9 = 1.073741824

#368


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/007revad/Synology_HDD_db/pull/369 **Author:** [@planetrocky](https://github.com/planetrocky) **Created:** 10/19/2024 **Status:** ✅ Merged **Merged:** 10/19/2024 **Merged by:** [@007revad](https://github.com/007revad) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`d684e3f`](https://github.com/007revad/Synology_HDD_db/commit/d684e3f6eefffca38f0adbc127fbd99ae4b05069) get_size_gb() calculation error for 20GB HDDs. ### 📊 Changes **1 file changed** (+3 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `syno_hdd_db.sh` (+3 -5) </details> ### 📄 Description Increased precision of GiB to GB, 2^30 / 1e9 = 1.073741824 #368 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-07 19:18:11 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Synology_HDD_db#406
No description provided.