Gentoo Linux Users Group

Home  |   질문/답변  |   자유게시판  |   Tip  |   위키  |   org  |   번역문서  |
 
작성일 : 09-05-13 12:50
hdparm 설정 어떻게 해요?
 글쓴이 : Harry (218.♡.89.15)
조회 : 2,428  
hdparm 설정을 하려고 하는데요..
sata하드를 엑세스가 20분 이상 없으면 꺼지게 하려고요.
conf.d에 들어있는 hdparm 설정을 어떻게 하는지 모르겠어서요.
옵션좀 가르쳐 주세요.

minzkn 09-05-28 09:23
 211.♡.182.186 답변 삭제  
아래를 참고하시고요. 핵심은 "-S120" 입니다. 아래의 경우는 5분간 사용하지 않는 경우로 설정된겁니다.
자세한것은 man page에서 hdparm의 "-S<value>" 옵션에 대해서 보시면 됩니다.

아마도 "-S240"으로 하시면 될듯 하군요.



# /etc/conf.d/hdparm: config file for /etc/init.d/hdparm

# You can either set hdparm arguments for each drive using hdX_args,
# discX_args, cdromX_args and genericX_args, e.g.
#
# hda_args="-d1 -X66"
# disc1_args="-d1"
# cdrom0_args="-d1"

# or you can set options for all PATA drives
pata_all_args="-d1"

# or you can set options for all SATA drives
sata_all_args=""

# or, you can set hdparm options for all drives
all_args="-S120"