On Mon, Apr 30, 2007 at 07:12:18PM -0400, Mike Frysinger wrote: > On Monday 30 April 2007, Karel Zak wrote: > > -that were mounted earlier with the -n option. > > +that were mounted earlier with the -n option. It also checks for duplicate > > +entries, because for normal non-fake mounts it's kernel that avoid > > duplicate +mounts. > > > > + /* To avoid duplicate entries in mtab -- for normal non-fake mounts > > + * it's kernel that checks duplicates. > > i dont quite understand what this sentence is trying to say ... sounds > awkward ... Trying to say that I need more coffee ;-) Ignore the sentence... I'll fix/remove the comment before commit. Are you satisfied with proposed patch? I think it's better than resolve the problem by update_mtab() (note, it also works with external /sbin/mount.<type> helpers) Karel -- Karel Zak <kzak@xxxxxxxxxx> Red Hat Czech s.r.o. Purkynova 99/71, 612 45 Brno, Czech Republic Reg.id: CZ27690016 - To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html