Warn about sloppy disk I/O to vnd(4)

2011-08-25 Thread Matthew Dempsky
Unlike other disk drivers, vnd(4) allows raw reads and writes of partial blocks. E.g., if configured with a 512-byte sector size, it will still allow commands like: $ dd if=/dev/rvnd0c bs=42 skip=4096 count=1 (The same command will fail against /dev/rsd0c or if count=1 is changed to count=2.

Re: more old stuff

2011-08-25 Thread Marc Espie
On Wed, Aug 24, 2011 at 07:22:47PM +0200, Landry Breuil wrote: > On Wed, Aug 24, 2011 at 12:39:07PM +0200, Marc Espie wrote: > > Apparently, nobody cares about fat packages. > > > > Not surprisingly, killing that code simplifies a few things. > > Especially since the necessity of passing arch arou

Du har 1 ulest melding !

2011-08-25 Thread Western Union ALERT
Kjfre Western Union Medlem , Du har 1 ulest melding ! Din Western Union-konto er lest. Logg inn pe din konto for e lxse problemet. Klikk her for e logge inn Thank you for using Western Union! The Western Union Team. We

Re: problem in manual page for ip(4)

2011-08-25 Thread Giovanni Bechis
On 08/25/11 14:44, Thomas de Grivel wrote: > Including before makes it ok. > So either the manual is wrong > or sys/socket.h or netinet/in.h is wrong. > Ok for this diff ? Cheers Giovanni Index: ip.4 === RCS file: /cvs/src/share/

problem in manual page for ip(4)

2011-08-25 Thread Thomas de Grivel
Hi, From ip(4) : SYNOPSIS #include #include However this fails : $ cat > ip.c #include #include int main() { return 0; } ^D $ gcc ip.c In file included from ip.c:1: /usr//include/sys/socket.h:105: error: expected specifier-qualifier-list before 'off_t' /usr//include/sys/socke

Re: use strtonum to check Port statements in apache

2011-08-25 Thread Kenneth R Westerback
On Thu, Aug 25, 2011 at 08:25:00PM +1000, David Gwynne wrote: > i want to push my "set scheme in http" diff again, but it makes > sense to reuse server_port as part of that. > > this makes server_port more palatable to me. > > ok? Can't see that this changes anything, and it does look better, so

Re: problem in manual page for ip(4)

2011-08-25 Thread Thomas de Grivel
Le 08/25/11 14:44, Thomas de Grivel a icrit : Hi, From ip(4) : SYNOPSIS #include #include However this fails : $ cat > ip.c #include #include int main() { return 0; } ^D $ gcc ip.c In file included from ip.c:1: /usr//include/sys/socket.h:105: error: expected specifier-qualifier-list bef

remote dump to file

2011-08-25 Thread Manuel Giraud
Hi, This patch makes the following command working: $ RSH=ssh dump -0au -f remote:dump.0 / even if dump.0 doesn't already exists on remote. Note: i cannot test this patch on st(4) device. Index: tape.c === RCS file: /cvs/src/sbin/d

use strtonum to check Port statements in apache

2011-08-25 Thread David Gwynne
i want to push my "set scheme in http" diff again, but it makes sense to reuse server_port as part of that. this makes server_port more palatable to me. ok? Index: src/main/http_core.c === RCS file: /cvs/src/usr.sbin/httpd/src/main/