Tim Waugh wrote:
> 
> On Thu, 16 Mar 2000, Andrew Clausen wrote:
> 
> > Is there any way to find out what /dev/root is?
> > (My motivation is to check if a partition is mounted)
> 
> stat /

Doesn't work with chroot :-(

/proc isn't smart enough to tell if it's mounted on
a chroot'ed fs.

I think this whole /dev/root in /proc/mounts business is a
bit dubious.  Is there a reason why it doesn't have
/dev/PARTITION...?

Andrew Clausen

Reply via email to