需要查找macbook pro的硬盘序列号信息,找了好几个帖子,发现都不见效,需要花费时间找的东西都有必要记录下来,防止下次重复浪费时间。
macbook pro macos版本:

根据百度提供的方法,并不能得到相应的效果,原因如下:
- 不知道是不是最新更新了mac os系统的原因,找不到系统偏好设置了:

2 点击system information进入硬件信息界面,并不能如预期看到SATA序列号,而是"This computer doesn't contain any Serial ATA devices. If you installed Serial ATA devices, make sure they are connected properly and powered on."

为了查找硬盘序列号,装三方垃圾软件看,是不可能的,于是想到用命令行的方法,试了这个方法,结果如下:

ioreg -rd1 -w0 -c IONVMeBlockStorageDevice | grep "Device Characteristics"
就上面这个命令查出来一个序列号。。。(命令的详细作用可在命令行使用 man ioreg 查看)