Today I had a very curious message when trying to mount a file system on
a non-empy directory
cannot mount '/export/home/ml/mydirname': directory is not empty
Afaik, mounting on a non empty directory has always been allowed: the
original contents is just temporarily hidden.
mounting was done automatically as a byproduct of
zpool import -d /dev/lofi szpool
szpool had been created by
zpool create -m /export/home/ml/mydirname szpool /dev/lofi/1
Is there a good reason to prohibit mounting on a non-empty directory in
this case ? Is there a way to avoid this constraint ?
openindiana-discuss mailing list