CYgwin > Mount network drive
clement.
Posted messages
304
Status
Member
-
clement. Posted messages 304 Status Member -
clement. Posted messages 304 Status Member -
Hello everyone,
I am starting to use Cygwin, and I wanted to know if it is possible to mount a network drive from its bash shell? Even after a reboot...
Since the fstab is not present, I am not sure if it is doable.
I tried to create a mount point (by the way, the mnt directory does not exist), so I created /mnt/test
and I tried to use a mount (the command does exist)
mount -t //ip /mnt/test
there are no errors, but when I try to look via cd /mnt/test, it takes a little while but unfortunately there's nothing inside... permissions issue?
thanks for your answers.
I am starting to use Cygwin, and I wanted to know if it is possible to mount a network drive from its bash shell? Even after a reboot...
Since the fstab is not present, I am not sure if it is doable.
I tried to create a mount point (by the way, the mnt directory does not exist), so I created /mnt/test
and I tried to use a mount (the command does exist)
mount -t //ip /mnt/test
there are no errors, but when I try to look via cd /mnt/test, it takes a little while but unfortunately there's nothing inside... permissions issue?
thanks for your answers.
Configuration: Windows XP Firefox 3.0.8
4 answers
-
-
-
Hi,
All Linux/Unix pros have no idea?
Well, Linux/Unix pros either use Linux or Unix ;-DDD
I'm not a pro, but I will try to help you, but first start by helping us so that we can help you ;-)
After you've run your command (you need to display it - instead of ip but xxx.xxx.xxx.xxx) since from what I see you're mounting an ip, you need to show us the output of the mount command.
Don't forget to share the remote partition or you won't be able to mount it.
(I assume you have two PCs with Windows)
--
106485010510997108 -
A ti salut lamij20 ^^ it's been a while ;)
thanks for the help.
So it depends, my PC is running Windows yes, but the servers on which I want to share the remote drives are Unix, but one of them is also on Windows NT4 (but that's the most important one for now).
the mount command gives this:
$ mount
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type system (binmode)
c: on /cygdrive/c type system (binmode,noumount)
e: on /cygdrive/e type system (binmode,noumount)
f: on /cygdrive/f type system (binmode,noumount)
I want to point out that I've unmounted what I had mounted... that's not going to help you much...
if I want to mount a drive from a Unix station? I should do:
mount -t /hda/dev1 /test for example?
mount -t l: /hda/dev1 /test if I want the mounted drive to be under my Computer with the L: drive?
Is it possible that without Fstab, the drives if we manage to mount them remain after reboot? (that's the purpose of the maneuver actually)
thanks to you :)
I’m trying to mount via an IP when for example I do