Mick wrote:
On Monday 07 June 2010 21:24:37 Dale wrote:
Mick wrote:
I am trying to clean up what seems like a remnant of a failed emerge, but
I can delete the directory in question:
# rm -Rf /var/tmp/portage/sys-devel/gcc-4.4.3-
r2/work/gcc-4.4.3/libjava/classpath/resource/gnu/java/locale
rm: cannot remove `/var/tmp/portage/sys-devel/gcc-4.4.3-
r2/work/gcc-4.4.3/libjava/classpath/resource/gnu/java/locale': Directory
not empty
Am I missing something simple here? Why can't I remove it? It seems
empty to me:
# ls -la /var/tmp/portage/sys-devel/gcc-4.4.3-
r2/work/gcc-4.4.3/libjava/classpath/resource/gnu/java/locale
total 1
drwxr-xr-x 2 portage portage 3 May 28 07:48 .
drwxr-xr-x 3 portage portage 3 May 28 07:48 ..
I generally use rm -rfv when I delete something and do it as root as
well. It is gone after that. I'm not sure what the difference is
between R and r tho. I need to go check the man page I guess. ;-)
Dale
:-) :-)
-r, -R, --recursive
remove directories and their contents recursively
I am getting worried now about fs corruption. The fs is supposed to be
checked at boot time ....
Since you were using the -f option, I would be to. Something odd
somewhere. Could there be a lock file in there or something? I would
think the -f option would over ride that to tho.
Try to umount it and see if it complains about something. I would be in
single user to do that tho. Just in case.
Dale
:-) :-)