Re: Getting all the IP address for a machine from code...

2000-09-16 Thread David Malone
It is possible to get interface lists on earlier versions (and I hope still current versions) using the ioctl interfaces described in Stevens. See also ifconfig.c source from various versions of FreeBSD :-). I think Garret suggested that the ioctl method was deprecated? I wrote some code

Re: superduperopen(3) (was: Fdescfs updates--coming to a devfs near you!)

2000-09-16 Thread Gerhard Sittig
using Brian's post since I don't have the original around ... On Sat, Sep 16, 2000 at 03:49 +0100, Brian Somers wrote: [ attribution missing, is it Poul-Henning Kamp's text? ] The majority of these programs could be handled by adding knowledge of "-" as a magic filename to fopen(3).

Re: Getting all the IP address for a machine from code...

2000-09-16 Thread Robert Watson
On Sat, 16 Sep 2000, David Malone wrote: It is possible to get interface lists on earlier versions (and I hope still current versions) using the ioctl interfaces described in Stevens. See also ifconfig.c source from various versions of FreeBSD :-). I think Garret suggested that the

32k directories in a directory

2000-09-16 Thread John DeBoskey
Hi, Ok, no laughing folks. I've run up against an application (which I do not have control over) that wants to create more than 32k directories in a directory. in syslimits.h I find: #define LINK_MAX32767 /* max file link count */ which I think is what I'm running

Re: 32k directories in a directory

2000-09-16 Thread David Malone
On Sat, Sep 16, 2000 at 03:06:06PM -0400, John DeBoskey wrote: #define LINK_MAX32767 /* max file link count */ Looking at /usr/include/ufs/ufs/dinode.h, which seems to describe the format of the on-disk inode I see that di_nlink is a int16_t, for which the largest positive

device naming convention

2000-09-16 Thread Marc Tardif
What is the FreeBSD naming convention for devices of disk slices and labels? Considering my system is installed on the first partition of /dev/wd0 (non-dedicated), these are the block-device interfaces I have to my disk: wd0 wd0cwd0fwd0s1 wd0s1cwd0s1fwd0s2 wd0awd0d

Panic key on std PC keyboard ....

2000-09-16 Thread David Bein
Hi ... Does anyone know which key is the PNC key on a typical keyboard? This is the key which with sysctl machdep.enable_panic_key=1 should force a panic. Earlier today I found my machine wedged and had to power cycle to get unstuck. So for future reference, this will be very handy info.

Re: Panic key on std PC keyboard ....

2000-09-16 Thread David Malone
On Sat, Sep 16, 2000 at 06:13:04PM -0400, David Bein wrote: Does anyone know which key is the PNC key on a typical keyboard? This is the key which with sysctl machdep.enable_panic_key=1 should force a panic. Earlier today I found my machine wedged and had to power cycle to get unstuck. So

Re: device naming convention

2000-09-16 Thread Aleksandr A.Babaylov
Marc Tardif writes: What is the FreeBSD naming convention for devices of disk slices and labels? Considering my system is installed on the first partition of /dev/wd0 (non-dedicated), these are the block-device interfaces I have to my disk: wd0 wd0cwd0fwd0s1 wd0s1c

Re: device naming convention

2000-09-16 Thread Marc Tardif
[ snip ] 1. What are wd0[a-h] used for? For wd0sN[a-h] where N is number of first slice recognized as FreeBSD slice If I understand correctly, wd0[a-h] will be the same as wd0s3[a-h] in a situation where DOS is on first slice, Linux on second and FreeBSD on third, right? But what if the

Re: device naming convention

2000-09-16 Thread Aleksandr A.Babaylov
Marc Tardif writes: [ snip ] 1. What are wd0[a-h] used for? For wd0sN[a-h] where N is number of first slice recognized as FreeBSD slice If I understand correctly, wd0[a-h] will be the same as wd0s3[a-h] in a situation where DOS is on first slice, Linux on second and FreeBSD on

mergemaster RFC (long)

2000-09-16 Thread Doug Barton
Greetings campers, Mergemaster first made its appearance as a port two years ago tomorrow, and became part of the FreeBSD source tree last October 20th. Lots of things have changed since the original version of the program (or script, whatever), and there are some proposals on the board

passwd.1

2000-09-16 Thread Peter Avalos
I don't know who to contact about this, so I'm hoping some people subscribed to this list have commit access. I found some spelling errors in passwd(1) manpage. I have RELENG_4 installed. Here's the output of diff -u: --- /usr/src/usr.bin/passwd/passwd.1Wed Mar 1 04:20:07 2000 +++ passwd.1