On Thu, 30 Nov 2000 14:15:22 Laurent Duperval wrote:
>
> Hmmm... maybe I didn't express myself correctly. I've done all this
> conversion stuff. I *have* a mountable reiserfs partition which works
> correctly. But this weekend, my laptop froze and I had to reboot it. When it
> came time to sync the reiserfs partition, for some reason the system tried
> to use the ext2 tools and of course, sync'ing failed. I would logically
> expect that in such a situation, the fsck would try to use the proper
> reiserfs tools but that didn't happen. I'm not sure why.
>
I think it is doing right; from man fsck:
In actuality, fsck is simply a front-end for the various
file system checkers (fsck.fstype) available under Linux.
The file system-specific checker is searched for in /sbin
first, then in /etc/fs and /etc, and finally in the direc�
tories listed in the PATH environment variable. Please
see the file system-specific checker manual pages for fur�
ther details.
...
Normally, the filesystem type is deduced by search�
ing for filesys in the /etc/fstab file and using
the corresponding entry. If the type can not be
deduced, fsck will use the type specified by the -t
option if it specifies a unique filesystem type.
If this type is not available, then the default
file system type (currently ext2) is used.
So fsck at boot will try to use really something called /sbin/fsck.reiser
(if your /etc/fstab says it is reiser).
If it is in reiserfs-utils (even it can be a silly no-op), all right.
If it is not (there is no fsck.reiser because it is not needed) or
if the fsck front can't find the type of the fs (imagine you wrote
'reiserfs' instead of 'reiser' in fstab), you end up in fsck.ext2.
--
Juan Antonio Magallon Lacarta #> cd /pub
mailto:[EMAIL PROTECTED] #> more beer
Linux 2.2.18-pre24-vm #2 SMP Wed Nov 29 02:56:21 CET 2000 i686 unknown
Keep in touch with http://mandrakeforum.com:
Subscribe the "[EMAIL PROTECTED]" mailing list.