On 7/10/06, Isaac <[EMAIL PROTECTED]> wrote:
I was looking around, and found in these files:
BootScripts/Resources/Tasks/Check{,Root}FS

> if [ -e /forcefsck ]
> then force="-f"
> else force=""
> fi
>
> fsck $fsckOptions -p -C -T {-A,/} # <--depends on which file

Given that 'force' doesn't appear to be used anywhere, 'fsckOptions'
doesn't appear to be defined anywhere, the contents and context, and
"ps: never tested." at the top of the files, it surely appears that
"force=" should be replaced with "fsckOptions=" in all four places (two
files, two branches of the conditional).

IIRC, the idea was that fsckOptions was supposed to be optionally
added by the user in the BootOptions file. But I think that was never
used in practice, so your suggestion works. I'm applying it, thanks.

Isaac

P.S.: if /fastboot and /forcefsck both exist (which I suppose is not
supposed to happen?), these scripts give /fastboot priority. I have no
idea if that matters or is the desired behavior, though.

I think I copied that behavior from the Linux From Scratch scripts. I
admit I didn't give much thought to that particular issue.

P.P.S: As far as I can tell, this mailing list is the best place to send
reports like this? It seems that I had to subscribe to send anything to
it ; "This list is intended for technical discussion involving ...
(Scripts, Compile, etc.) and ...."

Yes, this is the right place.

Thank you!

-- Hisham
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to