Find the answer to your Linux question:
Results 1 to 2 of 2
i have 2 entries that i added to my fstab so i can mount to my NLSU2 network drive. one of them works and the other one doesn't, i believe ...
  1. #1
    Just Joined!
    Join Date
    Mar 2006
    Posts
    1

    Question fstab path space question



    i have 2 entries that i added to my fstab so i can mount to my NLSU2 network drive. one of them works and the other one doesn't, i believe that it is because the path to that drive contains a space.

    here is the working one
    //192.168.1.123/folder /mnt/network/P smbfs username=XXXX,password=XXXX 0 0

    here is the other one
    //192.168.1.123/DISK 1 /mnt/network/N smbfs username=XXXX,password=XXXX 0 0

    i've tried working around it by:
    "//192.168.1.123/DISK 1"
    '//192.168.1.123/DISK 1'
    //192.168.1.123/DISK\ 1

    and none of those work... however if i do a manual "mount -t blahblah" and either one of those WILL work but in the fstab it won't.... any suggestions thanks

    -toad

  2. #2
    Linux Engineer Nerderello's Avatar
    Join Date
    Apr 2003
    Location
    North East England
    Posts
    1,190
    having typed man fstab on my PC , I found the following :-
    Code:
    The second field, (fs_file), describes the mount point for the filesystem.  For swap parti-
           tions, this field should be specified as 'none'. If the name of the  mount  point  contains
           spaces these can be escaped as '\040'.
    hope this helps

    Nerderello

    Use Suse 10.1 and occasionally play with Kubuntu
    Also have Windows 98SE and BeOS

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •