Re: multimounting cdroms ???

From: H. Peter Anvin (hpa@transmeta.com)
Date: Fri Jul 28 2000 - 01:39:45 EST


Alexander Viro wrote:
>
> On Thu, 27 Jul 2000, H. Peter Anvin wrote:
>
> > This is OK with me, *IF AND ONLY IF* we don't want to add to /etc/mtab,
> > or mess around with the locks mount(8) does... I refuse to code that
>
> I don't see why would we want to.
>
> > into autofs. The C equivalent is quite nice; however, it is rather
> > unfortunate from an autofs standpoint that the "both directories or both
> > non-directories" requirement exists (autofs don't have
> > "non-directories".)
>
> Erm? Do you have to mount non-directories, in the first place?
> Transformations of files to directories may be _very_ confusing for
> userland - that just does not happen.

You don't *have* to, but it is sometimes nice *to be able to*. You can
change files to directories with rename(), unless you're talking about
changing already open file descriptors.

        -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:26 EST