DragonFly BSD
DragonFly bugs List (threaded) for 2009-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[issue1537] null mount does not accept -o update


From: "Stathis Kamperis \(via DragonFly issue tracker\)" <sinknull@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 20 Nov 2009 07:52:35 +0000

Stathis Kamperis <ekamperi@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.

Thanks!

Cheers,
Stathis

_____________________________________________________
DragonFly issue tracker <bugs@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1537>
_____________________________________________________



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