Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

fstab mounting cache drive remotely with dot in path

Featured Replies

This has been driving me crazy

 

On ubuntu this will work

 

//server/cache  /server cifs  guest,uid=1000,iocharset=utf8,codepage=unicode,unicode  0  0

 

however this wont

 

//server/cache/.down  /server cifs  guest,uid=1000,iocharset=utf8,codepage=unicode,unicode  0  0

 

and neither will

 

//server/cache/\056down  /server cifs  guest,uid=1000,iocharset=utf8,codepage=unicode,unicode  0  0

 

or

 

//server/cache/\.down  /server cifs  guest,uid=1000,iocharset=utf8,codepage=unicode,unicode  0  0

 

anyone have any clue how to escape a dot "." when remotely mounting an unraid cache drive folder using fstab

How about "..." or '...'

 

"//server/cache/.down"  /server cifs  guest,uid=1000,iocharset=utf8,codepage=unicode,unicode  0  0

  • Author

Unfortunately no luck.

 

I noticed it wasn't liking some of the options so i removed them, tweaked folder names, checked permissions and reran:

 

//SERVER/cache/.downloads  /downloads/tmp  cifs  guest,uid=1000,iocharset=utf8  0  0

mount error(2): No such file or directory

 

//SERVER/cache/\056downloads  /downloads/tmp  cifs  guest,uid=1000,iocharset=utf8  0  0

mount error(2): No such file or directory

 

"//SERVER/cache/.downloads"  /downloads/tmp  cifs  guest,uid=1000,iocharset=utf8  0  0

mount.cifs: bad UNC ("//SERVER/cache/.downloads")

 

'//SERVER/cache/.downloads'  /downloads/tmp  cifs  guest,uid=1000,iocharset=utf8  0  0

mount.cifs: bad UNC ('//SERVER/cache/.downloads')

 

//SERVER/cache/'.downloads'  /downloads/tmp  cifs  guest,uid=1000,iocharset=utf8  0  0

Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

 

Have you tried mounting non-dotted subdirectories of the cache dir to see if that works? As in, //SERVER/cache is a share, .downloads is a subfolder of the share. Try just making a normal directory under //SERVER/cache and see if you can mount it. I would have thought you mounted the share, then if you wanted to link the subdirectory you'd just make a symlink.

 

Also, I assume you also can't manually mount it with the mount command, or is this exclusively an fstab issue? Can you actually see / change directory to the .downloads folder if you mount //SERVER/cache?

  • Author

As per OP it is only fstab and the dot that is causing issues. I can easily mount "//SERVER/cache/downloads" but cannot mount "//SERVER/cache/.downloads"

 

I can obviously get around this in one of a few other ways but I am keen to solve the actual core issue for myself and the record.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.