Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/etc



On Fri, 10 Jul 2009, Christos Zoulas wrote:
> Index: src/etc/rc.d/fsck_root
> -             *:/:*)  break
> +             *:/:*)  case "${fs_spec}" in
> +                     *:*)
> +                             echo "Not checking /: nfs mounted"
> +                             return
> +                             ;;
> +                     esac

OK, this looks for ":" in the fs_spec column, and assumes that that's
an indication that the file system is nfs, and should therefore not be
fscked.  Why not look for "nfs" in the fs_vfstype column, or simply
remove this test and rely on the test for "0" in the fs_passno column?

--apb (Alan Barrett)


Home | Main Index | Thread Index | Old Index