__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# sg_unmap_example.txt
# This is an example of the contents of a file that can be given to sg_unmap
# For example, assume the /dev/sdc is a scratch disk (e.g. one made by the
# scsi_debug kernel module) then:
# sg_unmap --in=sg_unmap_example.txt /dev/sdc
0x12345677,1 # unmap LBA 0x12345677
0x12345678 2 # unmap LBA 0x12345678 and 0x12345679
0x12340000 3333 # unmap 3333 blocks starting at LBA 0x12340000
0X5a5a5a5a5a 0 # unmaps 0 blocks (i.e. does nothing)
a5a5a5h
7 # unmap 7 blocks starting at LBA 0xa5a5a5
# Note that there can be leading and trailing whitespace and whitespace
# (plus comma) can be a separator.
#
# Example invocation:
# $ sg_unmap --in=../examples/sg_unmap_example.txt -vv /dev/sdc
# open /dev/sg2 with flags=0x802
# unmap cdb: 42 00 00 00 00 00 00 00 58 00
# unmap parameter list:
# 00 56 00 50 00 00 00 00 00 00 00 00 12 34 56 77
# 00 00 00 01 00 00 00 00 00 00 00 00 12 34 56 78
# 00 00 00 02 00 00 00 00 00 00 00 00 12 34 00 00
# 00 00 0d 05 00 00 00 00 00 00 00 5a 5a 5a 5a 5a
# 00 00 00 00 00 00 00 00 00 00 00 00 00 a5 a5 a5
# 00 00 00 07 00 00 00 00
# sg_cmds_process_resp: slen=18
# unmap: Fixed format, current; Sense key: Illegal Request
# Additional sense: Invalid command operation code
# Raw sense data (in hex):
# 70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00
# 00 00
# UNMAP not supported
#
# --------------------------------------------------------
# Notice the 8 byte header then 5 descriptors in the parameter
# list
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| archive | Folder | 0755 |
|
|
| Makefile | File | 3.08 KB | 0644 |
|
| Makefile.freebsd | File | 1.98 KB | 0644 |
|
| README | File | 776 B | 0644 |
|
| forwarded_sense.txt | File | 296 B | 0644 |
|
| nvme_dev_self_test.hex | File | 806 B | 0644 |
|
| nvme_identify_ctl.hex | File | 1.17 KB | 0644 |
|
| nvme_read_ctl.hex | File | 1.79 KB | 0644 |
|
| nvme_write_ctl.hex | File | 1.8 KB | 0644 |
|
| reassign_addr.txt | File | 465 B | 0644 |
|
| ref_sense.txt | File | 305 B | 0644 |
|
| scsi_inquiry.c | File | 4.09 KB | 0644 |
|
| sdiag_sas_p0_cjtpat.txt | File | 405 B | 0644 |
|
| sdiag_sas_p0_prbs9.txt | File | 407 B | 0644 |
|
| sdiag_sas_p1_cjtpat.txt | File | 464 B | 0644 |
|
| sdiag_sas_p1_idle.txt | File | 560 B | 0644 |
|
| sdiag_sas_p1_prbs15.txt | File | 408 B | 0644 |
|
| sdiag_sas_p1_stop.txt | File | 359 B | 0644 |
|
| sg__sat_identify.c | File | 7.55 KB | 0644 |
|
| sg__sat_phy_event.c | File | 12.02 KB | 0644 |
|
| sg__sat_set_features.c | File | 9.7 KB | 0644 |
|
| sg_compare_and_write.txt | File | 2.42 KB | 0644 |
|
| sg_excl.c | File | 5.98 KB | 0644 |
|
| sg_persist_tst.sh | File | 3.54 KB | 0755 |
|
| sg_sat_chk_power.c | File | 8.95 KB | 0644 |
|
| sg_sat_smart_rd_data.c | File | 6.4 KB | 0644 |
|
| sg_simple1.c | File | 5.87 KB | 0644 |
|
| sg_simple16.c | File | 3.41 KB | 0644 |
|
| sg_simple2.c | File | 6.59 KB | 0644 |
|
| sg_simple3.c | File | 6.46 KB | 0644 |
|
| sg_simple4.c | File | 7.25 KB | 0644 |
|
| sg_simple5.c | File | 7.47 KB | 0644 |
|
| sg_unmap_example.txt | File | 1.53 KB | 0644 |
|
| sgq_dd.c | File | 37.77 KB | 0644 |
|
| transport_ids.txt | File | 1.1 KB | 0644 |
|