Re: service -e doesn't really sort does it? the cool tip is slightly off

2021-01-25 Thread John Baldwin

On 1/16/21 3:28 PM, Dennis Clarke wrote:

root@rhea:/usr/src/freebsd-src # diff -u
usr.bin/fortune/datfiles/freebsd-tips.orig
usr.bin/fortune/datfiles/freebsd-tips
--- usr.bin/fortune/datfiles/freebsd-tips.orig  2021-01-15
00:37:37.863506000 +
+++ usr.bin/fortune/datfiles/freebsd-tips   2021-01-16
07:46:57.335803000 +
@@ -517,7 +517,7 @@

 -- Lars Engels 
  %
-If you want to get a sorted list of all services that are started when
FreeBSD boots,
+If you want to get a list of all services that are started when FreeBSD
boots,
  enter "service -e".

 -- Lars Engels 
root@rhea:/usr/src/freebsd-src #

Sorry for being all OCD here. Perhaps it should say sorted in the order
in which they were started. Something like that.


I think the "sorted" detail is relevant, but describing the key (how it is
sorted) is certainly a missing detail, maybe:

If you want to get a list of all services started when FreeBSD boots
in the order they are started, enter "service-e".

?

--
John Baldwin
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: service -e doesn't really sort does it? the cool tip is slightly off

2021-01-17 Thread Dennis Clarke
On 1/17/21 1:46 PM, Graham Perrin wrote:
> On 16/01/2021 23:28, Dennis Clarke wrote:
> 
>> … maybe take out the word "sorted". Either that or
>> insert the "started order" as the manpage claims  :
>>
>> root@rhea:/usr/src/freebsd-src # diff -u
>> usr.bin/fortune/datfiles/freebsd-tips.orig
>> usr.bin/fortune/datfiles/freebsd-tips
>> --- usr.bin/fortune/datfiles/freebsd-tips.orig  2021-01-15
>> 00:37:37.863506000 +
>> +++ usr.bin/fortune/datfiles/freebsd-tips   2021-01-16
>> 07:46:57.335803000 +
>> @@ -517,7 +517,7 @@
>>
>>  -- Lars Engels 
>>   %
>> -If you want to get a sorted list of all services that are started when
>> FreeBSD boots,
>> +If you want to get a list of all services that are started when FreeBSD
>> boots,
>>   enter "service -e".
>>
>>  -- Lars Engels 
>> root@rhea:/usr/src/freebsd-src #
>>
>> Sorry for being all OCD here. Perhaps it should say sorted in the order
>> in which they were started. Something like that.
>>
> 
> In lieu of 'sorted', how about 'dependency-ordered'?
> 

Anything that makes obvious sense would be nice. When I say "obvious"
here I mean "really obvious to a new user that just installed FreeBSD
yesterday" and not "obvious to a twenty year expert."

Dennis


___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: service -e doesn't really sort does it? the cool tip is slightly off

2021-01-17 Thread Graham Perrin

On 16/01/2021 23:28, Dennis Clarke wrote:


… maybe take out the word "sorted". Either that or
insert the "started order" as the manpage claims  :

root@rhea:/usr/src/freebsd-src # diff -u
usr.bin/fortune/datfiles/freebsd-tips.orig
usr.bin/fortune/datfiles/freebsd-tips
--- usr.bin/fortune/datfiles/freebsd-tips.orig  2021-01-15
00:37:37.863506000 +
+++ usr.bin/fortune/datfiles/freebsd-tips   2021-01-16
07:46:57.335803000 +
@@ -517,7 +517,7 @@

 -- Lars Engels 
  %
-If you want to get a sorted list of all services that are started when
FreeBSD boots,
+If you want to get a list of all services that are started when FreeBSD
boots,
  enter "service -e".

 -- Lars Engels 
root@rhea:/usr/src/freebsd-src #

Sorry for being all OCD here. Perhaps it should say sorted in the order
in which they were started. Something like that.



In lieu of 'sorted', how about 'dependency-ordered'?


___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: service -e doesn't really sort does it? the cool tip is slightly off

2021-01-16 Thread RW
On Sat, 16 Jan 2021 23:28:48 +
Dennis Clarke wrote:

> Saw this pop up :
> 
> rhea$ su - admsys
> Password:
> If you want to get a sorted list of all services that are started when
> FreeBSD boots,
> enter "service -e".
> ...
> 
> To which I thought "sorted? really?"
> ..
> Nope. That doesn't look sorted. Unless the sorted means "order in
> which they start" perhaps.

To me that's the obvious interpretation of 'sorted' because it's the
only meaning that's relevant to the context. If it simply meant
alphabetical order, it wouldn't have been worth mentioning. 

In any case, it's clear in service(8).
  


___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


service -e doesn't really sort does it? the cool tip is slightly off

2021-01-16 Thread Dennis Clarke


Saw this pop up :

rhea$ su - admsys
Password:
If you want to get a sorted list of all services that are started when
FreeBSD boots,
enter "service -e".

-- Lars Engels 
admsys@rhea:~ $

To which I thought "sorted? really?"

amalthea# cd
amalthea# service -e
/etc/rc.d/rctl
/etc/rc.d/hostid
/etc/rc.d/zpool
/etc/rc.d/zvol
/etc/rc.d/hostid_save
/etc/rc.d/zfsbe
/etc/rc.d/zfs
/etc/rc.d/cleanvar
/etc/rc.d/kldxref
/etc/rc.d/ip6addrctl
/etc/rc.d/mixer
/etc/rc.d/devmatch
/etc/rc.d/netif
/etc/rc.d/resolv
/etc/rc.d/devd
/etc/rc.d/motd
/etc/rc.d/newsyslog
/etc/rc.d/virecover
/etc/rc.d/dmesg
/etc/rc.d/gptboot
/etc/rc.d/syslogd
/etc/rc.d/savecore
/etc/rc.d/rpcbind
/etc/rc.d/mountd
/etc/rc.d/nfsd
/etc/rc.d/ntpd
/etc/rc.d/cron
/etc/rc.d/sshd
/etc/rc.d/sendmail
/etc/rc.d/bgfsck
/usr/local/etc/rc.d/smartd
amalthea#

Nope. That doesn't look sorted. Unless the sorted means "order in which
they start" perhaps. So maybe take out the word "sorted". Either that or
insert the "started order" as the manpage claims  :

root@rhea:/usr/src/freebsd-src # diff -u
usr.bin/fortune/datfiles/freebsd-tips.orig
usr.bin/fortune/datfiles/freebsd-tips
--- usr.bin/fortune/datfiles/freebsd-tips.orig  2021-01-15
00:37:37.863506000 +
+++ usr.bin/fortune/datfiles/freebsd-tips   2021-01-16
07:46:57.335803000 +
@@ -517,7 +517,7 @@

-- Lars Engels 
 %
-If you want to get a sorted list of all services that are started when
FreeBSD boots,
+If you want to get a list of all services that are started when FreeBSD
boots,
 enter "service -e".

-- Lars Engels 
root@rhea:/usr/src/freebsd-src #

Sorry for being all OCD here. Perhaps it should say sorted in the order
in which they were started. Something like that.


-- 
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"