I've always wondered why the "umount" command isn't "unmount" instead. Do any Unix veterans know if there's a reason, beyond saving a keystroke?
Thought you could use either commands.
EDIT: Scratch that. Just tried unmount and it asked if I meant "umount"
I use umount all the time, and don't even think about it anymore.
Last edited by CharlesA; May 12th, 2010 at 05:59 AM.
I don't remember any Linux distribution where "unmount" was recognized. I assume there's some historical reason for this, but I'd love to know what it is! I assume that if they were just looking to make the command faster to type, they would have used something like "umnt," so it doesn't make sense that they took out the first "n" just to save a keystroke.
Well I guess it kinda makes sense, since you mount drives with the mount command and unmount them with the umount command.
I did fine some old IBM documentation that said that umount/unmount were both usable. Maybe that's changed since then.
Forum DOs and DON'Ts
Never assume that information you find using a search engine is up-to-date.
I am going to guess that it has to do with saving space.
if you want to call umount --> unmount too. use: sudo ln /bin/umount /bin/unmount
this will cost you only a entry in the directory ( because of the same inode ).
and about the reason why it's not called "unmount" --> umount is shorter to type
"What is the robbing of a bank compared to the FOUNDING of a bank?" Berthold Brecht
Maybe it was something to do with not being able to have the same two characters in a command, or maybe a command character limit or something?
Interesting thing, never gave much thought to it, but when I was first starting out with linux (and FreeBSD especially) I was extremely annoyed at why they didn't just name it "unmount" anyway. Seems like a lot more logical thing to have than "umount".
umount is faster to type than unmount. Just try it.
And I'm sure there are worse examples. Open a terminal and hit Tab a couple of times, then y and take a look.
How much faster is unmount that umount... one character - maybe if you're doing it multiple times. I'm sorry but I'm very much intrigued about this umount thing I would laugh if it was simply a typo from ages ago that we're still using now.