svn commit: r186174 - head/usr.bin/ipcs

2008-12-16 Thread Ruslan Ermilov
Author: ru
Date: Tue Dec 16 09:17:05 2008
New Revision: 186174
URL: http://svn.freebsd.org/changeset/base/186174

Log:
  Fix printing of shared memory limits.
  
  MFC after:3 days

Modified:
  head/usr.bin/ipcs/ipcs.c

Modified: head/usr.bin/ipcs/ipcs.c
==
--- head/usr.bin/ipcs/ipcs.cTue Dec 16 09:15:47 2008(r186173)
+++ head/usr.bin/ipcs/ipcs.cTue Dec 16 09:17:05 2008(r186174)
@@ -394,15 +394,15 @@ print_kshmtotal(struct shminfo shminfo)
 {
 
printf("shminfo:\n");
-   printf("\tshmmax: %12d\t(max shared memory segment size)\n",
+   printf("\tshmmax: %12lu\t(max shared memory segment size)\n",
shminfo.shmmax);
-   printf("\tshmmin: %12d\t(min shared memory segment size)\n",
+   printf("\tshmmin: %12lu\t(min shared memory segment size)\n",
shminfo.shmmin);
-   printf("\tshmmni: %12d\t(max number of shared memory identifiers)\n",
+   printf("\tshmmni: %12lu\t(max number of shared memory identifiers)\n",
shminfo.shmmni);
-   printf("\tshmseg: %12d\t(max shared memory segments per process)\n",
+   printf("\tshmseg: %12lu\t(max shared memory segments per process)\n",
shminfo.shmseg);
-   printf("\tshmall: %12d\t(max amount of shared memory in pages)\n\n",
+   printf("\tshmall: %12lu\t(max amount of shared memory in pages)\n\n",
shminfo.shmall);
 }
 
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r186192 - releng/7.1/usr.bin/ipcs stable/7/usr.bin/ipcs

2008-12-16 Thread Ruslan Ermilov
Author: ru
Date: Tue Dec 16 20:48:38 2008
New Revision: 186192
URL: http://svn.freebsd.org/changeset/base/186192

Log:
  MFC: Fix printing of shared memory limits.
  
  Approved by:  re (kib)

Modified:
  releng/7.1/usr.bin/ipcs/   (props changed)
  releng/7.1/usr.bin/ipcs/ipcs.c

Changes in other areas also in this revision:
Modified:
  stable/7/usr.bin/ipcs/   (props changed)
  stable/7/usr.bin/ipcs/ipcs.c

Modified: releng/7.1/usr.bin/ipcs/ipcs.c
==
--- releng/7.1/usr.bin/ipcs/ipcs.c  Tue Dec 16 20:07:47 2008
(r186191)
+++ releng/7.1/usr.bin/ipcs/ipcs.c  Tue Dec 16 20:48:38 2008
(r186192)
@@ -394,15 +394,15 @@ print_kshmtotal(struct shminfo shminfo)
 {
 
printf("shminfo:\n");
-   printf("\tshmmax: %12d\t(max shared memory segment size)\n",
+   printf("\tshmmax: %12lu\t(max shared memory segment size)\n",
shminfo.shmmax);
-   printf("\tshmmin: %12d\t(min shared memory segment size)\n",
+   printf("\tshmmin: %12lu\t(min shared memory segment size)\n",
shminfo.shmmin);
-   printf("\tshmmni: %12d\t(max number of shared memory identifiers)\n",
+   printf("\tshmmni: %12lu\t(max number of shared memory identifiers)\n",
shminfo.shmmni);
-   printf("\tshmseg: %12d\t(max shared memory segments per process)\n",
+   printf("\tshmseg: %12lu\t(max shared memory segments per process)\n",
shminfo.shmseg);
-   printf("\tshmall: %12d\t(max amount of shared memory in pages)\n\n",
+   printf("\tshmall: %12lu\t(max amount of shared memory in pages)\n\n",
shminfo.shmall);
 }
 
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r186192 - releng/7.1/usr.bin/ipcs stable/7/usr.bin/ipcs

2008-12-16 Thread Ruslan Ermilov
Author: ru
Date: Tue Dec 16 20:48:38 2008
New Revision: 186192
URL: http://svn.freebsd.org/changeset/base/186192

Log:
  MFC: Fix printing of shared memory limits.
  
  Approved by:  re (kib)

Modified:
  stable/7/usr.bin/ipcs/   (props changed)
  stable/7/usr.bin/ipcs/ipcs.c

Changes in other areas also in this revision:
Modified:
  releng/7.1/usr.bin/ipcs/   (props changed)
  releng/7.1/usr.bin/ipcs/ipcs.c

Modified: stable/7/usr.bin/ipcs/ipcs.c
==
--- stable/7/usr.bin/ipcs/ipcs.cTue Dec 16 20:07:47 2008
(r186191)
+++ stable/7/usr.bin/ipcs/ipcs.cTue Dec 16 20:48:38 2008
(r186192)
@@ -394,15 +394,15 @@ print_kshmtotal(struct shminfo shminfo)
 {
 
printf("shminfo:\n");
-   printf("\tshmmax: %12d\t(max shared memory segment size)\n",
+   printf("\tshmmax: %12lu\t(max shared memory segment size)\n",
shminfo.shmmax);
-   printf("\tshmmin: %12d\t(min shared memory segment size)\n",
+   printf("\tshmmin: %12lu\t(min shared memory segment size)\n",
shminfo.shmmin);
-   printf("\tshmmni: %12d\t(max number of shared memory identifiers)\n",
+   printf("\tshmmni: %12lu\t(max number of shared memory identifiers)\n",
shminfo.shmmni);
-   printf("\tshmseg: %12d\t(max shared memory segments per process)\n",
+   printf("\tshmseg: %12lu\t(max shared memory segments per process)\n",
shminfo.shmseg);
-   printf("\tshmall: %12d\t(max amount of shared memory in pages)\n\n",
+   printf("\tshmall: %12lu\t(max amount of shared memory in pages)\n\n",
shminfo.shmall);
 }
 
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r186287 - head/sys/kern

2008-12-18 Thread Ruslan Ermilov
Author: ru
Date: Thu Dec 18 15:56:12 2008
New Revision: 186287
URL: http://svn.freebsd.org/changeset/base/186287

Log:
  Removed a comment made obsolete by revisions 157927 and 174292.

Modified:
  head/sys/kern/kern_mbuf.c

Modified: head/sys/kern/kern_mbuf.c
==
--- head/sys/kern/kern_mbuf.c   Thu Dec 18 15:34:38 2008(r186286)
+++ head/sys/kern/kern_mbuf.c   Thu Dec 18 15:56:12 2008(r186287)
@@ -120,7 +120,6 @@ tunable_mbinit(void *dummy)
 }
 SYSINIT(tunable_mbinit, SI_SUB_TUNABLES, SI_ORDER_MIDDLE, tunable_mbinit, 
NULL);
 
-/* XXX: These should be tuneables. Can't change UMA limits on the fly. */
 static int
 sysctl_nmbclusters(SYSCTL_HANDLER_ARGS)
 {
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r184072 - head/contrib/tcsh

2008-10-20 Thread Ruslan Ermilov
Author: ru
Date: Mon Oct 20 08:44:14 2008
New Revision: 184072
URL: http://svn.freebsd.org/changeset/base/184072

Log:
  Actually fix pty detection for autologout setting.
  (The fix has been submitted upstream.)

Modified:
  head/contrib/tcsh/sh.c
  head/contrib/tcsh/tc.const.c

Modified: head/contrib/tcsh/sh.c
==
--- head/contrib/tcsh/sh.c  Mon Oct 20 05:42:38 2008(r184071)
+++ head/contrib/tcsh/sh.c  Mon Oct 20 08:44:14 2008(r184072)
@@ -462,7 +462,7 @@ main(int argc, char **argv)
else
cp2 = cp;
if (!(((Strncmp(cp2, STRtty, 3) == 0) && Isalpha(cp2[3])) ||
- Strstr(cp, STRslptssl) != NULL)) {
+ Strstr(cp, STRptssl) != NULL)) {
if (getenv("DISPLAY") == NULL) {
/* NOT on X window shells */
setcopy(STRautologout, STRdefautologout, VAR_READWRITE);

Modified: head/contrib/tcsh/tc.const.c
==
--- head/contrib/tcsh/tc.const.cMon Oct 20 05:42:38 2008
(r184071)
+++ head/contrib/tcsh/tc.const.cMon Oct 20 08:44:14 2008
(r184072)
@@ -46,7 +46,7 @@ Char STRautomatic[]   = { 'a', 'u', 't', '
 Char STRhangup[]   = { 'h', 'a', 'n', 'g', 'u', 'p', '\0' };
 Char STRaout[] = { 'a', '.', 'o', 'u', 't', '\0' };
 Char STRtty[]  = { 't', 't', 'y', '\0' };
-Char STRslptssl[]  = { '/', 'p', 't', 's', '/', '\0' };
+Char STRptssl[]= { 'p', 't', 's', '/', '\0' };
 Char STRany[]  = { 'a', 'n', 'y', '\0' };
 Char STRstatus[]   = { 's', 't', 'a', 't', 'u', 's', '\0' };
 Char STR0[]= { '0', '\0' };
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


svn commit: r184222 - head/lib/libfetch

2008-10-24 Thread Ruslan Ermilov
Author: ru
Date: Fri Oct 24 07:56:01 2008
New Revision: 184222
URL: http://svn.freebsd.org/changeset/base/184222

Log:
  Don't fail mistakenly with -r when we already have the whole file.
  
  Reviewed by:  des

Modified:
  head/lib/libfetch/http.c

Modified: head/lib/libfetch/http.c
==
--- head/lib/libfetch/http.cFri Oct 24 07:19:09 2008(r184221)
+++ head/lib/libfetch/http.cFri Oct 24 07:56:01 2008(r184222)
@@ -1064,6 +1064,7 @@ http_request(struct url *URL, const char
if (url->offset == size && url->length == 0) {
/* asked for 0 bytes; fake it */
offset = url->offset;
+   clength = -1;
conn->err = HTTP_OK;
break;
} else {
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


svn commit: r184225 - stable/7/lib/libfetch

2008-10-24 Thread Ruslan Ermilov
Author: ru
Date: Fri Oct 24 13:23:54 2008
New Revision: 184225
URL: http://svn.freebsd.org/changeset/base/184225

Log:
  Don't fail mistakenly with -r when we already have the whole file.
  
  Approved by:  re (kib)

Modified:
  stable/7/lib/libfetch/   (props changed)
  stable/7/lib/libfetch/http.c

Modified: stable/7/lib/libfetch/http.c
==
--- stable/7/lib/libfetch/http.cFri Oct 24 07:58:38 2008
(r184224)
+++ stable/7/lib/libfetch/http.cFri Oct 24 13:23:54 2008
(r184225)
@@ -1064,6 +1064,7 @@ http_request(struct url *URL, const char
if (url->offset == size && url->length == 0) {
/* asked for 0 bytes; fake it */
offset = url->offset;
+   clength = -1;
conn->err = HTTP_OK;
break;
} else {
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


svn commit: r185516 - head/lib/libc/stdio

2008-12-01 Thread Ruslan Ermilov
Author: ru
Date: Mon Dec  1 14:33:34 2008
New Revision: 185516
URL: http://svn.freebsd.org/changeset/base/185516

Log:
  Fix fread() to return a correct value on platforms where sizeof(int) !=
  sizeof(size_t), i.e. on all 64-bit platforms.
  
  Reported by:  Andrey V. Elsukov
  MFC after:3 days

Modified:
  head/lib/libc/stdio/fread.c

Modified: head/lib/libc/stdio/fread.c
==
--- head/lib/libc/stdio/fread.c Mon Dec  1 14:15:10 2008(r185515)
+++ head/lib/libc/stdio/fread.c Mon Dec  1 14:33:34 2008(r185516)
@@ -50,7 +50,7 @@ __FBSDID("$FreeBSD$");
 size_t
 fread(void * __restrict buf, size_t size, size_t count, FILE * __restrict fp)
 {
-   int ret;
+   size_t ret;
 
FLOCKFILE(fp);
ret = __fread(buf, size, count, fp);
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


svn commit: r186039 - head/usr.bin/cpuset

2008-12-13 Thread Ruslan Ermilov
Author: ru
Date: Sat Dec 13 15:44:29 2008
New Revision: 186039
URL: http://svn.freebsd.org/changeset/base/186039

Log:
  Sync manpage's synopsis with program's usage().
  Trim whitespace at EOL.

Modified:
  head/usr.bin/cpuset/cpuset.1

Modified: head/usr.bin/cpuset/cpuset.1
==
--- head/usr.bin/cpuset/cpuset.1Sat Dec 13 14:14:56 2008
(r186038)
+++ head/usr.bin/cpuset/cpuset.1Sat Dec 13 15:44:29 2008
(r186039)
@@ -35,7 +35,7 @@
 .Nm
 .Op Fl l Ar cpu-list
 .Op Fl s Ar setid
-.Ar cmd
+.Ar cmd ...
 .Nm
 .Op Fl l Ar cpu-list
 .Op Fl s Ar setid
@@ -43,10 +43,10 @@
 .Nm
 .Op Fl cr
 .Op Fl l Ar cpu-list
-.Op Fl j Ar jailid | Fl p Ar pid | Fl r Ar tid | Fl s Ar setid | Fl x Ar irq
+.Op Fl j Ar jailid | Fl p Ar pid | Fl t Ar tid | Fl s Ar setid | Fl x Ar irq
 .Nm
 .Op Fl cgir
-.Op Fl j Ar jailid | Fl p Ar pid | Fl r Ar tid | Fl s Ar setid | Fl x Ar irq
+.Op Fl j Ar jailid | Fl p Ar pid | Fl t Ar tid | Fl s Ar setid | Fl x Ar irq
 .Sh DESCRIPTION
 The
 .Nm
@@ -104,7 +104,7 @@ target specifier.
 .It Fl g
 Causes
 .Nm
-to print either a list of valid CPUs or, using 
+to print either a list of valid CPUs or, using
 .Fl i ,
 the id of the target.
 .It Fl i
@@ -119,14 +119,14 @@ Specification may include
 numbers separated by '-' for ranges and commas separating individual numbers.
 .It Fl p Ar pid
 Specifies a pid as the target of the operation.
-.It Fl s Ar setid 
+.It Fl s Ar setid
 Specifies a set id as the target of the operation.
 .It Fl r
 The requested operation should reference the root set available via the
 target specifier.
 .It Fl t Ar tid
 Specifies a thread id as the target of the operation.
-.It Fl x Ar irq 
+.It Fl x Ar irq
 Specifies an irq as the target of the operation.
 .El
 .Sh EXIT STATUS
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r186040 - head/gnu/usr.bin/groff/tmac

2008-12-13 Thread Ruslan Ermilov
Author: ru
Date: Sat Dec 13 15:47:46 2008
New Revision: 186040
URL: http://svn.freebsd.org/changeset/base/186040

Log:
  Added FreeBSD 7.1.

Modified:
  head/gnu/usr.bin/groff/tmac/mdoc.local

Modified: head/gnu/usr.bin/groff/tmac/mdoc.local
==
--- head/gnu/usr.bin/groff/tmac/mdoc.local  Sat Dec 13 15:44:29 2008
(r186039)
+++ head/gnu/usr.bin/groff/tmac/mdoc.local  Sat Dec 13 15:47:46 2008
(r186040)
@@ -69,6 +69,7 @@
 .
 .\" FreeBSD releases not found in doc-common
 .ds doc-operating-system-FreeBSD-6.36.3
+.ds doc-operating-system-FreeBSD-7.17.1
 .ds doc-operating-system-FreeBSD-8.08.0
 .
 .ec
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r186041 - head/gnu/usr.bin/groff/tmac

2008-12-13 Thread Ruslan Ermilov
Author: ru
Date: Sat Dec 13 16:13:37 2008
New Revision: 186041
URL: http://svn.freebsd.org/changeset/base/186041

Log:
  Added FreeBSD 6.4.

Modified:
  head/gnu/usr.bin/groff/tmac/mdoc.local

Modified: head/gnu/usr.bin/groff/tmac/mdoc.local
==
--- head/gnu/usr.bin/groff/tmac/mdoc.local  Sat Dec 13 15:47:46 2008
(r186040)
+++ head/gnu/usr.bin/groff/tmac/mdoc.local  Sat Dec 13 16:13:37 2008
(r186041)
@@ -69,6 +69,7 @@
 .
 .\" FreeBSD releases not found in doc-common
 .ds doc-operating-system-FreeBSD-6.36.3
+.ds doc-operating-system-FreeBSD-6.46.4
 .ds doc-operating-system-FreeBSD-7.17.1
 .ds doc-operating-system-FreeBSD-8.08.0
 .
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r186042 - releng/7.1/lib/libc releng/7.1/lib/libc/stdio stable/7/lib/libc stable/7/lib/libc/stdio

2008-12-13 Thread Ruslan Ermilov
Author: ru
Date: Sat Dec 13 16:53:35 2008
New Revision: 186042
URL: http://svn.freebsd.org/changeset/base/186042

Log:
  MFC: Fix fread() to return a correct value on platforms where sizeof(int) !=
  sizeof(size_t), i.e. on all 64-bit platforms.
  
  Approved by:  re (kib)

Modified:
  releng/7.1/lib/libc/   (props changed)
  releng/7.1/lib/libc/stdio/fread.c

Changes in other areas also in this revision:
Modified:
  stable/7/lib/libc/   (props changed)
  stable/7/lib/libc/stdio/fread.c

Modified: releng/7.1/lib/libc/stdio/fread.c
==
--- releng/7.1/lib/libc/stdio/fread.c   Sat Dec 13 16:13:37 2008
(r186041)
+++ releng/7.1/lib/libc/stdio/fread.c   Sat Dec 13 16:53:35 2008
(r186042)
@@ -50,7 +50,7 @@ __FBSDID("$FreeBSD$");
 size_t
 fread(void * __restrict buf, size_t size, size_t count, FILE * __restrict fp)
 {
-   int ret;
+   size_t ret;
 
FLOCKFILE(fp);
ret = __fread(buf, size, count, fp);
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r186042 - releng/7.1/lib/libc releng/7.1/lib/libc/stdio stable/7/lib/libc stable/7/lib/libc/stdio

2008-12-13 Thread Ruslan Ermilov
Author: ru
Date: Sat Dec 13 16:53:35 2008
New Revision: 186042
URL: http://svn.freebsd.org/changeset/base/186042

Log:
  MFC: Fix fread() to return a correct value on platforms where sizeof(int) !=
  sizeof(size_t), i.e. on all 64-bit platforms.
  
  Approved by:  re (kib)

Modified:
  stable/7/lib/libc/   (props changed)
  stable/7/lib/libc/stdio/fread.c

Changes in other areas also in this revision:
Modified:
  releng/7.1/lib/libc/   (props changed)
  releng/7.1/lib/libc/stdio/fread.c

Modified: stable/7/lib/libc/stdio/fread.c
==
--- stable/7/lib/libc/stdio/fread.c Sat Dec 13 16:13:37 2008
(r186041)
+++ stable/7/lib/libc/stdio/fread.c Sat Dec 13 16:53:35 2008
(r186042)
@@ -50,7 +50,7 @@ __FBSDID("$FreeBSD$");
 size_t
 fread(void * __restrict buf, size_t size, size_t count, FILE * __restrict fp)
 {
-   int ret;
+   size_t ret;
 
FLOCKFILE(fp);
ret = __fread(buf, size, count, fp);
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r186043 - head/usr.bin/fetch

2008-12-13 Thread Ruslan Ermilov
Author: ru
Date: Sat Dec 13 17:48:06 2008
New Revision: 186043
URL: http://svn.freebsd.org/changeset/base/186043

Log:
  Improve usage and sync SYNOPSIS with usage.

Modified:
  head/usr.bin/fetch/fetch.1
  head/usr.bin/fetch/fetch.c

Modified: head/usr.bin/fetch/fetch.1
==
--- head/usr.bin/fetch/fetch.1  Sat Dec 13 16:53:35 2008(r186042)
+++ head/usr.bin/fetch/fetch.1  Sat Dec 13 17:48:06 2008(r186043)
@@ -37,17 +37,23 @@
 .Nd retrieve a file by Uniform Resource Locator
 .Sh SYNOPSIS
 .Nm
-.Op Fl 146AFMPRUadlmnpqrsv
+.Op Fl 146AadFlMmnPpqRrsUv
 .Op Fl B Ar bytes
+.Op Fl N Ar file
+.Op Fl o Ar file
 .Op Fl S Ar bytes
 .Op Fl T Ar seconds
+.Op Fl w Ar seconds
+.Ar URL ...
+.Nm
+.Op Fl 146AadFlMmnPpqRrsUv
+.Op Fl B Ar bytes
 .Op Fl N Ar file
 .Op Fl o Ar file
+.Op Fl S Ar bytes
+.Op Fl T Ar seconds
 .Op Fl w Ar seconds
-.Op Fl h Ar host
-.Op Fl c Ar dir
-.Op Fl f Ar file
-.Op Ar URL ...
+.Fl h Ar host Fl f Ar file Oo Fl c Ar dir Oc
 .Sh DESCRIPTION
 The
 .Nm
@@ -59,7 +65,7 @@ command line.
 .Pp
 The following options are available:
 .Bl -tag -width Fl
-.It Fl \&1
+.It Fl 1
 Stop and return exit code 0 at the first successfully retrieved file.
 .It Fl 4
 Forces

Modified: head/usr.bin/fetch/fetch.c
==
--- head/usr.bin/fetch/fetch.c  Sat Dec 13 16:53:35 2008(r186042)
+++ head/usr.bin/fetch/fetch.c  Sat Dec 13 17:48:06 2008(r186043)
@@ -711,10 +711,11 @@ fetch(char *URL, const char *path)
 static void
 usage(void)
 {
-   fprintf(stderr, "%s\n%s\n%s\n",
-   "usage: fetch [-146AFMPRUadlmnpqrsv] [-N netrc] [-o outputfile]",
-   " [-S bytes] [-B bytes] [-T seconds] [-w seconds]",
-   " [-h host -f file [-c dir] | URL ...]");
+   fprintf(stderr, "%s\n%s\n%s\n%s\n",
+"usage: fetch [-146AadFlMmnPpqRrsUv] [-B bytes] [-N file] [-o file] [-S 
bytes]",
+"   [-T seconds] [-w seconds] URL ...",
+"   fetch [-146AadFlMmnPpqRrsUv] [-B bytes] [-N file] [-o file] [-S 
bytes]",
+"   [-T seconds] [-w seconds] -h host -f file [-c dir]");
 }
 
 
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r186079 - head/sbin/atacontrol

2008-12-14 Thread Ruslan Ermilov
Author: ru
Date: Sun Dec 14 12:56:56 2008
New Revision: 186079
URL: http://svn.freebsd.org/changeset/base/186079

Log:
  Fix the fallouts from r146267:
  
  - Add the forgotten "mode" argument to the "mode" command.
  - Move the description of "info" to where it belongs.

Modified:
  head/sbin/atacontrol/atacontrol.8

Modified: head/sbin/atacontrol/atacontrol.8
==
--- head/sbin/atacontrol/atacontrol.8   Sun Dec 14 11:48:51 2008
(r186078)
+++ head/sbin/atacontrol/atacontrol.8   Sun Dec 14 12:56:56 2008
(r186079)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd June 25, 2008
+.Dd December 14, 2008
 .Dt ATACONTROL 8
 .Os
 .Sh NAME
@@ -63,6 +63,7 @@
 .Nm
 .Ic mode
 .Ar device
+.Op Ar mode
 .Nm
 .Ic info
 .Ar channel
@@ -94,7 +95,7 @@ The
 .Ar channel
 argument is the ATA channel device (e.g., ata0) on which to operate.
 The following commands are supported:
-.Bl -tag -width "rebuild"
+.Bl -tag -width ".Ic addspare"
 .It Ic attach
 Attach an ATA
 .Ar channel .
@@ -162,9 +163,13 @@ Rebuild a RAID1 array on a RAID capable 
 .It Ic status
 Get the status of an ATA RAID.
 .It Ic mode
-Without the mode argument, the current transfer modes of the
+Without the
+.Ar mode
+argument, the current transfer mode of the
 device are printed.
-If the mode argument is given, the ATA driver
+If the
+.Ar mode
+argument is given, the ATA driver
 is asked to change the transfer mode to the one given.
 The ATA driver
 will reject modes that are not supported by the hardware.
@@ -190,13 +195,12 @@ and
 .Cm UDMA6
 (alias
 .Cm UDMA133 ) .
-The device name and manufacture/version strings are shown.
 .It Ic cap
 Show detailed info about the device on
 .Ar device .
 .It Ic spindown
 Set or report timeout after which the
-.Ar device 
+.Ar device
 will be spun down.
 To arm the timeout the device needs at least one more request after
 setting the timeout.
@@ -205,6 +209,7 @@ No further actions are needed in this ca
 .It Ic info
 Show info about the attached devices on the
 .Ar channel .
+The device name and manufacture/version strings are shown.
 .It Ic list
 Show info about all attached devices on all active controllers.
 .El
@@ -312,7 +317,7 @@ If the system has a pure software array 
 RAID controller, then shut the system down, make sure that the disk
 that was still working is moved to the bootable position (channel 0
 or whatever the BIOS allows the system to boot from) and the blank disk
-is placed in the secondary position, then boot the system into 
+is placed in the secondary position, then boot the system into
 single-user mode and issue the command:
 .Pp
 .Dl "atacontrol addspare ar0 ad6"
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"