Re: writing to an mmap()'ed region requires read access?

1999-11-30 Thread Matthew Dillon
:I was just playing with mmap() really for the first time, and I noticed :something a bit odd. When you mmap() a file for writing, it also appears :to require that you give it read permissions, else it dies on a signal 10. :Any reason for this? (I'm using 3.3-STABLE (11/30/99) with the following :

Re: Human readable df

1999-11-30 Thread Thomas David Rivers
Stephen McKay <[EMAIL PROTECTED]> wrote: > > And to Thomas: I've used dfspace before on ISC Unix, but never really > liked it. I prefer df to do what I want. Am I greedy? :-) Not at all - it just seems to me the question should be asked, that's all. Since not a single person agreed - it s

writing to an mmap()'ed region requires read access?

1999-11-30 Thread Brian J. McGovern
I was just playing with mmap() really for the first time, and I noticed something a bit odd. When you mmap() a file for writing, it also appears to require that you give it read permissions, else it dies on a signal 10. Any reason for this? (I'm using 3.3-STABLE (11/30/99) with the following progr

Re: Human readable df

1999-11-30 Thread Stephen McKay
On Tuesday, 30th November 1999, Dan Nelson wrote: >In the last episode (Nov 30), Stephen McKay said: >> If anything, I want a 'df -m' option that does this: >> >>[snip] >Just set BLOCKSIZE to your preferred unit. > >$ BLOCKSIZE=1M df > >Filesystem 1M-blocks UsedAvail Capacity M

Re: Linux ioctl not implemented error

1999-11-30 Thread Joseph Scott
Kenneth Wayne Culver wrote: > > Any wierd things I should do to get it running? > > > On Tue, Nov 30, 1999, Kenneth Wayne Culver wrote: > > > Wait... vmware for linux works under FreeBSD now??? or it just runs > > > freebsd??? > > > >It runs on FreeBSD. Here's pointer to the announ

Re: Linux ioctl not implemented error

1999-11-30 Thread Mike Smith
> Well, I personally was gonna try to get my already installed windows > working... :-) That's a really bad idea; the moment you run Windows under VMware it will try to reconfigure itself for the new "hardware", and you'll screw your old configuration. -- \\ Give a man a fish, and you feed hi

Re: Linux ioctl not implemented error

1999-11-30 Thread Wilko Bulte
As Chris Costello wrote ... > On Tue, Nov 30, 1999, Kenneth Wayne Culver wrote: > > Wait... vmware for linux works under FreeBSD now??? or it just runs > > freebsd??? > >It runs on FreeBSD. More precisely: on -current. In the meantime I also gave it a shot on my dual-P100 SMP box. This gav

Re: Linux ioctl not implemented error

1999-11-30 Thread Kenneth Wayne Culver
Oops... not a member of that one... I'll go look then... :-) sorry to have cross posted... = | Kenneth Culver | FreeBSD: The best OS around.| | Unix Systems Administrator | ICQ #: 24767726 | | and s

Digi AccelePort-USB 2, 4 or 8 port serial terminal server ?

1999-11-30 Thread Ulf Zimmermann
Nice serial server, anyone working for serial support on USB ? Have an 8 port and could help getting support for it or testing drivers. -- Regards, Ulf. - Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-769-2936 Al

Re: Linux ioctl not implemented error

1999-11-30 Thread Kenneth Wayne Culver
Well, I personally was gonna try to get my already installed windows working... :-) = | Kenneth Culver | FreeBSD: The best OS around.| | Unix Systems Administrator | ICQ #: 24767726 | | and student

Re: Linux ioctl not implemented error

1999-11-30 Thread Wilko Bulte
As Kenneth Wayne Culver wrote ... > Wait... vmware for linux works under FreeBSD now??? or it just runs > freebsd??? Vladimir has created a port of the Linux version that, although highly experimental, works with -current as the host operating system. > On Tue, 30 Nov 1999, Wilko Bulte wrote: >

Re: Linux ioctl not implemented error

1999-11-30 Thread Jordan K. Hubbard
> Wait... vmware for linux works under FreeBSD now??? or it just runs > freebsd??? You really need to go search the mailing list archives for the discussion which has just occurred on this topic. Everything from what it does to how to grab the port and apply the appropriate patches to your kerne

Re: Linux ioctl not implemented error

