summaryrefslogtreecommitdiffstats
path: root/Documentation/nvme-transcend-badblock.txt
blob: 9b6f67161c1458c2b26af88dd40b574b56cb3dfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
nvme-transcend-badblock(1)
==========================

NAME
----
nvme-transcend-badblock - Retrieve Transcend NVMe device's bad blocks.

SYNOPSIS
--------
[verse]
'nvme transcend badblock' <device> 

DESCRIPTION
-----------
For the NVMe device given, sends the Transcend vendor command and return the bad block of the device.

The <device> parameter is mandatory and may be either the NVMe character
device (ex: /dev/nvme0), or a namespace block device (ex: /dev/nvme0n1).

On success, the returned value would print the amount of bad blocks.

OPTIONS
-------
none

EXAMPLES
--------
* Print the Transcend device's bad blocks in a human readable format:
+
------------
# nvme transcend badblock /dev/nvme0
------------

NVME
----
Part of the nvme-user suite