Re: Directory size, used, available, and percent-used?

From: Peter T. Breuer (ptb_at_oboe.it.uc3m.es)
Date: 11/02/05


Date: Wed, 2 Nov 2005 15:00:44 +0100

Clueless newbie <nospam@nospsm.nospam> wrote:

> Dances With Crows wrote:
>>What about symlinks? You'll have to be careful if, f'rexample,

> Please excuse my poor english; I cannot find "rexample" in English
> to Russian dictionary. What does "f'rexample," mean? Is slang?

It's "for example", written phonetically and with a typo (missing
space between the words - or maybe he meant to run it together).
Surely merely missing a space and apostrophizing the "for" doesn't
make it unreadable!

>>/opt is part of / , and /opt/junk/ is a symlink to /home/junk/ , which
>>contains ~800M of important stuff. The "-x /dev/hdXY" option to du
>>may help you out there.

> Is possible problem with solution being proper usage of switches.

> For example:

> "du /usr/X11 -sh" says 0MB.

I presume you mean /usr/lib/X11. It's a symlink.

> Which variation is correct for finding out the size of the
> disk needed to hold /usr/X11?

None. It's a symlink - it takes no space.
 
Peter



Relevant Pages

  • Re: Updated grub, but now Gentoo wont boot
    ... Recreating the menu.lst symlink did the trick. ... this build of grub is missing the "splashimage" patch as well, ...
    (comp.os.linux.setup)
  • Linux 2.6.20.1 and User Mode Linux
    ... Stock 2.6.20 kernel, patched to 2.6.20.1, on a Gentoo i386 ... SYMLINK arch/um/include/sysdep ... but a previous version of the kernel (I forget ... What am I missing? ...
    (comp.os.linux.setup)
  • Re: Using dd to copy a disk.
    ... >> If there's a little shell script that can handle multiple symlink ... Maybe I'm missing something here, ... You can get my public key from any of the ...
    (Debian-User)
  • Re: PHPicalendar
    ... Thanks Martin, that did the trick. ... Now about the missing index.php... ... you think it should be safe to put a symlink called index.php and point it ...
    (comp.unix.bsd.freebsd.misc)
  • Re: [SLE] How do I remove a sym link?
    ... > LOL - That's the attitude! ... Was that a typo? ... then you have two symbolic links that are doing ... but I think that perhaps a description of what a symlink actually ...
    (SuSE)