To list bind mounts, we can use the findmnt command. For bind mounts, findmnt prints out the directories mounted in a pair of square brackets. Then, we can use this the following:
findmnt
findmnt | grep -E "\[.*\]"
No comments:
Post a Comment