chiark / gitweb /
fstab-generator: make error more helpful in case of duplicates in fstab
authorTom Gundersen <teg@jklm.no>
Tue, 27 Nov 2012 00:09:28 +0000 (01:09 +0100)
committerTom Gundersen <teg@jklm.no>
Tue, 27 Nov 2012 00:57:57 +0000 (01:57 +0100)
commit67ab5f761f9b854d8ce85f9ee47b298e497f8bd9
tree30d2a137471b7b43d717f1c67388751ceee76200
parent1d634e21b453f3c80d7c6c4bd90a6b84e42a3d2a
fstab-generator: make error more helpful in case of duplicates in fstab

Traditional sysvinit systems would not complain about duplicates in
fstab. Rather it (through monut -a) would mount one fs on top of another,
in effect the last entry taking precedent.

In systemd, the first entry takes precedent, all subsequent ones are
ignored and an error is printed.

The change of behavior and the source of this error message was causing
some confusion, so give a hint what migt be wrong.
src/fstab-generator/fstab-generator.c