On Monday 19 August 2002 05:58 am, Pixel wrote:
> allen <[EMAIL PROTECTED]> writes:
> > When in fact there is no mount point, /mnt/root/aif-mount.
>
> there is! During install "/" is mounted as "/mnt".
Aha !
> > The invalid argument would be "/mnt/root/aif-mount".
>
> nope, when the directory where to mount doesn't exist, one gets:
> No such file or directory
Aha ! Doh !
> one would get an "Invalid argument" if the loopack was not properly
> losetup'ed
Uh oh...
2 things then 1) Look at this
>From fs.pm:
-------------------------------------------------------------------
# really mount as ext2 during install for speed up
$fs = 'ext2';
}
if (member($fs, @fs_modules)) {
eval { modules::load($fs) };
} elsif ($fs eq 'iso9660') {
eval { modules::load('isofs') };
}
log::l("calling mount($dev, $where, $fs, $flag, $mount_opt)");
syscall_('mount', $dev, $where, $fs, $flag, $mount_opt) or die
_("mounting partition %s in directory %s failed", $dev, $where) . " ($!)";
--------------------------------------------------------------------------------
/root on my system is under here... /dev/hda5 on / type reiserfs (rw,notail)
This is not ext2 obviously.
2) If that's not the problem then... what about $flag ?
( From report.bug )
* calling mount(/dev/loop0, /mnt/root/aif-mount, vfat, -1058209792,
check=relaxed)
Flags is a big negative integer.
> and losetup *did not* fail :-(
>
> anyway, a solution is to check the mounting for errors.
Maybe it is to check the file system type or some bug in $flags.
?
-AEF