FrontPage FindPage TitleIndex RecentChanges UserPreferences E D R S I H C
 
Test Gretech
FrontPagediscounts-airfares-155 › TestGretech
이것도 어디론가 옮겨야 ...

caching down file

  • 캐싱은 50 MB 이상의 파일만 한다
  • 디렉토리 구조 없음, 긴 파일 노드 이름 하나로
  • 파일 없으면 전송하면서 캐시 디렉토리에 적음
  • 파일이 있으면 touch 하고 캐시 디렉토리에 적음
  • 검사해서 파일크기 다르면 지움
  • 검사해서 지워졌으면 지움
  • 너무 많으면 오래된 것부터 적당히 골라서 지움

OK !!

파일 지우기

df /fb9999 해서 90% 이상이면 다음을 실행하는 스크립트를 주기적으로 돌린다.
cd /fb9999/blockdata
ls -u1 ????/????/????|tail -n 10|sed 's,^,rm -f &,'|bash


FTP olny user


Give them /usr/bin/false for a shell and make sure it's listed in /etc/shells.
To limit the users ONLY to their homedirectory and above, you must simply chroot them. Edit /etc/ftpchroot.
last modified 2009-03-09 13:46:59
EditTextFindPageDeletePageLikePages