can't remove directory

Ted Mittelstaedt tedm at toybox.placo.com
Thu Jan 6 01:03:41 PST 2005


What is the error message when you:

cd /var/tmp

rm -r temproot

as the root user?

Ted

> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Eugene
> M. Minkovskii
> Sent: Thursday, January 06, 2005 12:55 AM
> To: freebsd-questions at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
>



More information about the freebsd-questions mailing list