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/
This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:28 EST