[SunHELP] mount :device not a block device

Kurt Huhn kurt at k-huhn.com
Thu Dec 5 07:53:44 CST 2002


"Simon Jespersen" <shj at pine.dk> wrote:

> Hi
> 
> I have had a little diskusson with some of my collegs about mounting. They
> try to mount directory a to directory b on the same filesystem on the same
> machine, and the get the message a not a block device. My argument (but im
> not shure) is that you cannot mount a directory to a another directory on
> the same filesystem even though it is shared as nfs.
> 


I believe it *is* possible to mount to yourself (checking)....yep.

mount -F nfs server:/path/to/dir/a /path/to/dir/b

However, why wouldn't you just use a symlink?  This is easier, IMO, and uses
less overhead.

ln -s /path/to/dir/a /path/to/dir/b

-- 
Kurt
kurt at k-huhn.com



More information about the SunHELP mailing list