Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Every time I try to use the "mdir" command on Ubuntu 9.10, I get this message:

Can't open /dev/fd0: No such file or directory
Cannot initialize 'A:'

Any idea what it means, and how to fix it?

Edit: I am trying to mount a directory, as in these instructions (see Klaus Rennecke's answer).

To sum it up into commands:

Prequesites: sudo apt-get install fuse-utils sshfs

Mount dir: mdir ~/

Mounting: sshfs ~/ -o idmap=user,workaround=rename

Run update: cd ~/; bzr update

share|improve this question
thanks; the extra info helped clarify your question. – quack quixote Oct 7 '09 at 23:35
Thanks, your post on Launchpad answered my question. Post it here too, so I can mark it as the accepted answer. – Matthew Pirocchi Oct 7 '09 at 23:40
i posted it here before i posted to launchpad -- check the update at the top of the answer. – quack quixote Oct 7 '09 at 23:43
up vote 2 down vote accepted

Update: Your instructions have a typo; it's telling you to make a directory, so you should run mkdir instead of mdir.

"mdir" is an old tool for accessing DOS-formatted floppy disks without mounting the floppy. You probably don't want that. (It's part of the mtools package, which you are probably safe in uninstalling.)

Are you trying to

  • make a directory? Use mkdir

  • remove a directory? Use rmdir

  • move a directory? Use mv

share|improve this answer
I edited the question to address this. – Matthew Pirocchi Oct 7 '09 at 23:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .