Re: [lorenl@alzatex.com: Re: Mounting a samba share on boot?]

From: Loren M. Lang (lorenl_at_alzatex.com)
Date: 01/31/05

  • Next message: Loren M. Lang: "Re: port update problem - deleted all the ports"
    Date: Mon, 31 Jan 2005 05:47:53 -0800
    To: Mark Ovens <marko@freebsd.org>
    
    

    On Mon, Jan 31, 2005 at 12:38:53PM +0000, Mark Ovens wrote:
    > Loren M. Lang wrote:
    > >replacing MYWORKGROUP, SERVER, USER, secret as neccessary. Make sure
    > >nsmb.conf is only readable by root. Add the following line to fstab:
    > >
    > >//user@server/share /mnt/share smbfs rw 0 0
    > >
    >
    > PMJI, but do you know if it's possible to handle a share name containing
    > a space when mounting smb filesystems using fstab?
    >
    > I tried
    >
    > "//user@server/Drive C"
    > '//user@server/Drive C'
    > //user@server/Drive\ C
    >
    > None of these worked. I know that using spaces in filenames is a Bad
    > Idea, but this is Windows we're talking about here ;-)

    A random guess might be to try: //user@server/Driver%20C
    %20 refers to the ascii character with hex value 20 which is space.
    It's what webservers use for getting around spaces, samba might too.`
    I'd be really curious to see if this works.

    >
    > If it is not possible then perhaps a PR is needed to get this addressed?
    > In my case I renamed the share on the Windows box (which broke a few
    > shortcuts) but this may not always be possible - in a corporate
    > environment for example.
    >
    > Regards,
    >
    > Mark
    >
    >
    >
    >
    > ---
    > avast! Antivirus: Outbound message clean.
    > Virus Database (VPS): 0504-4, 28/01/2005
    > Tested on: 31/01/2005 12:38:54
    > avast! - copyright (c) 2000-2004 ALWIL Software.
    > http://www.avast.com
    >
    >

    -- 
    I sense much NT in you.
    NT leads to Bluescreen.
    Bluescreen leads to downtime.
    Downtime leads to suffering.
    NT is the path to the darkside.
    Powerful Unix is.
    Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
    Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
     
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Loren M. Lang: "Re: port update problem - deleted all the ports"

    Relevant Pages

    • [lorenl@alzatex.com: Re: Mounting a samba share on boot?]
      ... The permissions for files in the mounted fs will be owned by the user ... Bluescreen leads to downtime. ... Downtime leads to suffering. ...
      (freebsd-questions)
    • Re: user setup question
      ... the systems login command. ... Bluescreen leads to downtime. ... Downtime leads to suffering. ...
      (freebsd-questions)
    • Re: Devfs question
      ... as devfs is maintained in memory and all files are created ... Bluescreen leads to downtime. ... Downtime leads to suffering. ...
      (freebsd-questions)
    • Re: UT2004 on FreeBSD
      ... >> Bluescreen leads to downtime. ... >> Downtime leads to suffering. ... >> Powerful Unix is. ...
      (freebsd-questions)
    • Re: UT2004 on FreeBSD
      ... >> not able to access the keyboard or mouse using what ever raw access it's ... >> Bluescreen leads to downtime. ... >> Downtime leads to suffering. ...
      (freebsd-questions)