Eric Anderson wrote:
I don't know about the fs corruption, but the double mounts is
something you asked it to do (maybe unknowingly). When you added
that partition, one of the options is to mount it.
Clearly an easy work around in that case then but personally
I would expect a mount to a directory already in use by another
mount point to fail. Taking even further a mount to a directory
that is not actually empty should fail. IIRC this is how solaris
behaves but its been a while.
Checking for an empty target directory certainly makes sence to
me is there some case where it would be desirable to allow this
to happen? If so maybe a force flag should created without which
a mount to a none empty dir would fail. Either way allowing
multiple mounts to the same location is bound to cause all manor
of confusion and should be prevented.
Steve
================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it.
In the event of misdirection, illegible or incomplete transmission please
telephone +44 845 868 1337
or return the E.mail to [EMAIL PROTECTED]
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"