On Mon, 19 Nov 2001, utz lehmann wrote:
> First you should check the filesystem (xfs_check or xfs_repair -n). Maybe
> the lockups produced some filesystem corruption.
>
>
> The trick is to truncate the file below 2GB. Then your rm should work.
>
> Try ">emufs.s.out" on a shell. If this works, you have a 0 byte emufs.s.out.
>
> If this doesnt work, you could try the attached c program. It truncates a file
> to a given number of bytes:
>
> trunc 0 emufs.s.out
>
>
> Hope that helps.
>
> utz
>
Hi
probably im wrong but have you tried cat /dev/null > <myfile> first and
then try remove it ?
----------------------------
Mihai RUSU
"... and what if this is as good as it gets ?"
|