mkdir -p /nfs

也就是加上-p参数,之前只知道是递归创建目录,于是就发问了,得到的答案是:

-p, --parents
              no error if existing, make parent directories as needed