I am trying to make olddir accessible from newdir with the mount command:
mount olddir newdir
Why do I get the following error?
mount: olddir is not a block device
|
I am trying to make
Why do I get the following error?
|
||||
|
|
|
mount attaches block storage devices that contain a filesystem to a directory, which is not what you're trying to do, hence the error message. What you want is to create a link from the new directory name to the old existing name. For that you must use the
|
|||||||
|
|
On Linux one can perform a bind mount, which will splice an existing directory to a new mount point.
Solaris supports an alternate syntax:
*BSD uses
|
|||
|
|