0

Is there any other way to refer to the root directory besides "/"?

I have a ReadyNAS Pro on which I'm trying to set up a backup. When it asks me what directory I want to back up, it wants me to leave off the leading slash. For example, it wants me to enter "home/jason" if I want to back up "/home/jason". This is problematic when I want to back up "/" because it won't accept "" as a path.

I've tried creating a symlink for "/" but that didn't work.

Is there any other way to refer to the root directory? Any other thoughts on how to solve the problem?

Jason Swett
  • 1,458
  • 4
  • 23
  • 37

1 Answers1

1

Try /. or /./ if it insists on it ending with a trailing slash.

Edit: Note that I'm not sure how RedyNAS does its backups -- If it's going to create a directory and copy files into it you may wind up with a horrible circular mess and a full disk... Test this on non-valuable data first :-)

voretaq7
  • 79,345
  • 17
  • 128
  • 213