Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-02-2008, 09:13 PM   #1
Registered: Feb 2007
Posts: 385

Rep: Reputation: 30
mount window dir error

I am trying to mount a window dir from linux using

$ mount // /mnt/drive -o username=joe

and got this following error right away (without enter the password)

mount: block device // is write-protected, mounting read-only
mount: cannot mount block device // read-only

This commands used to work, but I was playing around with uninstalling package, not sure if that cause the problem.

I reinstall samba and check that the service is on. i run out of option now. Can someone help?
Old 07-02-2008, 09:16 PM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
My brief and recent experience with Samba made me think that you might want to add the -t smbfs or -t cifs parameter to the mount command.
mount -t smbfs // /mnt/drive -o username=joe


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Can't nfs mount aix dir on linux client! oracleguy Linux - Enterprise 1 12-21-2005 09:59 AM
unable to mount /home dir in a client machine abhishek124 Linux - Networking 18 06-06-2005 07:57 AM
Change mount cdrom dir desi_nerd Red Hat 2 04-16-2005 01:06 PM
Can't mount Samba share dir in Windows XP wycolorado Linux - Software 22 10-22-2004 06:35 AM
Can I mount only one htfs dir(my documets) for use in RedHat 7.3? Mydchip Linux - General 2 12-17-2002 09:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:48 PM.

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