On 04/12/2014 17:42, Bryan J Smith wrote:
> There are a lot of "exceptions," including the very next section.
>
> There are plenty of "dir/*" entries too.

  Those entries list all the files and subdirs under dir, not the
directory itself.

  However you're right: elsewhere the two notations are pretty much
mixed together.

https://www.lpi.org/linux-certifications/programs/lpic-1/exam-102/ lists:

/etc/skel
/etc/cron
/var/spool/cron/*
~/.gnupg/*

https://www.lpi.org/linux-certifications/programs/lpic-2/exam-201/ lists:
/usr/src/linux
/usr/src/linux/Documentation
/usr/src/linux/
/lib/modules/kernel-version/*
/proc
/boot, /lib/modules
/etc
/proc/sys/kernel/
/etc/sysctl.d/
/etc/init.d/
/etc/rc.d/
/boot/
/boot/grub/
pxelinux.cfg/*
/dev/mapper/
/etc/network, /etc/sysconfig/network-scripts/
/usr/src/
/var/named/*
/etc/ssl/*, /etc/pki/*
/etc/nginx/
/etc/smb/*
/var/log/samba/
/etc/pam.d
/var/lib/ldap/*
/etc/postfix/*
/var/spool/postfix
/var/log/
/etc/courier/*
/proc/sys/net/ipv4
/etc/ssh/*
/etc/openvpn/*


http://wiki.lpi.org/wiki/LPIC-3_300_Objectives
/etc/pam.d/*
/var/log/samba/*
/var/spool/samba


  There is no more coherence in the wiki compared to the master site.
Does anyone have a good reason to prefer one notation vs the other? 
Should we bother?



>
> -- bjs
>
> On Thu, Dec 4, 2014 at 10:41 AM, Alessandro Selli
> <[email protected] <mailto:[email protected]>> wrote:
>
>
>     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
>>     <[email protected] <mailto:[email protected]>> 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 
>>>>> <[email protected]> <mailto:[email protected]> 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 <[email protected]> 
>>>> <mailto:[email protected]>
>>>>         Tel. portatile: 340.839.73.05
>>>>         VOIP SIP: [email protected] <mailto:[email protected]>
>>>>         Sito web: http://alessandro.route-add.net/
>>>>         Chiave firma PGP/GPG signing key: B7FD89FD
>>>>
>>>>
>>>>         _______________________________________________
>>>>         lpi-examdev mailing list
>>>>         [email protected] <mailto:[email protected]>
>>>>         http://list.lpi.org/cgi-bin/mailman/listinfo/lpi-examdev
>>>
>>>
>>>
>>>         _______________________________________________
>>>         lpi-examdev mailing list
>>>         [email protected] <mailto:[email protected]>
>>>         http://list.lpi.org/cgi-bin/mailman/listinfo/lpi-examdev
>>>
>>>         -- 
>>>         Alessandro Selli <[email protected]> 
>>> <mailto:[email protected]>
>>>         Tel. portatile: 340.839.73.05
>>>         VOIP SIP: [email protected] <mailto:[email protected]>
>>>         Sito web: http://alessandro.route-add.net/
>>>         Chiave firma PGP/GPG signing key: B7FD89FD
>>
>>         _______________________________________________
>>         lpi-examdev mailing list
>>         [email protected] <mailto:[email protected]>
>>         http://list.lpi.org/cgi-bin/mailman/listinfo/lpi-examdev
>>
>>
>>
>>
>>     -- 
>>     -- 
>>     Bryan J Smith - http://www.linkedin.com/in/bjsmith
>>
>>
>>
>>     _______________________________________________
>>     lpi-examdev mailing list
>>     [email protected] <mailto:[email protected]>
>>     http://list.lpi.org/cgi-bin/mailman/listinfo/lpi-examdev
>
>
>     -- 
>     Alessandro Selli <[email protected]> 
> <mailto:[email protected]>
>     Tel. portatile: 340.839.73.05
>     VOIP SIP: [email protected] <mailto:[email protected]>
>     Sito web: http://alessandro.route-add.net/
>     Chiave firma PGP/GPG signing key: B7FD89FD
>
>
>     _______________________________________________
>     lpi-examdev mailing list
>     [email protected] <mailto:[email protected]>
>     http://list.lpi.org/cgi-bin/mailman/listinfo/lpi-examdev
>
>
>
>
> -- 
> -- 
> Bryan J Smith - http://www.linkedin.com/in/bjsmith
>
>
>
> _______________________________________________
> lpi-examdev mailing list
> [email protected]
> http://list.lpi.org/cgi-bin/mailman/listinfo/lpi-examdev
>
> -- 
> Alessandro Selli <[email protected]>
> Tel. portatile: 340.839.73.05
> VOIP SIP: [email protected]
> Sito web: http://alessandro.route-add.net/
> Chiave firma PGP/GPG signing key: B7FD89FD
_______________________________________________
lpi-examdev mailing list
[email protected]
http://list.lpi.org/cgi-bin/mailman/listinfo/lpi-examdev

Reply via email to