Re: FFS Driver for win2000?

2001-02-10 Thread Giovanni P. Tirloni
Because it's a dual boot machine. He wants to be able to see his FFS volume under Windows just like you are able to see a Windows partition under FreeBSD. You simply can't use NFS in this situation for obvious reasons. On Fri, 9 Feb 2001, Mike Walker wrote: > Windoze 2000 is supposed to supp

No Subject

2001-02-10 Thread Mohy Awatli
To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Great news !!!

2001-02-10 Thread webmaster
*** *** This is not a spam, this e-mail was sent under the DB of FreeHostedCgi.com if you wish to be removed read below *** **

Re: mount checking for read-only media

2001-02-10 Thread non
I wrote this in -current ML too, From: Kevin Brunelle <[EMAIL PROTECTED]> Date: Fri, 09 Feb 2001 11:10:10 -0500 > > It's not system call but `od' driver does check if the medium is > > writable or not. It returns EACCESS when the mount option is -rw and > > the medium is read-only. `od' is drive

Re: Handspring.

2001-02-10 Thread David Malone
On Fri, Feb 09, 2001 at 11:17:00PM -0500, Kenny Drobnack wrote: > claims that it works with Visors too. When I run coldsync, I get a > message "Please press the hotsync button" and when I hit the button I > get the message two more times, and then either it locked up or the > whole system locks u

Updating mmap(2) [nik@freebsd.org: Re: pipe]

2001-02-10 Thread Nik Clayton
There was no comment to these. Any objections if I commit my proposed changes? N - Forwarded message from Nik Clayton <[EMAIL PROTECTED]> - Date: Thu, 7 Dec 2000 16:33:32 + From: Nik Clayton <[EMAIL PROTECTED]> To: Dag-Erling Smorgrav <[EMAIL PROTECTED]> Cc: "G. Adam Stanislav" <[E

Re: /etc/security: add md5 to suid change notification?

2001-02-10 Thread Robert Watson
On Fri, 9 Feb 2001, Wes Peters wrote: > Add a list of executables and their MD5's to the kernel, to be loaded at > boot time via the loader. Modify the kernel loader to refuse to exec > any executable whose MD5 is known but doesn't match. Ditto for shared > libraries and ld.so. There you have

Re: operator new with C++ and pthreads

2001-02-10 Thread Jordan Hubbard
> but gcc (g++) doesn't seem to want to link them in, and uses its own > __builtin_new and __builtin_delete instead. You need to compile everything with -fno-builtin so that g++ won't try to use its own versions but yours instead. - Jordan To Unsubscribe: send mail to [EMAIL PROTECTED] with "u

Re: FFS Driver for win2000?

2001-02-10 Thread janb
I might try this. I would have to reformat a partition as nfs, right? JAn On Fri, 9 Feb 2001, Mike Walker wrote: > Windoze 2000 is supposed to support NFS, so why not use that instead? > > >Does anybody know of any attempt to write a Fast Filesystem driver for > >windows 2000?. I have a machine

Re: FFS Driver for win2000?

2001-02-10 Thread janb
Disregard this. I am simply not awake JAN On Sat, 10 Feb 2001 [EMAIL PROTECTED] wrote: > I might try this. I would have to reformat a partition as nfs, right? > > JAn > > On Fri, 9 Feb 2001, Mike Walker wrote: > > > Windoze 2000 is supposed to support NFS, so why not use that instead? > > >

Re: Updating mmap(2) [nik@freebsd.org: Re: pipe]

2001-02-10 Thread Richard Hodges
On Sat, 10 Feb 2001, Nik Clayton wrote: > There was no comment to these. Any objections if I commit my proposed > changes? > mmap - map files or devices into memory > > [...] > > doesn't immediately shout "You can use this function to allocate memory > as well". > > Perhaps > > mm

Re: Updating mmap(2) [nik@freebsd.org: Re: pipe]

2001-02-10 Thread Matt Dillon
:> mmap - allocate memory, or map files or devices into memory :> :> would be better? : :You have my vote. That information would have saved me quite a few :hours of angst a few years ago when I was looking for a way to share :memory between processes. In fact, it will probably be an impor

Re: Updating mmap(2) [nik@freebsd.org: Re: pipe]

2001-02-10 Thread Richard Hodges
On Sat, 10 Feb 2001, Matt Dillon wrote: NC: > :> mmap - allocate memory, or map files or devices into memory > :> > :> would be better? > : RH: > :While you're at it :-) maybe you could add a few lines suggesting that > :with the MAP_SHARED flag, this is a useful method of sharing memory

Re: Updating mmap(2) [nik@freebsd.org: Re: pipe]

2001-02-10 Thread Matt Dillon
:Maybe I'm suffering a temporary lapse of clue, but is there some :place where supplemental info (like code snippets) is kept? This :kind of info might be handy to someone seeing the man page for the :first time, but it doesn't seem quite right to put code samples :in the man pages themselves.

Re: operator new with C++ and pthreads

2001-02-10 Thread John Wilson
Thanks for your reply, Jordan. -fno-builtin doesn't seem to work. Consider the following simple scenario: my_new.h #include inline void *operator new(size_t size); - my_new.cc - #include #include #include "my_new.h" inline void *operator new(size_t s

Re: /etc/security: add md5 to suid change notification?

2001-02-10 Thread Wes Peters
Robert Watson wrote: > > On Fri, 9 Feb 2001, Wes Peters wrote: > > > Add a list of executables and their MD5's to the kernel, to be loaded at > > boot time via the loader. Modify the kernel loader to refuse to exec > > any executable whose MD5 is known but doesn't match. Ditto for shared > > l

Re: soft updates and qmail (RE: qmail IO problems)

2001-02-10 Thread Aleksandr A.Babaylov
Matt Dillon writes: > :Matt Dillon wrote: > :> Yes. In general softupdates will make the entire filesystem safer. > :Does it make sense to use softupdates on file systems like / and > :/usr which have little file creation/removal? > I have had softupdates turned on for all of my mount poi

Re: soft updates and qmail (RE: qmail IO problems)

2001-02-10 Thread Matt Dillon
:> My recommendation is to turn softupdates on for everything you have, :> and for us to make it a newfs default as well. At least in -stable. :You use softupdates turned on for all of your ufs. :Understand. :What is the reason to use softupdates for file system :with only atime updates o

Re: operator new with C++ and pthreads

2001-02-10 Thread Jean-Marc Zucconi
> John Wilson writes: > - > my_new.cc > - > #include > #include > #include "my_new.h" > inline void *operator new(size_t size) > { > printf("my new was called with size = %u\n", size); > return malloc(size); > } This is stupid. Inline function

Re: operator new with C++ and pthreads

2001-02-10 Thread Warner Losh
In message <[EMAIL PROTECTED]> John Wilson writes: : but gcc (g++) doesn't seem to want to link them in, and uses its own : __builtin_new and __builtin_delete instead. we do this all the time. g++ foo.o -o foo -pthreads -static works great. You must use g++ and not gcc to like, or you

Re: operator new with C++ and pthreads

2001-02-10 Thread Warner Losh
In message <[EMAIL PROTECTED]> John Wilson writes: : inline void *operator new(size_t size) This causes no code to be generated. Remove inline. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: operator new with C++ and pthreads

2001-02-10 Thread John Wilson
You are absolutely right, that `inline' shouldn't have been there. My bad. It works now - thanks! John On Sat, 10 Feb 2001 15:51:35 -0800 (PST), Jean-Marc Zucconi wrote: > > John Wilson writes: > > > - > > my_new.cc > > - > > > #include > > #include >

soft updates performance

2001-02-10 Thread Greg Black
Matt Dillon wrote: > Unless you are doing a read-only mount, there are still going to be > cases where having softupdates turned on can be advantageous. For > example, installworld will go a lot faster. I also consider softupdates > a whole lot safer, even if all you are doing i

Re: soft updates performance

2001-02-10 Thread Matt Dillon
:OK, I'm sold on the general idea of using soft updates; but what :sort of performance improvements should I expect to see? : :I do a kernel compile on a freshly-rebooted box with an without :softupdates; without, it took 20m45s and with soft updates it :still took 20m10s --- this is less than 3%