Linux fstab: mount a path containing spaces

Just ran across that, so here it is.

Let’s say you want to CIFS mount a windows share — say “//server01/it stuff$”, but your Windows admin put spaces in the path.
Replace the spaces with 40.

So, in your /etc/fstab, the line would give:

[sourcecode language=’bash’]//server01/it40stuff$ /home/fblaise/mnt/MyITDrive cifs username=fblaise,password=yoursinhere,uid=1000,gid=100,_netdev 0 0[/sourcecode]

It will then work, and your linux apps which cannot see beyond your local filesystems will have a new life 😉

FacebookTwitterGoogle+LinkedInRedditEmailShare

32 thoughts on “Linux fstab: mount a path containing spaces”

  1. Great weblog here! Additionally your site a lot up very fast!

    What host are you the use of? Can I am getting your associate link for
    your host? I desire my site loaded up as quickly as yours lol

  2. Thank you for the excellent writeup. It was any amusement consideration this. Peek complicated for you to a lot launched flexible within you! Having said that, what exactly is connect?

  3. If you are going for best contents like I do, simply visit this web page every day since it presents feature contents, thanks

  4. Hey! I know this is kinda off topic but I was wondering which blog platform are you using for this website?
    I’m getting tired of WordPress because I’ve had issues with hackers and I’m looking at options for another platform. I would be fantastic if you could point me in the direction of a good platform.

  5. We’re a group of volunteers and opening a new scheme in our community. Your site offered us with valuable info to work on. You’ve done
    an impressive job and our whole community will be grateful to you.

  6. Definitely believe that which you stated. Your
    favourite reason appeared to be at the net the easiest factor to
    take into account of. I say to you, I certainly get irked at the same
    time as other folks consider concerns that they plainly do not recognise about.
    You managed to hit the nail upon the top and outlined out the whole thing with no need side-effects ,
    other people can take a signal. Will probably be
    back to get more. Thanks

  7. I do not know whether it’s just me or if perhaps everyone else experiencing problems with your website. It appears like some of the text in your posts are running off the screen. Can someone else please provide feedback and let me know if this is happening to them as well? This could be a issue with my browser because I’ve had this happen previously.
    Thanks

  8. Overall ideas-The pros and Cons Warframe is a fantastic third person shooter game that has a lot to offer and has
    lots of replayability. You gain levels as you shoot your
    way through the missions and accumulate rewards which add to the abilities,
    weapons, and gear of characters. This game is completely free on line
    but you can choose to pay to customize your character.

    My blog post – Warframe Platinum Generator

  9. However, you stand a better chance if you have a car accident lawyer.

    He was in the car crash when Westing’s face was maimed, and he himself has
    a permanent limp from the same crash. However, when an individual is covered, the Denver auto
    accident attorney may advise you to sue the insurance company.

  10. I do accept as true with all of the concepts you have presented on your post.
    They’re really convincing and will certainly work. Still, the posts are
    too quick for beginners. May just you please lengthen them a bit from
    next time? Thank you for the post.

  11. Hey, I think your blog might be having browser compatibility issues.
    When I look at your website in Firefox, it looks fine but when opening in Internet Explorer, it has
    some overlapping. I just wanted to give you a quick heads up!
    Other then that, fantastic blog!

  12. Pingback: Dabbledstudios.Com
  13. Pingback: buy Slim Trim
  14. The firms need to hire sensible and professional writers
    to generate the apt content and articles. If that company did have to install a thousand copies of Windows onto all of their workstations, they would not get
    a thousand install discs from Microsoft. Right click on No – Changing – Wallpaper, click
    Modify, and change the value to 0.

  15. Difficult though it still might not be enough of the tough times we went to the
    thread. Blood tests can be prevented or treated easily when detected in her circulatory system and urine are above 25 mIU/ml.
    In Jody’s mind, I haven’t taken it at home, they are a
    few days after ovulation, urine test to verify whether
    you are pregnant, if you are taking medicines.

    My web page negative pregnancy test

  16. Oh my goodness! Incredible article dude! Many thanks, However I am encountering issues with your RSS.

    I don’t understand why I am unable to join it. Is there
    anybody having the same RSS issues? Anyone that knows the answer will you kindly respond?
    Thanks!!

    Here is my homepage :: valentine app

  17. I’d like to thank you for the efforts you’ve put in penning
    this blog. I am hoping to view the same high-grade blog posts by you later on as well.
    In truth, your creative writing abilities has motivated me to get my
    own, personal site now 😉

  18. I was wondering if you ever considered changing the page layout of
    your blog? Its very well written; I love what youve got to say.
    But maybe you could a little more in the way of content so people could connect with it better.
    Youve got an awful lot of text for only having one or 2 images.
    Maybe you could space it out better?

Leave a Reply

Your email address will not be published. Required fields are marked *