LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-14-2005, 07:24 AM   #1
Mauline
LQ Newbie
 
Registered: Mar 2005
Distribution: Redhat, Suse, Solaris (o:
Posts: 11

Rep: Reputation: 0
Question smbfs-mount //server/c$


Hello,

can somebody tell me how to mount a share like "//server/c$" - the problem is that the mount-command doesn't interpret the $-sign and it's not possible to change the name of the share ...

Please help!

TIA
Mauli
 
Old 03-14-2005, 08:49 AM   #2
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
Have you tried to escape the dollar sign like this:
Code:
mount -t smbfs //server/c\$
If that doesn't work, post the exact command you are attempting to use (feel free to change any usernames or passwords used to something ambiguous) along with any setup you did and any error messages returned.
 
Old 03-14-2005, 10:16 AM   #3
idefinehell
LQ Newbie
 
Registered: Feb 2005
Distribution: FC3
Posts: 24

Rep: Reputation: 15
There r many ways to mount a windows file system

I)
mount -t smbfs -o username=Admin //ip_of_the_remote_pc/c$ /mnt/win

II)
service lisa start

and in konqueror type

lan:/ip_of_the_remote_pc

this will list all the services running on the remote machine

note that it's a single slash

Hope this helps :-)

post u r result
 
Old 03-14-2005, 10:41 AM   #4
anindyanuri
Member
 
Registered: Jan 2005
Location: India
Distribution: Kubuntu Gutsy
Posts: 450

Rep: Reputation: 30
Re: smbfs-mount //server/c$

Quote:
Originally posted by Mauline

can somebody tell me how to mount a share like "//server/c$" - the problem is that the mount-command doesn't interpret the $-sign and it's not possible to change the name of the share ...

You may try this way.

1. Create the mount point
Code:
% mkdir /c
% chmod a+rw /c
2. Mount the drive manually to make sure it works.
Code:
% mount /dev/hda1 /c -t vfat
3. If that worked, you can make it easier or automatic to mount by adding the following line to /etc/fstab:
Code:
 /dev/hda1 /c vfat noauto,user 0 2
4. With step 3 completed, you can now use the following command to mount the Win98 partition (this is how my machine is set up):
Code:
%mount /c
5. If you want to have /c mounted automatically at boot time, change the "noauto" in step 3 to "auto".

I have obtained the above from others. I am giving you the same as it is working fine for me and tested with several friends of mine. You may try it.
Regards
 
Old 03-14-2005, 12:03 PM   #5
Mauline
LQ Newbie
 
Registered: Mar 2005
Distribution: Redhat, Suse, Solaris (o:
Posts: 11

Original Poster
Rep: Reputation: 0
Hi folks,

thanks for your replies!

I'm using a rather tricky configuration (automounter mounts samba-shares which are accessible over samba then)...

What comes out in the end is something like

smbmount //server/c$ /mountpoint -o rw,username=xy,password=xy,gid=xy, uid=xy

I tried //server/c\$ - but smbmount still want's to mount just //server/c and also a mount like

mount -t smbfs -o username=xy //server/c$ /mountpoint doesn't work...

I'm confused now (so confused that I alsor tried weird things like "//.../") (o:




 
Old 03-14-2005, 06:57 PM   #6
cowanrl
Member
 
Registered: Dec 2004
Location: Western Pennsylvania, USA
Distribution: Red Hat
Posts: 150

Rep: Reputation: 15
What version of Samba are you using? I'm using Samba 3.0.11 on RH9 and it works on mine. I execute:

smbmount //server/c$ /mountpoint -o username=xxxx,password=xxxx

and I have access to the entire C drive on the Windows machine.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount smbfs vs cifs Zurvan Linux - Networking 2 12-29-2006 02:46 PM
problems with smbfs mount-point in /etc/fstab - "mount -a" works, but not at boottime MarkSide Linux - Software 4 11-20-2005 03:30 PM
cannot mount smbfs flipboi Linux - Security 2 08-12-2004 09:18 AM
mount -t smbfs loganwva Linux - Networking 1 10-21-2003 11:02 AM
smbfs mount failure MPowell Linux - Networking 0 04-05-2002 02:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration