On 2011/11/19 at 19:24, Alexander Best <[email protected]> wrote:
> 
> hi there,
> just stumbled upon this little detail:
> 
> 1) have "/" mounted read-only
> 2) 'make buildkernel'
> 3) 'make installkernel && echo "success"'
>    -> this will fail
> 4) 'mount -uw /'
> 5) 'make installkernel && echo "success"'
>    -> this will succeed
> 6) 'mount -ur /'
> 7) 'make installkernel && echo "success"'
>    -> this will succeed. why?

According to mount(8), 'mount -ur /' will fail if / is already mounted
read-write with any files currently opened by some processes. I think
this might be your case.

> 
> cheers.
> alex
> ................ 



-- 
If you've got them by the balls,
their hearts and minds will follow.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "[email protected]"

Reply via email to