never trust mount (on linux at least)
Quick question, how do you list mount points?
A: type mount
? wrong!
mount
reads your /etc/mtab
.
If you actually want to know your current mount points, you ask the kernel/fs.
So do your migraine a favor and use: cat /proc/mounts
instead.
ps: this post was fueled by a Ubuntu/LXC bug which silently remounts the container partition in read-only.
Written by Daniel Tralamazza
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Linux
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#