[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to make a directory name with '/' in it?
From: |
Eric Blake |
Subject: |
Re: How to make a directory name with '/' in it? |
Date: |
Mon, 17 May 2010 08:20:02 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b1 Mnenhy/0.8.2 Thunderbird/3.0.4 |
On 05/16/2010 09:51 AM, Chris F.A. Johnson wrote:
> On Sun, 16 May 2010, Peng Yu wrote:
>
>> I tried the following command to create a dir with '/' in the name.
>> But it only create a directory with name 'm'. Is there a way to make a
>> directory with '/' in the name?
>>
>> mkdir m\/\/
>
> There are two characters that cannot be in a file or directory
> name: / and NUL.
And the Austin Group (the people in charge of POSIX) are considering
adding a third forbidden byte in the next revision of POSIX: the newline
character. Help in formulating that adjustment to the standard would be
appreciated on the austin group lists (membership is free).
--
Eric Blake eblake@redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature