[SunHELP] mount :device not a block device

Chris Pinnock cjep at fawlty.net
Thu Dec 5 06:50:32 CST 2002


On Thu, Dec 05, 2002 at 09:40:07AM +0100, Simon Jespersen 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.
> 
> My question is that possible to do that. And is it usefull in some ways. We
> are working on sol8.

I think you can use the loopback file system for this (a common usage of
this is to setup chroot environments). Have a look at lofs(7FS).

e.g.
mount -F lofs /data/configuration /chroot/data/configuration

regards,
Chris



More information about the SunHELP mailing list