----- Original Message -----
From: "Jean-Yves Provost" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 12, 2001 1:17 PM
Subject: [SLUG] file system full - debugfs


> if I try 'rm *.1' it returns
> bash: /bin/rm: Argument list too long
>
> output from debugfs of /var/log/mail
> -- snip
> I'm unable to use wild cards *.1, rmdir is not yet implemented
in

> any suggestion to remove the entire content of that directory?

I believe you can do either of the following;

Upgrade to a newer debugfs which has the rmdir function
implemented
remove the directory.
or
Using debugfs, cd into  /var/log/mail and remove each file,
I believe this will work even though the normal rm command fails
and if it doesn't like the name I think you can use the inode to
delete the file.

Make sure you run fsck on the drives after this.

Good luck

---Gareth Walters




-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to