این جا رو ببین
http://forums.gentoo.org/viewtopic-t-296892-start-125.htmlفکر کنم این دستور بعد مونت شدن اینا تو رم باید اجرا میشد در حالی که فایل های من رو دیسک بود و رو رم مونت نشده بود این پارتیشن ها :|
من فکر کردم این یه سری پروسس رو kill میکنه
ولی الان فکر کنم این به صورت دوره ای فایل های داخل این پوشه ها رو پاک میکنه !
نمیدونم دقیق
اونی هم که شما دادین برای برگردوندن یک فایل پاک شده با lsof بود
root@sevone [~]# ls -l /bin
total 5184
drwxr-xr-x 2 root root 4096 Nov 25 01:04 ./
drwxr-xr-x 22 root daneshfo 4096 Dec 5 16:27 ../
-rwxr-xr-x 1 root root 3228 Nov 8 12:53 arch*
lrwxrwxrwx 1 root root 4 Nov 25 01:03 awk -> gawk*
-rwxr-xr-x 1 root root 16216 Mar 21 2012 basename*
-rwxr-xr-x 1 root root 730092 Jul 22 2011 bash*
-rwxr-xr-x 1 root root 20776 Mar 21 2012 cat*
-rwxr-xr-x 1 root root 39444 Mar 21 2012 chgrp*
-rwxr-xr-x 1 root root 36220 Mar 21 2012 chmod*
-rwxr-xr-x 1 root root 41608 Mar 21 2012 chown*
-rwxr-xr-x 1 root root 68248 Mar 21 2012 cp*
-rwxr-xr-x 1 root root 106340 Mar 16 2010 cpio*
lrwxrwxrwx 1 root root 4 Nov 25 00:45 csh -> tcsh*
-rwxr-xr-x 1 root root 31880 Mar 21 2012 cut*
-rwxr-xr-x 1 root root 53124 Mar 21 2012 date*
-rwxr-xr-x 1 root root 7652 Aug 11 2011 dbus-cleanup-sockets*
-rwxr-xr-x 1 root root 326032 Aug 11 2011 dbus-daemon*
-rwxr-xr-x 1 root root 10676 Aug 11 2011 dbus-monitor*
-rwxr-xr-x 1 root root 14072 Aug 11 2011 dbus-send*
-rwxr-xr-x 1 root root 5228 Aug 11 2011 dbus-uuidgen*
-rwxr-xr-x 1 root root 44216 Mar 21 2012 dd*
-rwxr-xr-x 1 root root 43236 Mar 21 2012 df*
-rwxr-xr-x 1 root root 4688 Nov 8 12:53 dmesg*
lrwxrwxrwx 1 root root 8 Nov 25 01:03 dnsdomainname -> hostname*
-rwxr-xr-x 1 root root 2976 Aug 9 18:36 doexec*
lrwxrwxrwx 1 root root 8 Nov 25 01:03 domainname -> hostname*
-rwxr-xr-x 1 root root 18296 Mar 21 2012 echo*
-rwxr-xr-x 1 root root 40636 Oct 24 2008 ed*
lrwxrwxrwx 1 root root 4 Nov 25 00:45 egrep -> grep*
-rwxr-xr-x 1 root root 15968 Mar 21 2012 env*
lrwxrwxrwx 1 root root 2 Nov 25 00:45 ex -> vi*
-rwxr-xr-x 1 root root 14748 Mar 21 2012 false*
lrwxrwxrwx 1 root root 4 Nov 25 00:45 fgrep -> grep*
-rwxr-xr-x 1 root root 315100 Feb 23 2012 gawk*
-rwxr-xr-x 1 root root 23676 Mar 6 2011 gettext*
-rwxr-xr-x 1 root root 79808 Sep 26 2009 grep*
lrwxrwxrwx 1 root root 3 Nov 25 01:03 gtar -> tar*
-rwxr-xr-x 3 root root 57612 Jul 22 2011 gunzip*
-rwxr-xr-x 3 root root 57612 Jul 22 2011 gzip*
-rwxr-xr-x 1 root root 10140 Feb 22 2012 hostname*
-rwxr-xr-x 1 root root 3089 Feb 23 2012 igawk*
-rwxr-xr-x 1 root root 30872 Aug 9 18:36 ipcalc*
-rwxr-xr-x 1 root root 9248 Nov 8 12:53 kill*
-rwxr-xr-x 1 root root 15892 Mar 21 2012 link*
-rwxr-xr-x 1 root root 27500 Mar 21 2012 ln*
-rwxr-xr-x 1 root root 8356 Nov 8 12:53 logger*
-rwxr-xr-x 1 root root 22496 Nov 8 12:53 login*
-rwxr-xr-x 1 root root 93560 Mar 21 2012 ls*
-rwxr-xr-x 1 root mail 77308 Jan 7 2007 mail*
-rwxr-xr-x 1 root root 27240 Mar 21 2012 mkdir*
-rwxr-xr-x 1 root root 22464 Mar 21 2012 mknod*
-rwxr-xr-x 1 root root 7248 Feb 23 2012 mktemp*
-rwxr-xr-x 1 root root 30568 Nov 8 12:53 more*
-rwsr-xr-x 1 root root 53836 Nov 8 12:53 mount*
-rwxr-xr-x 1 root root 5124 Jul 22 2011 mountpoint*
-rwxr-xr-x 1 root root 78252 Mar 21 2012 mv*
-rwxr-xr-x 1 root root 116268 Feb 22 2012 netstat*
-rwxr-xr-x 1 root root 18476 Mar 21 2012 nice*
lrwxrwxrwx 1 root root 8 Nov 25 01:03 nisdomainname -> hostname*
lrwxrwxrwx 1 root root 17 Nov 25 00:47 passwd -> ../usr/bin/passwd*
-rwxr-xr-x 1 root root 315932 Feb 23 2012 pgawk*
-rwxr-xr-x 1 root root 35832 Sep 26 2009 ping*
-rwxr-xr-x 1 root root 31244 Sep 26 2009 ping6*
-r-xr-xr-x 1 root root 73352 Feb 23 2012 ps*
-rwxr-xr-x 1 root root 21076 Mar 21 2012 pwd*
-rwxr-xr-x 1 root root 6028 Nov 8 12:53 raw*
lrwxrwxrwx 1 root root 2 Nov 25 00:45 red -> ed*
-rwxr-xr-x 1 root root 43156 Mar 21 2012 rm*
-rwxr-xr-x 1 root root 16528 Mar 21 2012 rmdir*
-rwxr-xr-x 1 root root 84088 Apr 3 2012 rpm*
lrwxrwxrwx 1 root root 2 Nov 25 00:45 rvi -> vi*
lrwxrwxrwx 1 root root 2 Nov 25 00:45 rview -> vi*
-rwxr-xr-x 1 root root 46184 May 4 2011 sed*
lrwxrwxrwx 1 root root 4 Nov 25 00:45 sh -> bash*
-rwxr-xr-x 1 root root 17192 Mar 21 2012 sleep*
-rwxr-xr-x 1 root root 55792 Mar 21 2012 sort*
-rwxr-xr-x 1 root root 45448 Mar 21 2012 stty*
-rwsr-x--- 1 root wheel 24312 Mar 21 2012 su*
lrwxrwxrwx 1 root root 14 Nov 25 00:47 sum -> ../usr/bin/sum*
-rwxr-xr-x 1 root root 15220 Mar 21 2012 sync*
-rwxr-xr-x 1 root root 228060 May 14 2012 tar*
-rwxr-xr-x 1 root root 8396 Nov 8 12:53 taskset*
lrwxrwxrwx 1 root root 10 Nov 25 00:45 tcptraceroute -> traceroute*
-rwxr-xr-x 1 root root 341068 Nov 4 2010 tcsh*
-rwxr-xr-x 1 root root 40728 Mar 21 2012 touch*
-rwxr-xr-x 1 root root 9988 Sep 26 2009 tracepath*
-rwxr-xr-x 1 root root 9996 Sep 26 2009 tracepath6*
-rwxr-xr-x 1 root root 35696 Apr 28 2011 traceroute*
lrwxrwxrwx 1 root root 10 Nov 25 00:45 traceroute6 -> traceroute*
lrwxrwxrwx 1 root root 10 Nov 25 00:45 tracert -> traceroute*
-rwxr-xr-x 1 root root 14748 Mar 21 2012 true*
-rwsr-xr-x 1 root root 34928 Nov 8 12:53 umount*
-rwxr-xr-x 1 root root 18468 Mar 21 2012 uname*
-rwxr-xr-x 1 root root 15736 Mar 21 2012 unlink*
-rwxr-xr-x 1 root root 24792 Aug 9 18:36 usleep*
-rwxr-xr-x 1 root root 593160 Mar 6 2011 vi*
lrwxrwxrwx 1 root root 2 Nov 25 00:45 view -> vi*
lrwxrwxrwx 1 root root 8 Nov 25 01:03 ypdomainname -> hostname*
-rwxr-xr-x 3 root root 57612 Jul 22 2011 zcat*