Re: Most baffling file issue

From: tagriffin (tagriffin@MICRON.COM)
Date: Fri Mar 07 2003 - 17:00:20 EST


You can also remove it using the inode and the find command:

# ls -l
total 16
-r-xr--r-- 1 root system 1414 Mar 07 14:57 filea
-r-xr--r-- 1 root system 1414 Mar 07 14:57 fileb
#
dsa-cons1[13]/tmp/tagdir # ls -il
total 16
22855 -r-xr--r-- 1 root system 1414 Mar 07 14:57 filea
22856 -r-xr--r-- 1 root system 1414 Mar 07 14:57 fileb
#
# find . -inum 22855 -exec rm {} \;
# ls -il
total 8
22856 -r-xr--r-- 1 root system 1414 Mar 07 14:57 fileb
#
# ls -l
total 8
-r-xr--r-- 1 root system 1414 Mar 07 14:57 fileb
#

-----Original Message-----
From: Myers, Drew [mailto:MyersD@GOALAMO.COM]
Sent: Friday, March 07, 2003 2:15 PM
To: aix-l@Princeton.EDU
Subject: Re: Most baffling file issue

I'm sure you'll get more sophisticated answers than this, but this has saved
my tail several times.

rm -i *

then make sure you say no to everything except the file you want to delete.

-----Original Message-----
From: Theresa Sarver [mailto:tsarver.IFMC@SDPS.ORG]
Sent: Friday, March 07, 2003 4:02 PM
To: aix-l@Princeton.EDU
Subject: Most baffling file issue

I have an issue that I'm not quite sure how to explain, as I'm not real sure
as to what I'm looking at? I noticed our sysback backup was failing on
account of one /tmp/NH.rstatus file. So I went to look at it and this is
what I see:

/tmp>ls -la|pg
total 12688
-rw-r--r-- 1 root system 2048 Jun 14 2002
NH.rstatus
drwxrwxrwt 9 bin bin 2048 Mar 07 15:40 .
drwxr-xr-x 30 bin bin 1024 Mar 07 10:21 ..
srwxrwxrwx 1 root system 0 Mar 03 04:09 .PMDV1
drwxr-xr-x 2 root system 512 Mar 04 09:53 .VimMessageClients
srwxrwxrwx 1 root system 0 Mar 04 09:52 .VimMessageServer

Am I looking at this right - does this file begin with a carriage return?
And if so, how in the world do I get rid of it as everything I've tried
comes back with "file does not exist".

/tmp>ls -la NH.rstatus
ls: 0653-341 The file NH.rstatus does not exist.

Thanks in advance for the help;
Theresa



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:38 EDT