Re: multimounting cdroms ???

From: Jamie Lokier (lk@tantalophile.demon.co.uk)
Date: Fri Jul 28 2000 - 03:43:36 EST


H. Peter Anvin wrote:
> > 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.

Yes it is potentially nice for cd-into-tar file tricks too. Perhaps
confusing for userspace, but I see no fundamental reason to disallow it.

On this theme, does mount --bind --replace now provide a mechanism for
atomic replacement of non-empty directories then?

-- Jamie

-
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