💻 Software
Export NFS path containing "-" (dash)
Fresh6 days ago
Mar 15, 20265117 viewsConfidence Score0%
0%
Problem
I'm in a bit of a pinch with NFS exports file. Specifically, I can't find a way to export a directory containing "-" in the path name. Manual (exports(5)) states: It then states: Unfortunately, that is not the case. Specifically, if the pathname contains "-", either verbatim, or with \055 or is enc…
Error Output
Also, each line may have one or more specifications for default options
after the path name, in the form of a dash ("-") followed by an option
list…Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Export NFS path containing "-" (dash)
Low Risk
This is a bit of a hack but you can create bind mounts to each of the directories and export the bind mounts destinations. Something like: I'm not sure if having tons of mounts will slow down file access though.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix