강좌
클라우드/리눅스에 관한 강좌입니다.
리눅스 분류

데몬 스크립트 파일 : /etc/rc.d/init.d/autofs

작성자 정보

  • 구돌 작성
  • 작성일

컨텐츠 정보

본문

데몬 스크립트 파일 : /etc/rc.d/init.d/autofs

 

오토마운트 파일시스템(Automount Filesystem) 데몬 스크립트입니다. 

 

 

 파일시스템 사용을 요구받았을 경우에는 마운트를 하고 파일시스템 사용이 끝났을 경우에는 마운트를 해제하게 됩니다. 

 

 

 

 

이 스크립트에 관련된 명령어들은 이 책의 NFS명령어편을 참조하시기 바랍니다. 

 

 

 

 

사용옵션 : start|stop|restart|reload|status

 

프로세스명 :  /usr/sbin/automount

설정파일   :  /etc/auto.master

 

스크립트 사용예

[root@command init.d]# /etc/rc.d/init.d/autofs start

Starting automount: No Mountpoints Defined[  OK  ]

[root@command init.d]#

[root@command init.d]# /etc/rc.d/init.d/autofs stop

Stopping automount:[  OK  ]

[root@command init.d]#

[root@command init.d]#

[root@command init.d]# /etc/rc.d/init.d/autofs restart

Stopping automount:[  OK  ]

Starting automount: No Mountpoints Defined[  OK  ]

[root@command init.d]#

[root@command init.d]# /etc/rc.d/init.d/autofs status

Configured Mount Points:

------------------------

 

Active Mount Points:

--------------------

[root@command init.d]#

 

 

 

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,070 명
  • 현재 강좌수 :  35,986 개
  • 현재 접속자 :  489 명