Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2001 20:14:52 -0400
From:      parv <parv_@yahoo.com>
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>
In-Reply-To: <01Jun28.130929pdt.119046@gatekeeper.bcrail.com>; from ChildsC@BCRAIL.COM on Thu, Jun 28, 2001 at 01:11:17PM -0700
References:  <01Jun28.130929pdt.119046@gatekeeper.bcrail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010628201452.A2404>