From owner-freebsd-questions Thu Jun 28 17:11: 9 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mtiwmhc26.worldnet.att.net (mtiwmhc26.worldnet.att.net [204.127.131.51]) by hub.freebsd.org (Postfix) with ESMTP id B402137B401 for ; Thu, 28 Jun 2001 17:11:04 -0700 (PDT) (envelope-from parv@worldnet.att.net) Received: from worldnet.att.net ([32.101.235.23]) by mtiwmhc26.worldnet.att.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20010629001103.TXXW2154.mtiwmhc26.worldnet.att.net@worldnet.att.net>; Fri, 29 Jun 2001 00:11:03 +0000 Received: by worldnet.att.net (Postfix, from userid 1001) id 853C619313; Thu, 28 Jun 2001 20:14:52 -0400 (EDT) Date: Thu, 28 Jun 2001 20:14:52 -0400 From: parv To: ChildsC@BCRAIL.COM Cc: brigg@flatlan.net, freebsd-questions@FreeBSD.ORG Subject: Re: somewhat interesting rm issue Message-ID: <20010628201452.A2404@moo.holy.cow> Mail-Followup-To: ChildsC@BCRAIL.COM, brigg@flatlan.net, freebsd-questions@FreeBSD.ORG References: <01Jun28.130929pdt.119046@gatekeeper.bcrail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <01Jun28.130929pdt.119046@gatekeeper.bcrail.com>; from ChildsC@BCRAIL.COM on Thu, Jun 28, 2001 at 01:11:17PM -0700 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 so, ChildsC@BCRAIL.COM shared this in my lifetime... > What error messages are you getting? Maybe the name contains some spaces. > Try rm -i blah* > > Chris > > -----Original Message----- > From: Brigg Angus [mailto:brigg@flatlan.net] > Sent: Thursday, June 28, 2001 1:07 PM > To: freebsd-questions@FreeBSD.org > Subject: somewhat interesting rm issue > ... > work. When I rm or rm -rf the file there is no error message, but the file > remains. > > "ls -ol blah" has yielded both, > -rw-r-xr-x 1 777 brigg - 13 Jun 27 21:31 blah > -rwxrwxrwx 1 777 brigg - 13 Jun 27 21:31 blah > while we are on the topic, is there any way to remove a file by inode instead of by filename? didn't see anything in rm(1) and unlink(2) barely mentions the word 'inode' in context of error code [EIO]. this can be really useful when 2 filenames /appear/ to be same, but not in reality... -- so, do you like word games or scrabble? - parv To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message