Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jan 2005 13:14:53 +0300
From:      "Eugene M. Minkovskii" <emin@mccme.ru>
To:        freebsd-questions@freebsd.org
Cc:        Ted Mittelstaedt <tedm@toybox.placo.com>
Subject:   Re: can't remove directory
Message-ID:  <20050106101453.GA26081@mccme.ru>
In-Reply-To: <LOBBIFDAGNMAMLGJJCKNMEPEEPAA.tedm@toybox.placo.com>
References:  <20050106085437.GA20461@mccme.ru> <LOBBIFDAGNMAMLGJJCKNMEPEEPAA.tedm@toybox.placo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 06, 2005 at 01:03:31AM -0800, Ted Mittelstaedt wrote:
" What is the error message when you:
" 
" cd /var/tmp
" 
" rm -r temproot
" 
" as the root user?
" 
" Ted

Sorry Ted. System write "Operation not permitted":

rm: /var/old-tmp/temproot/var/empty: Operation not permitted
rm: /var/old-tmp/temproot/var: Directory not empty
rm: /var/old-tmp/temproot: Directory not empty
rm: /var/old-tmp: Directory not empty


" > -----Original Message-----
" > From: owner-freebsd-questions@freebsd.org
" > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Eugene
" > M. Minkovskii
" > Sent: Thursday, January 06, 2005 12:55 AM
" > To: freebsd-questions@freebsd.org
" > Subject: can't remove directory
" >
" >
" > Hi!
" >
" > some months ago I'm install FreeBSD 5.2.1 on my PC. When I do it
" > I set default partition size. For example /var has 256 Mb. After
" > some time I found that It is too small for me. I move a lot of
" > directory to /usr and make symlinks to it:
" >
" > mkdir /usr/var
" > mv /var/tmp /var/mail /var/log /usr/var
" > cd /var
" > ln -s /usr/var/tmp
" > ln -s /usr/var/mail
" > ln -s /usr/var/log
" >
" > All of this working nice, except one: I cant remove /var/tmp.
" > Only rename working. In this directory placed one "dyeless"
" > directory /var/tmp/temproot/var/empty.
" >
" > How can I remove this directory? I try to fsck -y in single user
" > momde, I trying rm -rf /var/tmp/temproot/var/empty in single user
" > mode with only /var mounted. But All of this useful.
" >
" >
" > --
" > Sensory  yours, Eugene  Minkovskii
" > Сенсорно ваш,   Евгений Миньковский
" > _______________________________________________
" > freebsd-questions@freebsd.org mailing list
" > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
" > To unsubscribe, send any mail to
" > "freebsd-questions-unsubscribe@freebsd.org"
" >
" 
" _______________________________________________
" freebsd-questions@freebsd.org mailing list
" http://lists.freebsd.org/mailman/listinfo/freebsd-questions
" To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

-- 
Sensory  yours, Eugene  Minkovskii
п║п╣п╫я│п╬я─п╫п╬ п╡п╟я┬,   п∙п╡пЁп╣п╫п╦п╧ п°п╦п╫я▄п╨п╬п╡я│п╨п╦п╧



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