From owner-freebsd-questions Fri Jul 26 7:11:33 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE8AA37B401 for ; Fri, 26 Jul 2002 07:11:29 -0700 (PDT) Received: from slate.dublin.wbtsystems.com (slate.dublin.wbtsystems.com [193.120.231.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id B53C443E31 for ; Fri, 26 Jul 2002 07:11:28 -0700 (PDT) (envelope-from barry.byrne@wbtsystems.com) Received: from spiral (spiral.dublin.wbtsystems.com [193.120.231.190]) (authenticated bits=0) by slate.dublin.wbtsystems.com (8.12.5/8.12.5) with ESMTP id g6QEBPjB027623; Fri, 26 Jul 2002 15:11:25 +0100 (IST) From: "Barry Byrne" To: "Jack L. Stone" , Subject: RE: Mystery "-p" file Date: Fri, 26 Jul 2002 15:11:24 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <3.0.5.32.20020726090726.03029918@mail.sage-one.net> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG You should be able to remove with: rm -- -p Have you checked what the file contains - could have been created or renamaed accidently or by a script your written. - Barry -- Barry Byrne, IT Manager, WBT Systems, Block 2, Harcourt Centre Harcourt Street, Dublin 2, Ireland > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Jack L. Stone > Sent: 26 July 2002 15:07 > To: freebsd-questions@FreeBSD.ORG > Subject: Mystery "-p" file > > > Running FBSD 4.5-RELEASE. > > I've discovered a mystery file "-p" in my /root directory of a server that > contains 35M. I don't know how it got there, but when I try to > remove it, I > get errors: > ========================== > root@asafeserver>> rm -p > rm: illegal option -- p > usage: rm [-f | -i] [-dPRrvW] file ... > unlink file > ========================== > > ....and just a listing: > root@asafeserver>> ll -p > ls: illegal option -- p > usage: ls [-ABCFGHLPRTWabcdfgiklnoqrstu1] [file ...] > ========================== > > Apparently the "file" is linked, so I'm all the more puzzled and > concerned. > How can I find out what it is linked to? ...and what/why it is > there in the > first place...??? > > BTW, the file is time-stamped Jan 25 2002.... shame on me that it > took this > long to see it.... but have been wondering what was taking up so much room > in "/" versus other servers. In doing a listing, I just didn't > look up high > enough to see the file which resides at the top and offscreen. > > Thanks for any ideas about this.... and a safe way to remove it...??? > > Best regards, > Jack L. Stone, > Administrator > > SageOne Net > http://www.sage-one.net > jackstone@sage-one.net > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message