Re: multimounting cdroms ???

From: H. Peter Anvin (hpa@zytor.com)
Date: Wed Jul 26 2000 - 19:22:26 EST


Followup to: <Pine.GSO.4.10.10007261852080.23645-100000@weyl.math.psu.edu>
By author: Alexander Viro <viro@math.psu.edu>
In newsgroup: linux.dev.kernel
>
> ... but doing umount the same number of times you've done mount isn't ;-)
>
> Actually, the more I'm looking at it, the more it seems that correct
> solution is to consider mount as
> if (nothing mounted)
> mount
> else if (mounted is not busy)
> replace
> else
> fail
> Makes sense for union-mounts too - normal mount is =, union is += ...
>

The reason for this feature was to support direct mounts in autofs
(eventually.) However, I understand you have included a way to
trapdoor a dentry instead.

        -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:22 EST