/etc/rc.d/rc.sysinit 의 주석 질문 드립니다.
#!/bin/bash
bash를 실행
# /etc/rc.d/rc.sysinit - run once at boot time
/etc/rc.d/rc.sysinit를 부팅할떄 한번 실행
# Taken in part from Miquel van Smoorenburg's bcheckrc.
# Mount /proc and /sys (done here so volume labels can work with fsck)
proc과 sys 를 마운트시킴
# Check SELinux status
리눅스 상태 체크
# assume enforcing if you can't read it
# Print a text banner.
텍스트 배너 출력
# Fix console loglevel
# Only read this once.
# Initialize hardware
하드웨어 초기화
# We used to set this to NULL, but that causes 'failed to exec' messages"
# IDE
통합개발환경
# SCSI
소형 컴터 시스템 인터페이스
# Network
네트워크 설정
# Sound
사운드 설정
# Everything else (duck and cover)
duck and cover를 제외한 모든것
# Load other user-defined modules
defined modules을 다른사용자로 로드
# Load modules (for backward compatibility with VARs)
모듈을 로드
# Start the graphical boot, if necessary; /usr may not be mounted yet, so we
그래픽한부트를 시작 /usr may not be mounted yet, so we를 필요로함
# may have to do this again after mounting
# Configure kernel parameters
kernel parameters를 구성
# Set the system clock.
시스템을 정각으로 설정
# convert old style clock config to new values
# Set the hostname.
호스트네임 설정
# Initialiaze ACPI bits
ACPI bits초기화
# configure all zfcp (scsi over fibrechannel) devices before trying to mount the
# zfcpconf.sh exists only on mainframe
zfcpconf.sh는 메인프레임상에만 존재
# RAID setup
RAID 셋업
# LVM2 initialization
LVM2를 초기화
# Call rc.readonly to set up magic stuff needed for readonly root
# A return of 4 or higher means there were serious problems.
# Unmount the initrd, if necessary
필요에의해서 initrd를 마운트제외
# Update quotas if necessary
필요에의해서 최신정보 할당
# try to convert old quotas
오래된 할당의 변환시도
# Remount the root filesystem read-write.
파일시스템을 읽고 쓰기로 다시 마운트
# Clean up SELinux labels
리눅스 레이블 정리
# Clear mtab
mtab을 클리어
# Remove stale backups
손상된 백업 제거
# Enter mounted filesystems into /etc/mtab
파일시스템을 마운트할지 점검
# Mount all other filesystems (except for NFS and /proc, which is already
기존설치된 NFS and proc를 제외한 전부 다른 파일시스템 설치
# mounted). Contrary to standard usage,
상반되는 표준 사용법
# filesystems are NOT unmounted in single user mode.
개인사용자 방식에 설치되지 않은 파일시스템이 아니다
# Check to see if a full relabel is needed
갈아붙일 라벨이 많다면 체크해라
# Start the graphical boot, if necessary and not done yet.
필요하다면 그래픽 부트를 시작
# Initialize pseudo-random number generator
임의 숫자 생성기의 유사프로그램 초기화
# Use the hardware RNG to seed the entropy pool, if available
사용할수있다면 정보전달 효율량 근원에 하드웨어 RNG다
#[ -x /sbin/rngd -a -c /dev/hw_random ] && rngd
# Configure machine if necessary.
필요하다면 퓨터를 구성
# Reread in network configuration data.
# Reset the hostname.
호스트네임 초기화
# Clean out /.
깨끗이 지움
# Do we need (w|u)tmpx files? We don't set them up, but the sysadmin might...
tmpx의 파일들을 필요로 한다면 설정할순 없지만 sysadmin했을지도 모른다.
# Clean up /var. I'd use find, but /usr may not be mounted.
var를 정리
# Reset pam_console permissions
표준 입력장치의 재시동 허용
# Clean up utmp/wtmp
utmp/wtmp를 정리
# Clean up various /tmp bits
various /tmp bits정리
# Make ICE directory
ICE디렉토리 만듬
# Start up swapping.
swapping을 시작
# Set up binfmt_misc
binfmt_misc을 셋업
# Initialize the serial ports.
serial ports를 초기화
# If they asked for ide-scsi, load it
ide-scsi를 요청하면 로드
# Boot time profiles. Yes, this should be somewhere else.
# Now that we have all of our basic modules loaded and the kernel going,
기본적 모듈을 불러오고 커널로 이동
# let's dump the syslog ring somewhere so we can find it later
시스템 일시ring을 출력하게 함으로써 후에도 어딘가에서 찾을수있다..
# create the crash indicator flag to warn on crashes, offer fsck with timeout
충돌을 경고하는 신호에 충돌 표시기를 만들고 중간 휴식과 fsck를 제공
# Let rhgb know that we're leaving rc.sysinit
rc.sysinit를 남겨둠으로써 rhgb를 알수있게한다.
일단제가 한다고 했는데 이정도뿐이라서 혹시 정확한 해석내용이나 빠진부분의 해석을 아시면
알려주셨으면 합니다.
조금이라도 아시면 알려주세요 그럼..

