[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: File impossible to delete <Solved!>



This is one for the books!

Clint Adams wrote:

> > On Fri, 8 Aug 1997, Peter S Galbraith wrote:
> > 
> > > Somehow, I got a corrupted file on my system:
> > > 
> > >  bash-2.00# ls -l /root/Mail/
> > >  total 269488144
> > >  c---r----- 8240 8224     8224      32,  48 Aug  2  1995 drafts
> > > 
> > > I can't delete it!
> 
> You're going to need to use debugfs to get rid of it.

This worked (with /dev/sda3 mounted as the root filesystem):

 debugfs -w -R "rm /root/Mail/drafts" /dev/sda3

Thanks everybody!
--
Peter Galbraith, research scientist             <galbraith@mixing.qc.dfo.ca>
Maurice-Lamontagne Institute, Department of Fisheries and Oceans Canada
P.O. Box 1000, Mont-Joli Qc, G5H 3Z4 Canada  418-775-0852 - FAX 418-775-0546


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . Trouble? 
e-mail to templin@bucknell.edu .


Reply to: