[issue1537] null mount does not accept -o update

Stathis Kamperis (via DragonFly issue tracker) sinknull at leaf.dragonflybsd.org
Thu Nov 19 23:53:51 PST 2009

Stathis Kamperis <ekamperi at gmail.com> added the comment:

> I noticed that I can't remount nullfs by mount(8).  The patched
> mount_null accepts only one argument (the mountpoint to be remounted)
> when MNT_UPDATE is specified either by -u or by -o update, but
> what mount(8) passes to filesystem-specific mount commands like this:
>   # mount -ur /mnt/pt
>   -> mount_${foo} -o ro -o update /path/to/special /mnt/pt
>   # mount -uw /mnt/pt
>   -> mount_${foo} -o noro -o update /path/to/special /mnt/pt
> I think that the following patch on top of yours does this for you,
> although I only tested it slightly.

I'm in the middle of a build. Once it finishes, I'll apply your modifications on
top of my patch & re-run all the tests I've done so far, plus your test cases
that involve mount(8).

If everything works and given that Dillon didn't object, I'll push it in the
next couple of days.



DragonFly issue tracker <bugs at lists.dragonflybsd.org>

More information about the Bugs mailing list