Re: Is my directory corrupted?

From: Moe Trin (ibuprofin_at_painkiller.example.tld)
Date: 06/07/05


Date: Mon, 06 Jun 2005 19:37:38 -0500

In the Usenet newsgroup alt.os.linux, in article
<11a6a1o7gcmhp04@corp.supernews.com>, craig wrote:

>Running Fedora 3 with most recent updates for now probably 8 months or
>when ever it was first released.

08 Nov 2004. Did it have the problem in the past? If so, what did you
change.

>Now I discover:
>Command line command such as # ls -d */
>there is a long 31 sec delay before it generates the results to the screen.
># ls
>is normal

Does the octothorpe in front of the command imply you are running as root?
That is a hazardous mode, and you should only be root when absolutely
necessary. If this is as root, how does it work as a normal user?

Well, a lot is going to depend on what's in the directories you are
trying to look at. Are there a lot of directories? Are any of them Samba
mounts? Does 'ls -d /*' show the 10 to 20 directories normally found in
root virtually instantly? Does 'alias' return anything relating to ls?

31 seconds is a heck of a long time - I don't know how it might be
connected to hostnames, but does the 'hostname' command return a full
hostname with dots and a domain? Is that full hostname in /etc/hosts?
If not, does a DNS query return the full name/address pair in both
directions (IP to name, name to IP)?

>What's up? what's causing this. A fresh boot doesn't change a thing.

Rebooting rarely has any effect on *nix, except to imperceptibly slow
it down because the memory cache is emptied.

Another random thought - as root, run the command 'rpm -Va > files2check'
This is going to take a couple of minutes to run. Then look at that file,
and compare the output to the 'rpm' man page under VERIFICATION. It is
normal to see some changes - mainly configuration files, and changes in
file ownership. On this system, about 90 "files" get listed (a work
station with about 330 packages installed).

        Old guy



Relevant Pages

  • Re: Is my directory corrupted?
    ... updates to install. ... > Does the octothorpe in front of the command imply you are running as root? ... I use the "#" to demote a command line command. ... > connected to hostnames, but does the 'hostname' command return a full ...
    (alt.os.linux)
  • Re: Invalid Global DNS name and sendmail
    ... What I'd like to do is find a way to alter sendmail's perception of my hostname. ... this would only affect sendmail and nothing else. ... The reason emails from root are being exposed using the real hostname is because of this: ... However, if you want to explicitly set your hostname in sendmail, change this: ...
    (freebsd-questions)
  • Re: VMWare4 on SuSE9
    ... >Those are cut&pastes from the console as root. ... >I get the same result if I just c&p the word hostname as root or user ... >Twixt hill and high water, N.Wales, UK ...
    (alt.os.linux.suse)
  • Fw: Newbie Having Much Trouble Getting Deb 2.4.18-bf2.4 To Work
    ... I have my hostname back, but still can't send out Mozilla email or receive ... So, right or wrong, I dselected out the network files making ... Leonard Chatagnier ... > were logging in as a normal user or root. ...
    (Debian-User)
  • Re: PPP
    ... In the Usenet newsgroup alt.os.linux.suse, ... 'root' was. ... >of documentation to look at. ... Behind me is a bookcase with a lot of books. ...
    (alt.os.linux.suse)