win,unix

hi,
Could anyone tell me mounting windows directories in unix.I have used mount command in all directions like mounting hd00,hd1,hd2,hd3 and so on but that don't work for me

Mohan

you can only mount partitions so far i know. but i want that dir /win/desktop is c:\windows\desktop i simply mount c:/mnt/win and then type ln -s /mnt/win/windows/desktop /win and you can go to /win/desktop to see you c:\windows\desktop directory

It might pay to check up on the option syntax for the mount command for your UNIX machine as they can vary with UNIX flavour. For example, I can mount my WIN C drive on Linux machine (pationed with Windows) with the command:
mount -t vfat /dev/hda1 /dosc

So for example, if you want to mount the C drive every time you log on to your machine, you could apply the following script in your .bashrc file (for BASH) or .cshrc (for C shell) in your home directory

if test -d /dosc; then
if test -s /dosc/boot.ini; then
echo "Dosc is mounted"
else
mount -t vfat /dev/hda1 /dosc
fi
else
mkdir /dosc
mount -t vfat /dev/hda1 /dosc
fi

which mounts the C drive on to the /dosc directory, upon startup.

Try to ensure you have no spaces in your Windows directories/files, that you are mounting to the UNIX files system.