Good morning @ everyone,
My new hardware is assembled and set up - including a brand-new NVMe-SSD and a new HDD. Before installing any OS, I want to sterilize both drives (that is, making sure that there really is no malware or trojan or [whatever that s*** is called] is pre-installed on them) by wiping them completely empty.
I already performed badblocks and ATA Secure Erase on the HDD - I did not have the courage to perform "SANITIZE Overwrite", because it appears to be more dangerous than the former command.
Now, I want to do the same with the SSD, but because it's a NVMe/PCIe drive, I cannot use neither ATA SE/ESE nor "SANITIZE Block Erase" commands on it, because those are for SATA-based devices (HDDs, SSDs) only - I have to use nvme-cli instead.
I can get nvme-cli either by fetching it from AUR repository via command line or by installing it directly from it's source files via command line. Because I don't want to expose my brand-new PC to the Internet (that I'll do after the OS is installed), I decided for the latter method.
So, I gathered the nvme-cli source from here as .zip file ("nvme-cli-master.zip"), placed it on external media, inserted the external drive into my NEW computer and copied the afore-mentioned .zip to home/manjaro/Downloads, unpacked it to a folder with the same name ("nvme-cli-master") in the same directory, opened up the Terminal, logged myself as Superuser and directed the path to the root of the unpacked folder (cd home/manjaro/Downloads/nvme-cli-master).
Important note: Manjaro is run as live-session from DVD without being installed to a physical drive (yet).
According to the readme file, simply running make && make install is really enough to install nvme-cli from source. So, I typed "make && make install" (without quotes) in the terminal and hit Enter.
In the beginning, the command seemed to work and nvme-cli appeared to be compiled, but eventually, terminal returned an error message at the end:
(I translate the error message from German to English as good as I can)
Error: Output of >>%s<<-Directive could be cut off, while writing of up to 259 Bytes into a region between 255 and 514 in size [-Werror=format-truncation=]
make: *** [Makefile:59: plugins/netapp/netapp-nvme.o] Error 1
(the above text is an exerpt only! I didn't write down the entire message output, only the passages I perceived to be important or relevant)
Hope, someone can walk me through...