Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Why is "umount" not named "unmount"?

  1. #1
    Join Date
    Aug 2007
    Location
    Paris
    Beans
    5,538
    Distro
    Ubuntu 11.04 Natty Narwhal

    Why is "umount" not named "unmount"?

    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?

  2. #2
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Why is "umount" not named "unmount"?

    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.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  3. #3
    Join Date
    Aug 2007
    Location
    Paris
    Beans
    5,538
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Why is "umount" not named "unmount"?

    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.

  4. #4
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Why is "umount" not named "unmount"?

    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.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  5. #5
    Join Date
    Jun 2007
    Location
    Porirua, New Zealand
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Why is "umount" not named "unmount"?

    Quote Originally Posted by CharlesA View Post
    I did fine some old IBM documentation that said that umount/unmount were both usable. Maybe that's changed since then.
    I've seen stranger. On an IBM mainframe I once used, the "F" command at the operator's console was an abbreviation for "modify", which in turn meant "pass the following text info to a job/program"
    Forum DOs and DON'Ts
    Never assume that information you find using a search engine is up-to-date.

  6. #6
    Join Date
    Jul 2006
    Beans
    809
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Why is "umount" not named "unmount"?

    I am going to guess that it has to do with saving space.

  7. #7
    Join Date
    Dec 2009
    Location
    germany
    Beans
    1,020
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Why is "umount" not named "unmount"?

    hi
    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
    ciao
    "What is the robbing of a bank compared to the FOUNDING of a bank?" Berthold Brecht

  8. #8
    Join Date
    Dec 2009
    Beans
    23
    Distro
    Ubuntu Development Release

    Re: Why is "umount" not named "unmount"?

    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".

  9. #9
    Join Date
    Nov 2006
    Location
    Oslo, Norway
    Beans
    24
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Why is "umount" not named "unmount"?

    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.

  10. #10
    Join Date
    May 2010
    Beans
    20
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Why is "umount" not named "unmount"?

    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.

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •