On Thu, 22 Sep 2011 01:16:33 +0800, lina wrote: > On Thu, Sep 22, 2011 at 12:24 AM, Camaleón <noela...@gmail.com> wrote:
(...) >> > are there some easy way to see which files sit on which partition? >> >> You can also use "df" for files, it will print the partition on what >> they're are mounted. For example: >> >> sm01@stt008:~$ LANG=POSIX; df -h /data/backup/sm01/2010-09-12.tar.bz2 >> .mozilla >> Filesystem Size Used Avail Use% Mounted on /dev/sdb1 >> 459G 401G 35G 93% /data/backup /dev/sda3 115G >> 22G 94G 19% / >> >> > The command #LANG=POSIX; df -h * is cool. Thanks, Note: I set the LANG environment to posix because... 1/ My system is in Spanish so when posting some output to this mailing list it is desiderable to get the results in English 2/ I only have a small set of locales available (I mean, no "en_US.utf8" in this system): sm01@stt008:~$ locale -a C es_ES.utf8 POSIX > Question 1: still missing few MB, which I don't know being occupied by > which files. welcome providing guess. and there is none invisible file > in /. is it reasonable for below files? > > /# LANG=POSIX; df -h /lib > Filesystem Size Used Avail Use% Mounted on > /dev/sda5 658M 377M 248M 61% / > > 330M /lib (...) Hmm... you "/lib" seems a bit bloated (mine is 94 MiB), I would look inside it: du -h /lib | grep "[0-9]M" | sort -n -r | less > Question 2: is it normal? > > # LANG=POSIX; df -h sys/ > Filesystem Size Used Avail Use% Mounted on > sysfs 0 0 0 - /sys I hope yes :-) You can run "df -ah" to see all of the "available" partitions. > I don't have /sys partition. No, because its a "virtual" one: http://en.wikipedia.org/wiki/Sysfs Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2011.09.21.17.34...@gmail.com