On Monday 08 November 2004 03:34 am, Anders Johansson wrote:
On Sunday 07 November 2004 22:23, Jerome Lyles wrote:
So...what's happening here? I did some more digging and found the source of the problem behavior in /etc/init.d/boot.rootfsck.
And this is the heart of the problem:
if test -n "$ROOTFS_BLKDEV" -a "$ROOTFS_BLKDEV" != "/" -a -b "$ROOTFS_BLKDEV"
As I understand it this is a three way comparison:
The -a option means "-n "$ROOTFS_BLKDEV" " equals "$ROOTFS_BLKDEV" and "/" equals "-a -b "$ROOTFS_BLKDEV""
And then the "-n "$ROOTFS_BLKDEV" -a "$ROOTFS_BLKDEV" != "/" -a -b "$ROOTFS_BLKDEV"" comparison makes three.
What is means is "if $ROOTFS_BLKDEV is non-empty, and if it isn't "/" and if it is a valid block device"
If you run "fsck -T -N" in the rescue system, what is the output?
Rescue:~# fsck -T -N /dev/hda2 [/sbin/fsck.reiserfs(1) -- /dev/hda2] fsck.reiserfs /dev/hda2 Jerome