Messages in this thread | | | Date | Thu, 27 Jul 2000 23:39:45 -0700 | From | "H. Peter Anvin" <> | Subject | Re: multimounting cdroms ??? |
| |
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/
| |