Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mounting windows partitions

Status
Not open for further replies.

Titan12022

Technical User
Dec 1, 2003
60
US
This is complecated, so i will start at the begining...
In windows XP I have a partition for my root directory(c:\)
and a partition mounted as a directory for programs (C:\Program Files)
I want to be able to mount these partitions in a similar way in Linux, but the fstab file will not recogonize paths with spaces, or wildcards.
How do I go about mounting my programs partition in my main windows partition in linux?

winXP patition /mnt/hda1/
program partition /mnt/had1/Program Files/
 
use the " char:

mount -t ntfs /dev/hda2 "/Program files"

or escape the space char with \ char:

mount -t ntfs /dev/hda2 /Program\ files

Chacal, Inc.[wavey]
 
I would try to avoid blanks in paths, if possible.

There are a lot of programs, which don't work properly with blanks in paths.
It's the fault of these programs, but sometimes we don't want to know whom's fault it is, but have it work.

seeking a job as java-programmer in Berlin:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top