mount: special device dev/hda2 does not exist

Felipe Alfaro Solana felipe_alfaro at linuxmail.org
Wed Feb 2 14:17:33 UTC 2005


On 2 Feb 2005, at 09:29, THUFIR HAWAT wrote:

> Thank you, Felipe.  I believe I already made the directory, but I'll 
> re-boot and double check on that and the "/".  I'll do a man on mkdir, 
> but does the -p matter?

The "-p" switch tells mkdir to create /mnt directory if it doesn't 
exist. Then, it creates hda2 inside /mnt.

It's a way to avoid doing:

mkdir /mnt
mkdir /mnt/hda2




More information about the users mailing list