lkml.org 
[lkml]   [2000]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: multimounting cdroms ???
Andries Brouwer wrote:
>
> On Fri, Jul 28, 2000 at 01:19:55PM -0700, H. Peter Anvin wrote:
>
> > Also, /proc/mounts is impossible to parse cleanly -- if you
> > have mount points with spaces or \n
>
> Probably confusion is minimized if the kernel follows what
> mount already does.
>
> Andries
>
> # mount /dev/hde5 /mnt/"my dir"
> # mount | tail -1
> /dev/hde5 on /mnt/my dir type ext2 (rw)
> # tail -1 /etc/mtab
> /dev/hde5 /mnt/my\040dir ext2 rw 0 0

That's perfectly fine with me, and would make a lot of sense. This
isn't the only place in /proc where a standard escape sequence system is
needed.

-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.102 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site