win,unix

 
Thread Tools Search this Thread
Special Forums Windows & DOS: Issues & Discussions win,unix
# 1  
Old 06-09-2002
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
# 2  
Old 06-16-2002
linking

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
# 3  
Old 07-12-2002
Mounting Win Partations/directories on UNIX filesystems

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.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Execute a shell script in UNIX m/c from win 7 using ksh

I need to run a shell script on unix machine from windows 7. I used the "RSH" command in win XP successfully for this, But on win 7 it is not working. Can any body tell me how to run RSH on win 7 or any other command for similar use. I use the command as below rsh <unix m/c> -l <username>... (1 Reply)
Discussion started by: arup1980
1 Replies

2. UNIX for Dummies Questions & Answers

Best way for central user managet UNIX/Linux/win?

Hey there, I want to centralize my user managet in the next days, at first i want only centralize the user from my local network and later also from my servers. So I started looking around what I could use for this and only found openLDAP. I want to manage users for linux, OSX and Windows (if... (3 Replies)
Discussion started by: dryPants
3 Replies

3. Shell Programming and Scripting

FTP file from win to UNIX

hi all, i hv written the script for file transfer when i am trying to transfer the file on windows machine only same desktop from one location to another location that is working fine but when i am trying to transfer the same to unix server it is going in infinte loop and file is also not getting... (5 Replies)
Discussion started by: ripudaman.singh
5 Replies

4. Windows & DOS: Issues & Discussions

RCP from Sco Unix to Win XP

Hello, Native XP rcp does not have a password prompt as far as I can see. I require a rcp.exe to copy a file from Sco to my XP pc. I did have this program that was part of pcnfs a few years ago. I need to run a scheduled batch job from a command line being. rcp.exe 192.168.5.33 -user root... (0 Replies)
Discussion started by: phil martin
0 Replies

5. UNIX for Dummies Questions & Answers

move from Win -> Unix

I'd like to become a web applications developer, and the company I currently work for use Sun/Apache and Perl, CGI and Python and Oracle to develop in (which is a little unfortunate for me as I have MS IIS and ASP/VBScript and SQL from my last job). I have an old laptop I'd like to convert from... (2 Replies)
Discussion started by: dawn
2 Replies

6. UNIX for Advanced & Expert Users

mount Win folder in UNIX ??

Hello, I like to mount an windows folder on my NT4 system in my UNIX system. How can i do that, i have installed SAMBA 2.2.7 on my Unix machine so i can access the UNIX machine from the NT . Do i need to install anything on the NT machine, or anymore software on the UNIX. I tried to do an... (5 Replies)
Discussion started by: sajjan2
5 Replies

7. UNIX for Dummies Questions & Answers

Dummie Please Help With Unix And Win Xp

Please help : I have a question i am just starting to study UNIX and i need some advice,as my teacher isn,t the helpful type. I have just formatted my pc and partitioned it with win98 and winxp, do i need to create a partion for UNIX ??? OR is UNIX run in whatever partion i want it ???? Will... (6 Replies)
Discussion started by: DAFFYY30
6 Replies

8. UNIX for Dummies Questions & Answers

UNIX/Win passwd synchronization utility

I know I saw a couple posts about this a long time ago, but could not find them with search. Please refresh my memory. -Chuck (1 Reply)
Discussion started by: 98_1LE
1 Replies
Login or Register to Ask a Question