On February 8, 2018 3:30:13 PM UTC, Marc Lobelle <[email protected]> wrote: >Hello All, > >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 ? > >Thanks > > >Marc > > > > > >_______________________________________________ >openindiana-discuss mailing list >[email protected] >https://openindiana.org/mailman/listinfo/openindiana-discuss
Clarifying bits WRT my earlier detailed reply: >Afaik, mounting on a non empty directory has always been allowed: the original >contents is just temporarily hidden. Yes for 'mount', no for 'zfs mount' > mounting was done automatically as a byproduct of > zpool import -d /dev/lofi szpool This implies a 'zfs mount', so... Jim -- Typos courtesy of K-9 Mail on my Android _______________________________________________ openindiana-discuss mailing list [email protected] https://openindiana.org/mailman/listinfo/openindiana-discuss