1999-11-30 Thread Gerard Roudier
On Tue, 30 Nov 1999, Wilko Bulte wrote: > I get " LINUX: 'ioctl' fd=0, typ=0x53(S), num=0x13 not implemented " > when attempting to configure a IDE cdrom under VMware (really coold BTW!! > thanks for the port development). > > Somebody close to a Linux box have an idea what this ioctl is suppo

Re: Linux ioctl not implemented error

1999-11-30 Thread Kenneth Wayne Culver
Any wierd things I should do to get it running? = | Kenneth Culver | FreeBSD: The best OS around.| | Unix Systems Administrator | ICQ #: 24767726 | | and student at The | AIM: AgRSkaterq

Re: Linux ioctl not implemented error

1999-11-30 Thread Chris Costello
On Tue, Nov 30, 1999, Kenneth Wayne Culver wrote: > Wait... vmware for linux works under FreeBSD now??? or it just runs > freebsd??? It runs on FreeBSD. -- |Chris Costello <[EMAIL PROTECTED]> |What do computer engineers use for birth control? Their personalities. `--

Re: Linux ioctl not implemented error

1999-11-30 Thread Kenneth Wayne Culver
Wait... vmware for linux works under FreeBSD now??? or it just runs freebsd??? = | Kenneth Culver | FreeBSD: The best OS around.| | Unix Systems Administrator | ICQ #: 24767726 | | and student at Th

Linux ioctl not implemented error

1999-11-30 Thread Wilko Bulte
I get " LINUX: 'ioctl' fd=0, typ=0x53(S), num=0x13 not implemented " when attempting to configure a IDE cdrom under VMware (really coold BTW!! thanks for the port development). Somebody close to a Linux box have an idea what this ioctl is supposed to do? Wilko -- | / o / / _ Arnhem,

Re: Ok, that's it, enough is enough! (rpc.lockd)

1999-11-30 Thread Doug Rabson
On Tue, 30 Nov 1999, Dan Moschuk wrote: > > | I reviewed the NFSv4 specs recently and came to the same conclusion. To do > | it right will be quite a bit of work and would include a decent kernel > | side implementation of rpc and gssapi. > > Cool! I can take that "I volunteer" ? :-) Not wit

stack overflow and security

1999-11-30 Thread Matt
can any one help to explain how stack over security exploit. does anyone know how to fix it? How it happens? To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Portable way to compare struct stat's?

1999-11-30 Thread Randell Jesup
Robert Watson <[EMAIL PROTECTED]> writes: >> On a single system, if st_dev and st_ino are equal, you must be referring >> to the same object. If not, I'd like to hear about it. > >This assumption has always caused lots of pain and suffering for >distributed file system people -- in a distributed

Re: Human readable df

1999-11-30 Thread Dan Nelson
In the last episode (Nov 30), Stephen McKay said: > If anything, I want a 'df -m' option that does this: > > Filesystem 1M-blocks Used Avail Capacity Mounted on > /dev/da0s1a 62 31 2654% / > /dev/da0s1e192167 995% /usr > /dev/da0s1d 61 11 45

Re: Databook

1999-11-30 Thread Warner Losh
In message <[EMAIL PROTECTED]> "Matthew N. Dodd" writes: : On Tue, 30 Nov 1999, Warner Losh wrote: : > If you can get a databook/user manual for these things, I'd consider : > it after the newcard stuff stabilizes. : : It doesn't seem likely that we'll be able to get the manuals for them. :/ T

Re: Databook

1999-11-30 Thread Matthew N. Dodd
On Mon, 29 Nov 1999, Richard Puga wrote: > I have some PCMCIA to ISA adapters which use the Data Book DB86082 > chipset. > > I would be happy to donate a card or 2 to anyone who would write a > driver for it. tcic0: at port 0x380 iomem 0xd irq 5 on isa0 I'm working on it... Once Warner ha

Re: Databook

1999-11-30 Thread Matthew N. Dodd
On Tue, 30 Nov 1999, Warner Losh wrote: > If you can get a databook/user manual for these things, I'd consider > it after the newcard stuff stabilizes. It doesn't seem likely that we'll be able to get the manuals for them. :/ -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/N

Re: Human readable df

1999-11-30 Thread Wes Peters
Oliver Fromme wrote: > > What I'd like to have would be an option that inserts thousands > separators ("," or whatever your locale settings say) into the > default display: > > Filesystem1K-blocksUsed Avail Capacity Mounted on > /dev/da0s1a 105,893 5,117 97,600

Re: Ok, that's it, enough is enough! (rpc.lockd)

1999-11-30 Thread Dan Moschuk
| I reviewed the NFSv4 specs recently and came to the same conclusion. To do | it right will be quite a bit of work and would include a decent kernel | side implementation of rpc and gssapi. Cool! I can take that "I volunteer" ? :-) -- Dan Moschuk ([EMAIL PROTECTED]) "Cure for global warming:

Re: Databook

1999-11-30 Thread Warner Losh
In message <[EMAIL PROTECTED]> Richard Puga writes: : I have some PCMCIA to ISA adapters which use the Data Book DB86082 : chipset. : : I would be happy to donate a card or 2 to anyone who would write a : driver for it. If you can get a databook/user manual for these things, I'd consider it afte

Re: Human readable df

1999-11-30 Thread Bill Fumerola
On Tue, 30 Nov 1999, Warner Losh wrote: > FilesystemSize UsedAvail Capacity Mounted on > /dev/da0s1a 62.0M 31.0M 26.1M54% / Previously the three size column were right-aligned with the headers, and the percentiage was centered under 'Capacity', I hope we can keep that consis

Re: Human readable df

1999-11-30 Thread Thomas David Rivers
Stephen McKay <[EMAIL PROTECTED]> write > > On Tuesday, 30th November 1999, Warner Losh wrote: > > > FilesystemSize UsedAvail Capacity Mounted on > > /dev/da0s1a 62.0M 31.0M 26.1M54% / > > /dev/da0s1e 192M 167M 9.22M95% /usr > > /dev/da0s1d 61.4M 11.3M 45.2M

Re: Human readable df

1999-11-30 Thread Thomas David Rivers
In message <19991129230436.A6501@badmofo> [EMAIL PROTECTED] writes: : [badmofo@/home/matt] df -h : FilesystemSize UsedAvail Capacity Mounted on : /dev/wd0s1a 722M20M 644M 3% / : /dev/wd0s2h 9.9G 4.4G 4.8G48% /usr : procfs4.0K 4.0K 0B 100%

Re: Human readable df

1999-11-30 Thread Oliver Fromme
Stephen McKay wrote in list.freebsd-hackers: > On Tuesday, 30th November 1999, Warner Losh wrote: > > FilesystemSize UsedAvail Capacity Mounted on > > /dev/da0s1a 62.0M 31.0M 26.1M54% / > > /dev/da0s1e 192M 167M 9.22M95% /usr > > /dev/da0s1d 61.4M 11.3M 45

Re: Human readable df

1999-11-30 Thread Stephen McKay
On Tuesday, 30th November 1999, Warner Losh wrote: > FilesystemSize UsedAvail Capacity Mounted on > /dev/da0s1a 62.0M 31.0M 26.1M54% / > /dev/da0s1e 192M 167M 9.22M95% /usr > /dev/da0s1d 61.4M 11.3M 45.2M20% /var > /dev/da0s1f 288M 247M 18.4M9

Re: Ok, that's it, enough is enough! (rpc.lockd)

1999-11-30 Thread Doug Rabson
On Mon, 29 Nov 1999, Dan Moschuk wrote: > > | >I'm fairly certain that rpc.lockd is included with Darwin from Apple, > | >I've not closely compared it to what we have in -STABLE or -CURRENT > | >to see if it actually works. > | > | It doesn't, sorry... if someone gets a *BSD version of NFS loc

Re: Human readable df

1999-11-30 Thread David O'Brien
On Mon, Nov 29, 1999 at 10:37:08PM -0800, Kris Kennaway wrote: > > Here's a patch to add -h flag to df to produce human readable > > output. This makes it easier to read if the disk is big. > > You should submit this as a PR so it doesn't fall through the cracks > (although it looks like Chris mi

Re: Human readable df

1999-11-30 Thread David O'Brien
On Mon, Nov 29, 1999 at 11:57:48PM -0700, Warner Losh wrote: > Note, this uses the "traditional computer science SI extention" > units. Where M == 1 << 20, G == 1 << 30, etc. Disk drive > manufacturers use the real SI units where M == 10 ^ 6, G == 10 ^ 9, Some implimentations of ``df -h'' use "

Databook

1999-11-30 Thread Richard Puga
I have some PCMCIA to ISA adapters which use the Data Book DB86082 chipset. I would be happy to donate a card or 2 to anyone who would write a driver for it. Thank you Richard Puga [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the bod