nvme sanitize command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I would like to add a nvme sanitize command to the barebox. Something like "nvme sanitize" where at first the only option is block erase.
I have a level of understanding on how admin commands are passed to the device through the /drivers/nvme/host/[core.c|pci.c.]
Looking at the parted command, I am not sure how it goes from the command call to the partition layer support (EFI or DOS) to the driver.

I see that Linux make use of an ioctl to trigger the sanitize command. 
How would you approach the introduction of this new command?
Any help is appreciated.

Renaud








[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux