:Yes - but FreeBSD then calls vm_object_page_remove to remove the pages
:from the vnode object. (vm_object_sync for 5.x or vm_map_clean for 4.x )
:
:Mhhh .. 4.X removes the pages without flushing if the file is not write
:mapped.
:This means that anyone with read access can screw up a file.
:(
Stephan Uphoff wrote:
> Matthew Dillon wrote:
> > :
> > :>
> > :> mmap() and msync(..MS_INVALIDATE..) should work.
> > :
> > :hmmm that is rather interesting..
> > :I wonder if it would work
> > :Maybe a vm guru could confirm this.. (under 4.x)
> > :
> >
> > Huh. If I hadn't looked at
Matthew Dillon wrote:
> :
> :>
> :> mmap() and msync(..MS_INVALIDATE..) should work.
> :
> :hmmm that is rather interesting..
> :I wonder if it would work
> :Maybe a vm guru could confirm this.. (under 4.x)
> :
>
> Huh. If I hadn't looked at the code I would have said that
> MS_INVA
:Actually what I'm looking for is
:"throw away clean data"
:
:I want to dump the cached version of a file so that I can force a reread
:of the disk.
MS_INVALIDATE doesn't do that.
madvise()'s MADV_FREE does what you want, BUT it does not currently
work (at least on 4.x or in DFly
On Wed, 21 Apr 2004, Matthew Dillon wrote:
> :
> :>
> :> mmap() and msync(..MS_INVALIDATE..) should work.
> :
> :hmmm that is rather interesting..
> :I wonder if it would work
> :Maybe a vm guru could confirm this.. (under 4.x)
> :
>
> Huh. If I hadn't looked at the code I would have
:
:>
:> mmap() and msync(..MS_INVALIDATE..) should work.
:
:hmmm that is rather interesting..
:I wonder if it would work
:Maybe a vm guru could confirm this.. (under 4.x)
:
Huh. If I hadn't looked at the code I would have said that
MS_INVALIDATE doesn't work in FreeBSD, but when I lo
# [EMAIL PROTECTED] / 2004-04-21 23:54:43 +0100:
> Roman Neuhauser writes:
> > > unload
> > > load /boot/kernel/kernel
> > > boot
> > >
> > > does it for me.
> >
> > Of course I run unload as the first step. It wrote it unloaded the
> > modules, and the started loading them again booting
Roman Neuhauser writes:
> > unload
> > load /boot/kernel/kernel
> > boot
> >
> > does it for me.
>
> Of course I run unload as the first step. It wrote it unloaded the
> modules, and the started loading them again booting the new kernel.
Did you type the exact THREE commands as shown abo
On Wed, 21 Apr 2004, Stephan Uphoff wrote:
>
> mmap() and msync(..MS_INVALIDATE..) should work.
hmmm that is rather interesting..
I wonder if it would work
Maybe a vm guru could confirm this.. (under 4.x)
>
> Stephan
>
> >
> > Ok so I have an application where I need to
> > rere
mmap() and msync(..MS_INVALIDATE..) should work.
Stephan
>
> Ok so I have an application where I need to
> reread a file I have just written to ensure that it went to disk
> correctly..
>
> Other than reading a few GB of data, is there a way to flush
> out the cache copy of a file I'v
On Wed, Apr 21, 2004 at 01:47:43PM -0700, Julian Elischer wrote:
> ingenious, but, no we can't do that..
> As I mentionned.. someone suggested using 'dump'
> to extract the file from raw disk and checksumming that... :-)
If it is SCSI, you could probably put a second controler on the
SCSI bus, and
On Wed, 21 Apr 2004, Garance A Drosihn wrote:
> At 12:23 PM -0700 4/21/04, Julian Elischer wrote:
> >Ok so I have an application where I need to
> >reread a file I have just written to ensure that it went to disk
> >correctly..
> >
> >Other than reading a few GB of data, is there a way to flush
On Wed, 21 Apr 2004, Steve Watt wrote:
> On Apr 21, 13:28, Julian Elischer wrote:
> } Subject: Re: how to flush out cache.?
> }
> } On Wed, 21 Apr 2004, Steve Watt wrote:
> }
> } > In article <[EMAIL PROTECTED]> you write:
> } > >
> } > >Ok so I have an application where I need to
> } > >rere
On Wed, 21 Apr 2004, Steve Watt wrote:
> On Apr 21, 13:28, Julian Elischer wrote:
> } Subject: Re: how to flush out cache.?
> }
> } On Wed, 21 Apr 2004, Steve Watt wrote:
> }
> } > In article <[EMAIL PROTECTED]> you write:
> } > >
> } > >Ok so I have an application where I need to
> } > >rere
At 12:23 PM -0700 4/21/04, Julian Elischer wrote:
Ok so I have an application where I need to
reread a file I have just written to ensure that it went to disk
correctly..
Other than reading a few GB of data, is there a way to flush
out the cache copy of a file I've written?
possibilities include:
On Apr 21, 13:28, Julian Elischer wrote:
} Subject: Re: how to flush out cache.?
}
} On Wed, 21 Apr 2004, Steve Watt wrote:
}
} > In article <[EMAIL PROTECTED]> you write:
} > >
} > >Ok so I have an application where I need to
} > >reread a file I have just written to ensure that it went to disk
On Wed, 21 Apr 2004, Julian Elischer wrote:
>
>
> On Wed, 21 Apr 2004, Steve Watt wrote:
>
> > In article <[EMAIL PROTECTED]> you write:
> > >
> > >Ok so I have an application where I need to
> > >reread a file I have just written to ensure that it went to disk
> > >correctly..
> > >
> > >Ot
On Wed, 21 Apr 2004, Steve Watt wrote:
> In article <[EMAIL PROTECTED]> you write:
> >
> >Ok so I have an application where I need to
> >reread a file I have just written to ensure that it went to disk
> >correctly..
> >
> >Other than reading a few GB of data, is there a way to flush
> >out the
In article <[EMAIL PROTECTED]> you write:
>
>Ok so I have an application where I need to
>reread a file I have just written to ensure that it went to disk
>correctly..
>
>Other than reading a few GB of data, is there a way to flush
>out the cache copy of a file I've written?
You can flush the fil
Ok so I have an application where I need to
reread a file I have just written to ensure that it went to disk
correctly..
Other than reading a few GB of data, is there a way to flush
out the cache copy of a file I've written?
possibilities include:
a file flag saying "don't keep a copy after it
# [EMAIL PROTECTED] / 2004-04-21 12:03:36 +0100:
> Kris Kennaway writes:
> > > loader to ignore loader.con) was that "unload" didn't help, it
> > > showed the kernel and modules were unloaded, but subsequent
> > >
> > > load
> > > boot
> > >
> > > or
> > >
> > > boot
>
On Wed, 21 Apr 2004, Joe Marcus Clarke wrote:
> On Wed, 2004-04-21 at 09:18, Daniel Eischen wrote:
> > On Wed, 21 Apr 2004, Joe Marcus Clarke wrote:
> >
> > > On Tue, 2004-04-20 at 17:08, Daniel Eischen wrote:
> > > > On Tue, 20 Apr 2004, Joe Marcus Clarke wrote:
> > > >
> > > > > I have a probl
On Wed, 2004-04-21 at 09:18, Daniel Eischen wrote:
> On Wed, 21 Apr 2004, Joe Marcus Clarke wrote:
>
> > On Tue, 2004-04-20 at 17:08, Daniel Eischen wrote:
> > > On Tue, 20 Apr 2004, Joe Marcus Clarke wrote:
> > >
> > > > I have a problem I'm hoping someone can help me with. GTK+ 2.4
> > > > int
On Wed, 21 Apr 2004, Joe Marcus Clarke wrote:
> On Tue, 2004-04-20 at 17:08, Daniel Eischen wrote:
> > On Tue, 20 Apr 2004, Joe Marcus Clarke wrote:
> >
> > > I have a problem I'm hoping someone can help me with. GTK+ 2.4
> > > introduced a new file selection GUI which works just fine in threade
Poul/group
The following patch makes raw sockets comply with prison IP addresses.
Some tools such as traceroute(8) may require that the prison IP address
be specified on the command line. I.E.
traceroute -s
Otherwise it might fail.
(because of this we may want to get rid of the
creat
Kris Kennaway writes:
> > loader to ignore loader.con) was that "unload" didn't help, it
> > showed the kernel and modules were unloaded, but subsequent
> >
> > load
> > boot
> >
> > or
> >
> > boot
> >
> > loaded the the modules again, and I had to "disable-module
On Wed, Apr 21, 2004 at 01:29:29PM +0930, Daniel O'Connor wrote:
> On Tue, 20 Apr 2004 18:28, Bernd Walter wrote:
> > > I am wondering if there is any way of telling if a given umass device is
> > > a floppy drive (or wants to look like one) - eg I have a USB FDD which
> > > I imagine should fall i
On Wed, Apr 21, 2004 at 10:20:14AM +0200, Roman Neuhauser wrote:
> # [EMAIL PROTECTED] / 2004-04-04 19:02:07 -0700:
> > On Mon, Apr 05, 2004 at 02:35:53AM +0200, Roman Neuhauser wrote:
> > > Booting a kernel with random compiled in, and load_random=YES in
> > > loader.conf causes a panic very simil
# [EMAIL PROTECTED] / 2004-04-04 19:02:07 -0700:
> On Mon, Apr 05, 2004 at 02:35:53AM +0200, Roman Neuhauser wrote:
> > Booting a kernel with random compiled in, and load_random=YES in
> > loader.conf causes a panic very similar to the one described here:
> > http://lists.freebsd.org/pipermail/free
29 matches
Mail list logo