Yes been referencing that, thanks for confirmation. -----Original Message----- From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of Liu, Changpeng Sent: Friday, March 22, 2019 12:24 AM To: Storage Performance Development Kit Subject: Re: [SPDK] nvme format Hi Tom, You can refer to the code in examples/nvme/nvme_mange.c, this tool can format the NVMe drives similar with nvme-cli. > -----Original Message----- > From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of Nabarro, > Tom > Sent: Thursday, March 21, 2019 9:08 PM > To: Storage Performance Development Kit > Subject: [SPDK] nvme format > > I'm looking for a mechanism to wipe device through spdk roughly > equivalent to nvme-cli "nvme format". Will spdk_nvme_ctrlr_format suffice? > > Tom > > --------------------------------------------------------------------- > Intel Corporation (UK) Limited > Registered No. 1134945 (England) > Registered Office: Pipers Way, Swindon SN3 1RJ VAT No: 860 2173 47 > > This e-mail and any attachments may contain confidential material for > the sole use of the intended recipient(s). Any review or distribution > by others is strictly prohibited. If you are not the intended > recipient, please contact the sender and delete all copies. > _______________________________________________ > SPDK mailing list > SPDK(a)lists.01.org > https://lists.01.org/mailman/listinfo/spdk _______________________________________________ SPDK mailing list SPDK(a)lists.01.org https://lists.01.org/mailman/listinfo/spdk --------------------------------------------------------------------- Intel Corporation (UK) Limited Registered No. 1134945 (England) Registered Office: Pipers Way, Swindon SN3 1RJ VAT No: 860 2173 47 This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.