From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: Adding subroot information to /proc/mounts, or obtaining that through other means Date: Wed, 20 Jun 2007 15:46:54 -0700 Message-ID: <4679AE5E.4050001@zytor.com> References: <467994BD.6000403@zytor.com> <20070620220551.GX7226@petra.dvoda.cz> <20070620224135.GC6258@gallifrey> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Karel Zak , Linux Kernel Mailing List , linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, util-linux-ng-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "Dr. David Alan Gilbert" Return-path: In-Reply-To: <20070620224135.GC6258@gallifrey> Sender: util-linux-ng-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-fsdevel.vger.kernel.org Dr. David Alan Gilbert wrote: >=20 > What happens with the (sick) case of spaces in directory names? > Also is it really nicely defined that there is no way to put a space > in an option in any of the filesystems? I suppose someone > particularly sick could have a device node in a directory with a spac= e > in it. It would be nice if new formats for this are being defined > to make it cover everything. >=20 That's already handled just fine: bash-3.1$ mkdir /tmp/'Jag =E4r: \ en liten mask' bash-3.1$ sudo mount -t tmpfs none '/tmp/Jag =E4r: \ en liten mask'/ bash-3.1$ tail -1 /proc/mounts none /tmp/Jag\040=E4r:\040\134\012en\040liten\040mask tmpfs rw 0 0 bash-3.1$ -hpa