Velvet Star Monitor

Standout celebrity highlights with iconic style.

updates

Unmount volume, and dependent mounts

Writer Matthew Barrera

I explain:

Currently I have:

A volume mounted to a directory, /mountDirectory And I also have a local directory that has a mount bind to a directory on the volume: /localDirectory mount bind /mountDirectory/directory2 this way from /localDirectory I can see the content as if it were /mountDirectory/directory2

I want to umount the volume, so that /localDirectory is also umounted.

It's possible?

Currently if I do umount /dev/volume, doing lsblk shows me the volume mounted in /localDirectory.

2

1 Answer

try with sudo umount /mountDirectory/directory2 and then sudo umount /mountDirectory

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy