Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 ~/sftp.my-site.org

Mounting: sshfs sftp-username@sftp.my-site.org: ~/sftp.my-site.org -o idmap=user,workaround=rename

Run update: cd ~/sftp.my-site.org; 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 Oct 7 '09 at 23:40
1  
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
add comment

1 Answer

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 Oct 7 '09 at 23:26
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.