Strange Difference Between Debian and Ubuntu

While setting up my file server, I encountered an odd difference in what I was seeing on my Ubuntu server, versus what I was told works perfectly on Debian. Specifically, on the latter, you can mount --bind a directory and make it read-only at the same time, but on Ubuntu mount --bind explicitly cannot change the mount options, and the same operation (mount -o bind,ro ...) requires two distinct commands (mount --bind ... && mount -o remount,ro ...)!

I know Ubuntu isn’t Debian, but it is based on it! Sure, it does things “the Ubuntu way”, which isn’t necessarily “the Debian way”, but you would expect a low-level utility like mount — especially one that is common across all the *nixes! — to behave basically the same between Ubuntu and its spiritual (if not actual) upstream Debian. So very strange that it would not, very strange indeed…

Will post about my file server build and setup (including this very odd discovery) later. Just wanted to share this confusion and ask if anyone knows of any other odd differences between Debian and Ubuntu, or know of the reason for this one.

This entry was posted in Tech and tagged , . Bookmark the permalink.

2 Responses to Strange Difference Between Debian and Ubuntu

  1. Charles says:

    What are the respective version numbers of mount installed? Does a newer version strip out some arcane usage?

    • Kromey says:

      2.13.1 on Debian and 2.17.2 on Ubuntu. Seems really odd that they would remove a feature in a later version, especially if it’s a usage they felt warranted a paragraph in Ubuntu’s man page. You can see the discussion about it on Stack Exchange.

Comments are closed.