add dry-run mode and -u|--uuid for disk uuid instead of hard-coded sdN #16

Open
hominhquan wants to merge 7 commits from hominhquan/master into master
hominhquan commented 2015-07-26 22:01:14 +02:00 (Migrated from github.com)

It's to have:
(1) -n|--dry-run in RSYNC_OPTIONS
(2) -u|--uuid indicating a disk UUID instead of hard-coded sdN (in case of using cron job and disk table changed after power down => very very dangerous).
Using blkid command to query disk label based on UUID is more tolerant.

It's to have: (1) -n|--dry-run in RSYNC_OPTIONS (2) -u|--uuid indicating a disk UUID instead of hard-coded sdN (in case of using cron job and disk table changed after power down => very very dangerous). Using blkid command to query disk label based on UUID is more tolerant.
This pull request has changes conflicting with the target branch.
  • rpi-clone
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin hominhquan/master:hominhquan/master
git checkout hominhquan/master
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Lerking/rpi-clone#16