lkml.org 
[lkml]   [2011]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: extra slash in current path
From
On Thu, Jun 23, 2011 at 3:32 PM, yuyichao-mit <yuyichao@mit.edu> wrote:
> On Thu, Jun 23, 2011 at 9:31 AM, Lars Täuber <taeuber@bbaw.de> wrote:
>> Hi,
>>
>> Am Thu, 23 Jun 2011 09:14:18 -0400
>> yuyichao-mit <yuyichao@mit.edu> schrieb:
>>> The problem is like this:
>>>
>>> $ cd /
>>> $ pwd
>>> /
>>>
>>> $ cd /
>>> $ pwd
>>> //
>>
>> didn't you mean?:
>> $ cd //
>> $ pwd
>> //
>
> yes, exactly.
>
> Sorry for the typo (copy-paste~~~)
>

Is this really a kernel issue?
rw@raccoon:~> cd //
rw@raccoon://> pwd
//
rw@raccoon://> ls -l /proc/self/cwd
lrwxrwxrwx 1 rw users 0 23. Jun 15:53 /proc/self/cwd -> /
--
Thanks,
//richard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-06-23 15:57    [from the cache]
©2003-2011 Jasper Spaans