On 04/12/2014 17:12, Bryan J Smith wrote:
> Why would be remove the trailing slash (/) for consistency?

  Because it's missing throughout:

http://wiki.lpi.org/wiki/LinuxEssentials and
https://www.lpi.org/linux-certifications/entry-level-credential/linux-essentials
list:
/usr/share/doc
/lib, /usr/lib, /etc, /var/log
/etc/skel
/etc, /var
/tmp, /var/tmp

https://www.lpi.org/linux-certifications/programs/lpic-1/exam-101/ lists:
/sys
/proc
/dev
/etc/init.d
/boot
/var
/home
/etc/yum.repos.d/ <- exception!
/media

and so on...

> Why not default to directories always having a trailing slash (/)?
>
> -- bjs
>
> On Thu, Dec 4, 2014 at 3:35 AM, Alessandro Selli
> <alessandrose...@linux.com <mailto:alessandrose...@linux.com>> wrote:
>
>
>     On 04/12/2014 10:20, Harald Maaßen wrote:
>>     I think Eric wants to change:
>>
>>       * /etc/network, /etc/sysconfig/network-scripts/
>>
>>     into:
>>
>>
>>       * /etc/network/, /etc/sysconfig/network-scripts/
>>
>>     He only wants one more slash....   ;-)
>>
>
>       All right, however I think that a candidate that correctly
>     identifies /etc/network to be Debian-related and
>     /etc/sysconfig/network-scripts/ to be RedHat-related does know the
>     former is a directory.  On the other hand, since
>     /etc/sysconfig/network-scripts/ does have a trailing slash, it
>     sounds congruous that either both or none of them has it.  I'd
>     vote to remove it from network-scripts/, though ;-)
>
>
>
>>     Am 04.12.2014 um 10:15 schrieb Alessandro Selli:
>>>
>>>     On 04/12/2014 10:04, Alexandru Juncu wrote:
>>>>     On 4 December 2014 at 10:28, Alessandro Selli 
>>>> <alessandrose...@linux.com> <mailto:alessandrose...@linux.com> wrote:
>>>>>     Il 04/12/2014 08:42, Éric Deschamps ha scritto:
>>>>>>     Le 03/12/2014 19:09, Alessandro Selli a écrit :
>>>>>>>     Il 03/12/2014 18:31, Éric Deschamps ha scritto:
>>>>>>>>     Ok, but in this case I would just add the trailing slash to be a 
>>>>>>>> bit
>>>>>>>>     clearer.
>>>>>>>>
>>>>>>>>     Would'nt you?
>>>>>>>       It would be clearer, but RH (at least non ancient versions) does 
>>>>>>> *not*
>>>>>>>     have anything in /etc/network, neither a file nor a directory.
>>>>>>     But Debian family distros have a /etc/network/ directory.
>>>>>       I know.  But this does not cause any ambiguity, because RH does not
>>>>>     have anything in /etc/network.
>>>>>     And:
>>>>>
>>>>>     $ [[ '/etc/network' = '/etc/sysconfig/network' ]] && echo True || 
>>>>> echo False
>>>>>     False
>>>>>     $
>>>>>
>>>>>
>>>>>     QED
>>>>     I think the idea is to cover both the RH and Debian directory 
>>>> structures.
>>>
>>>       Harald Maaßen already answered this.
>>>       He pointed out that this had already been taken care of:
>>>
>>>
>>>     
>>> http://wiki.lpi.org/wiki/LPIC-2#205.3_Troubleshooting_network_issues_.28weight:_4.29
>>>
>>>
>>>             205.3 Troubleshooting network issues (weight: 4)
>>>
>>>     [...]
>>>
>>>     *The following is a partial list of the used files, terms and
>>>     utilities:*
>>>     [...]
>>>
>>>       * /etc/network, /etc/sysconfig/network-scripts/
>>>
>>>
>>>       What else do you think is needed and why?
>>>
>>>     -- 
>>>     Alessandro Selli <alessandrose...@linux.com> 
>>> <mailto:alessandrose...@linux.com>
>>>     Tel. portatile: 340.839.73.05
>>>     VOIP SIP: dhatarat...@ekiga.net <mailto:dhatarat...@ekiga.net>
>>>     Sito web: http://alessandro.route-add.net/
>>>     Chiave firma PGP/GPG signing key: B7FD89FD
>>>
>>>
>>>     _______________________________________________
>>>     lpi-examdev mailing list
>>>     lpi-examdev@lpi.org <mailto:lpi-examdev@lpi.org>
>>>     http://list.lpi.org/cgi-bin/mailman/listinfo/lpi-examdev
>>
>>
>>
>>     _______________________________________________
>>     lpi-examdev mailing list
>>     lpi-examdev@lpi.org <mailto:lpi-examdev@lpi.org>
>>     http://list.lpi.org/cgi-bin/mailman/listinfo/lpi-examdev
>>
>>     -- 
>>     Alessandro Selli <alessandrose...@linux.com> 
>> <mailto:alessandrose...@linux.com>
>>     Tel. portatile: 340.839.73.05
>>     VOIP SIP: dhatarat...@ekiga.net <mailto:dhatarat...@ekiga.net>
>>     Sito web: http://alessandro.route-add.net/
>>     Chiave firma PGP/GPG signing key: B7FD89FD
>
>     _______________________________________________
>     lpi-examdev mailing list
>     lpi-examdev@lpi.org <mailto:lpi-examdev@lpi.org>
>     http://list.lpi.org/cgi-bin/mailman/listinfo/lpi-examdev
>
>
>
>
> -- 
> -- 
> Bryan J Smith - http://www.linkedin.com/in/bjsmith
>
>
>
> _______________________________________________
> lpi-examdev mailing list
> lpi-examdev@lpi.org
> http://list.lpi.org/cgi-bin/mailman/listinfo/lpi-examdev


-- 
Alessandro Selli <alessandrose...@linux.com>
Tel. portatile: 340.839.73.05
VOIP SIP: dhatarat...@ekiga.net
Sito web: http://alessandro.route-add.net/
Chiave firma PGP/GPG signing key: B7FD89FD

_______________________________________________
lpi-examdev mailing list
lpi-examdev@lpi.org
http://list.lpi.org/cgi-bin/mailman/listinfo/lpi-examdev

Reply via email to