xref: /aosp_15_r20/external/sg3_utils/examples/reassign_addr.txt (revision 44704f698541f6367e81f991ef8bb54ccbf3fc18)
1*44704f69SBart Van Assche# This file is an example for the sg_reassign utility.
2*44704f69SBart Van Assche# That utility can take one or more logical block addresses from stdin when
3*44704f69SBart Van Assche# either the '--address=-" or "-a -" option is given on the command line.
4*44704f69SBart Van Assche
5*44704f69SBart Van Assche# To see logical block addresses placed in the command parameter block
6*44704f69SBart Van Assche# without executing them command try something like:
7*44704f69SBart Van Assche# 'sg_reassign --address=- --dummy -vv /dev/sda < reassign_addr.txt
8*44704f69SBart Van Assche
9*44704f69SBart Van Assche1,34,0x33,0X444  0x89abcde	0xdeadbeef  	# 6 lba's
10*44704f69SBart Van Assche
11*44704f69SBart Van Assche# dpg 20070130
12