The NZ Linux Resource

[wailug] Re: ext2

tony at access-info.co.nz tony at access-info.co.nz
Tue Jan 21 14:37:19 NZDT 2003


Thanks Blair,
I placed the drive in a 7.3 pc and ran 

fsck -y /dev/hdd1 and all is sweet.
But I'll file your script and have a play with it.

tx

Quoting Blair Harrison <harrison at contact.net.nz>:

> On Tue, 21 Jan 2003 12:57:32 +1300
> Blair Harrison <harrison at contact.net.nz> wrote:
> 
> > 
> > backup_sblock=`mke2fs -n /dev/hdb1 | tail -2 | grep , | awk -F,
> > '{print$1}'` fsck.ext2 -b $backup_sblock /dev/hdb1
> 
> 
> oops, screwed up the formatting, you want the first bit all on one line,
> then where it says fsck.ext2 , put that on the next line.
> 
> 
> 
> Cheers, 
> 	Blair
> 
> --- toH, HIvqa' Qun'a'wIj! nachwIjDaq 'obmaQ tu'lu'! ---
> 
> --------------------------------------------------------------------
> To remove yourself from this list, email wailug-request at linux.net.nz
> with "unsubscribe" in the body of the message.
> 




-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

--------------------------------------------------------------------
To remove yourself from this list, email wailug-request at linux.net.nz
with "unsubscribe" in the body of the message.



More information about the WaiLUG mailing list If you have any questions or comments about this page, email the Webmaster
Design Copyright © 1998-2005 Linux.net.nz