Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jan 2005 11:54:37 +0300
From:      "Eugene M. Minkovskii" <emin@mccme.ru>
To:        freebsd-questions@freebsd.org
Subject:   can't remove directory
Message-ID:  <20050106085437.GA20461@mccme.ru>

next in thread | raw e-mail | index | archive | help
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
Сенсорно ваш,   Евгений Миньковский



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