lkml.org 
[lkml]   [2000]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: multimounting cdroms ???
Alexander Viro wrote:
> >
> > Well, it is necessary that the bindings are listed somewhere.
> > Personally, I would prefer a /proc/vfsbind or something like that, and
> > be done with it.
>
> Erm? They are already in /proc/mounts, for one thing...

/proc/mounts is a bad location, I think; for one thing, the number of
actual mount at least used to be :) fairly limited. Also, /proc/mounts
is impossible to parse cleanly -- if you have mount points with spaces
or
\n or some such you can really wreck havoc (we need a standard escaping
algorithm for /proc, or insert null terminators.)

-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/

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