1

I'm building a script and am able to mount by uuid using mount -U UUID, but I can't seem o unmount by uuid.

Is this type of operation possible? How would I do it? umount doesn't seem to have this option.

5

You can try..

umount /dev/disk/by-uuid/$UUID
1
  • This is much easier than my (deleted) answer. – ajgringo619 Aug 20 '19 at 3:56

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.