导航:首页 > 编程系统 > linuxfirmware参数

linuxfirmware参数

发布时间:2025-01-28 08:31:13

A. linux怎么查看硬盘型号等信息

hdparm -i /dev/hda

显示硬盘的相关设置
[root@cnscn ~]# hdparm /dev/sda
/dev/sda:
IO_support = 0 (default 16-bit)
readonly = 0 (off)
readahead = 256 (on)
geometry = 19929[柱面数]/255[磁头数]/63[扇区数], sectors = 320173056[总扇区数], start = 0[起始扇区数]

.显示硬盘的柱面、磁头、扇区数
[root@cnscn ~]# hdparm -g /dev/sda
/dev/sda:
geometry = 19929[柱面数]/255[磁头数]/63[扇区数], sectors = 320173056[总扇区数], start = 0[起始扇区数]

.评估硬盘的读取效率
[root@cnscn ~]# hdparm -t /dev/sda
/dev/sda:
Timing buffered disk reads: 166 MB in 3.03 seconds = 54.85 MB/sec
[root@cnscn ~]# hdparm -t /dev/sda
/dev/sda: www.2cto.com
Timing buffered disk reads: 160 MB in 3.01 seconds = 53.11 MB/sec
[root@cnscn ~]# hdparm -t /dev/sda
/dev/sda:
Timing buffered disk reads: 166 MB in 3.00 seconds = 55.31 MB/sec

.评估硬盘快取的读取效率
[root@cnscn ~]# hdparm -T /dev/sda
/dev/sda:
Timing cached reads: 3784 MB in 2.00 seconds = 1894.60 MB/sec
[root@cnscn ~]# hdparm -T /dev/sda
/dev/sda:
Timing cached reads: 3816 MB in 2.00 seconds = 1909.06 MB/sec
[root@cnscn ~]# hdparm -T /dev/sda
/dev/sda:
Timing cached reads: 3728 MB in 2.00 seconds = 1866.29 MB/sec

.检测IDE硬盘的电源管理模式
[root@cnscn ~]# hdparm -C /dev/sda
/dev/sda:
drive state is: standby [省电模式]
.显示IDE硬盘的内定硬件规格
[root@cnscn ~]# hdparm -i /dev/sda

.直接检测硬盘的硬件规格
[root@cnscn ~]# hdparm -I /dev/sda
/dev/sda:
ATA device, with non-removable media
Model Number: Maxtor 6B160M0
Serial Number: B404PTJH
Firmware Revision: BANC1BM0
Standards:
Supported: 7 6 5 4
Likely used: 7
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
– www.2cto.com

CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 320173056
device size with M = 1024*1024: 156334 MBytes
device size with M = 1000*1000: 163928 MBytes (163 GB)
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32

Standby timer values: spec’d by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Advanced power management level: unknown setting (0×0000)
Recommended acoustic management value: 192, current value: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* NOP cmd
* READ BUFFER cmd
* WRITE BUFFER cmd
* Host Protected Area feature set
* Look-ahead
* Write cache

* Power Management feature set
Security Mode feature set
* SMART feature set
* FLUSH CACHE EXT command
* Mandatory FLUSH CACHE command
* Device Configuration Overlay feature set
* 48-bit Address feature set
* Automatic Acoustic Management feature set
SET MAX security extension www.2cto.com
Advanced Power Management feature set
* DOWNLOAD MICROCODE cmd
* General Purpose Logging feature set
* SMART self-test
* SMART error logging

Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
Checksum: correct

.检测并设置IDE硬盘的32位I/O模式
检测
[root@cnscn ~]# hdparm -c /dev/sda
/dev/sda:
IO_support = 0 (default 16-bit) [默认16位I/O]
设置
[root@cnscn ~]# hdparm -c 1 /dev/sda

.检测并设置IDE硬盘的DMA模式
[root@cnscn ~]# hdparm -d /dev/sda
/dev/sda:
… www.2cto.com
[root@cnscn ~]# hdparm -d 1 /dev/sda

.检测读取文件时,预先存入快取的扇区数
[root@cnscn ~]# hdparm -a /dev/sda
/dev/sda:
readahead = 256 (on)

.查询并设置硬盘多重扇区存取的扇区数,以增进硬盘的存取效率
[root@cnscn ~]# hdparm -m /dev/sda
[root@cnscn ~]# hdparm -m 参数值为整数值如8 /dev/sda
.将内顾虑缓冲的数据写入硬盘,并清除缓冲区的数据

阅读全文

与linuxfirmware参数相关的资料

热点内容
pcb网络标号 浏览:978
微信公众平台保存的消息怎么修改 浏览:999
怎么开通云服务密码是多少钱 浏览:489
致悦抗甲醛有什么升级 浏览:677
跟闲鱼一样的买卖app叫什么 浏览:934
ug怎么编程什么是ug编程 浏览:672
javasunmisc 浏览:368
数控铣床编程有哪些指令 浏览:64
网络杀熟平台有哪些 浏览:780
泰国happy卡漫游 浏览:474
知到app作业迟交会怎么样 浏览:546
智能手环安卓app源码 浏览:979
180独家火龙强化版本 浏览:514
oppo手机怎么设置能禁止访问网站 浏览:708
建行生活app是什么软件 浏览:636
顺序结构程序设计目的 浏览:681
小学线上教育什么App好 浏览:222
翼校通导入数据需要用哪个浏览器 浏览:933
苹果7nfc功能怎么用 浏览:169
綦江大数据局在哪里 浏览:308

友情链接