From: Kern Sibbald Date: Sat, 3 Jan 2009 17:16:41 +0000 (+0000) Subject: Update X-Git-Tag: Release-5.0.3~824 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c4a3114928e1448f9ff6d749ba5f94f81b3ed8ff;p=bacula%2Frescue Update --- diff --git a/rescue/linux/usb/README.usb b/rescue/linux/usb/README.usb index f2f914c..dcae47b 100644 --- a/rescue/linux/usb/README.usb +++ b/rescue/linux/usb/README.usb @@ -11,11 +11,24 @@ After editing the config file, run: ./partition_usb_key -Note, this script assumes that you have a 3GB or bigger key. It -may work for a 2GB key, but you might want to reduce the size of -the second partition. +Note, this script will destroy *all* data on the key, and assumes +that you have a 3GB or bigger key. It may work for a 2GB key, +but you might want to reduce the size of the second partition. -This script creates three partitions: +==== +If you ever want to put the key back to its prior state, *before* +running the partition_usb_key, you might consider doing a: + + sfdisk -d /dev/key-device >save_me + +where key-device is the key device name (e.g. sda). The +output file can be fed back into sfdisk to recreate the original +with: + + sfdisk /dev/key-device