lkml.org 
[lkml]   [2000]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: multimounting cdroms ???
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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.111 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site