일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- 칭찬교육
- rsync
- http
- apachetop
- Kernel
- 솔라리스
- Disk
- Cache
- Python
- windows
- PERL
- 쇼펜의상속자 #킨텍스메가쇼 #섬유향수탈취제
- Bash
- 좌절교육
- Hack
- pid
- Linux
- goaccess
- rm
- Performance
- cadre
- 디스크
- PORT
- ext4
- iptables
- DNS
- ext3
- CPU
- rm -rf
- 리눅스
- Today
- Total
목록rm (2)
Ben's
--no-preserve-root do not treat '/' specially (the default) --preserve-root fail to operate recursively on '/' -------------------------------------------------------------------------- [root@zenoss ~]# /bin/rm -rf --preserve-root / /bin/rm: it is dangerous to operate recursively on `/' /bin/rm: use --no-preserve-root to override this failsafe
* ext3grep 사용: rm 으로 삭제된 파일/디렉토리 복구 1. 삭제즉시 해당 파티션 read only로 바꾸거나 umount(umount 권장) mount -o remount,ro /home 2. 추가 디스크 장착하여 파티셔닝/파일시스템 생성 / 임의의 마운트 포지션에 mount 3. ext3grep 설치 - http://ext3grep.googlecode.com/files/ext3grep-0.10.2.tar.gz - ./configure && make && make install 4. cd "임의의 마운트 포지션" 5. ext3grep 복구 진행(주의!! dump, restore 같은 디렉토리에서 명령 내려야함.) - dump : ext3grep --after=1359385200 --dump-n..