>The patch works for me, what's your /proc/mounts and /etc/mtab entry?

/proc/mounts:

  /dev/root / ext2 rw 0 0

/etc/mtab:

  /dev/hda1 / ext2 rw 0 0

/etc/fstab:

  LABEL=/ / ext2 defaults 1 1

./getfsent /:

  device of `/': /dev/root
  dirname of `/': /
  fstype of `/': ext2

./selfcheck:

  ERROR [could not access /dev/root (/): No such file or directory]

I'm not sure why you asked about /etc/mtab.  While it has the right
value, we don't look at it in Amanda (which might be the real problem).
We look at /proc/mounts (which has the wrong /dev value) and MNTTAB,
which is /etc/fstab (which **really** has the wrong /dev value :-).

Maybe we need to look in a third place?

Did you maybe go ahead and create /dev/root and /dev/rroot and that's
why it works for you?

>... we can't check permission on amname_to_dirname(), we
>should check permission of the device.

I agree we should try to properly pre-diagnose a permissions problem
dump will have.  I just don't see it happening unless we (hard code)
add /etc/mtab to the list of places to try and look (in addition to the
other changes you and Alexandre have made to p2).

>Jean-Louis

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]

Reply via email to