Subject: Re: fsck -c 2 , superblock etc.
To: Wolfgang Solfrank <ws@tools.de>
From: Luke Mewburn <lm@rmit.edu.au>
List: current-users
Date: 06/29/1994 14:01:14
> For one thing, fsck tries to convert symbolic links to fastlinks if they are
> short enough.
> In this process, it tries to read the old symlink value with a request for
> its actual length instead of reading a block at a time. But this is a bad
> idea on most raw disk devices.
> Here is a fix for the first problem, including a small change that allows
> the use of 'fsck -c 2 -b 32 /dev/xxx' to fix partitions that were corrupted
> by this bug.
> Can someone please have a look over this, before I check this in?
I've just applied the patch, backed up my entire system, and converted
all of my partitions (/, /var, /usr, /home, /Src, and /usr/local)
which are spread across 2 IDE drives. Works great. I've even installed
the v1.21 bootblocks which work too.
Thanks for this.
------------------------------------------------------------------------------