linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Samuel <samuel@bcgreen.com>
To: gerardo juarez-mondragon <gjuarezmondragon@metacrawler.com>
Cc: linux-admin@vger.kernel.org
Subject: Re: Strange files
Date: Thu, 12 Jun 2003 18:58:18 -0700	[thread overview]
Message-ID: <3EE92FBA.6050905@bcgreen.com> (raw)
In-Reply-To: <70512EE9B64BF8B4E8A2D1ED51D43A83@gjuarezmondragon.metacrawler.com>

They SHOULD be directories... and you really don't want to
delete them (other than to recreate them properly).

lost+found is where fsck wil put files that haven't been
deleted, but don't have a directory pointing to them.
(normally a sign of noticable disk corruption after a
system crash).

There should be a lost+found directory in the root directory
of each (disk-based) filesystem you have mounted on your box.

/root is (on many systems) where the root (superuser) user's
home directory usually is. Once again -- it's generally
considered bad karma to remove the root user's home directory)

the 031XXX
would (according to Linux bits) say that it's both a character
device and a fifo(named pipe). with the sticky bit set.
a 7 instead of the 3 would mean that it's also a directory (!).

either the perm bits are very different for your OS, or it
managed to do something VERY strange with those two directories.



gerardo juarez-mondragon wrote:
> Hi,
> 
> A couple of files are present in /. These is what ls -l tells me:
> 
> ?r--rw--wt  13873  2573    11826   4294967295  Apr 19 1998 lost+found
> ?---r-xrwT  12846 14387    14387   4294967295  Aug 15 1995 root
> 
> This is what 'file' tells me:
> 
> /root: sticky file: invalid mode  031056
> /lost+found: sticky  file: invalid mode 071463
> 
> I am installing it, so it's not connected to the network or anything.
> Does anyone have an idea where these files came from, why can't I 
> erase them ("Operation not permitted") and why so early (disks are 
> brand new)?

-- 
Stephen Samuel +1(604)876-0426                samuel@bcgreen.com
		   http://www.bcgreen.com/~samuel/
Powerful committed communication, reaching through fear, uncertainty and
doubt to touch the jewel within each person and bring it to life.


  reply	other threads:[~2003-06-13  1:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-12 16:17 Strange files gerardo juarez-mondragon
2003-06-13  1:58 ` Stephen Samuel [this message]
2003-06-13  4:44 ` Glynn Clements

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EE92FBA.6050905@bcgreen.com \
    --to=samuel@bcgreen.com \
    --cc=gjuarezmondragon@metacrawler.com \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).