/x86/boot/loader.conf
and then change bootfs on the fly:
amd64# zpool set bootfs=rpool/x86 rpool
amd64# reboot
x86# zpool set bootfs=rpool/amd64 rpool
x86# reboot
--
Artis Caune
Everything should be made as simple as possible, but not simpler
Changed paths:
M /head/sys/netinet/in_pcb.h
--
regards,
Artis Caune
. CCNA | BSDA
|
' didii FreeBSD
___
freebsd-hackers@freebsd.org mailing list
http
in them.
Shell scripts and config files in /etc will be with empt revision
string?!
You should really use subversion-freebsd.
--
regards,
Artis Caune
. CCNA
|
' didii FreeBSD
___
freebsd-hackers@freebsd.org mailing
If you are making world or release twice from one source, you will get
some binaries and lot of libraries which differ because of time
stamps:
# make buildworld
# make installworld DESTDIR=/home/build1
# rm -r /usr/obj/usr
# make buildworld
# make installworld DESTDIR=/home/build2
Hi hackers,
what are the max limits of kvm, kmem on amd64 platform?
Can I set vm.kvm_size 2G and vm.kmem_size 1500M ?
Regards
Artis
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To
How about aditional flag (X) to newsyslog, which don't compress first
log file?
This is useful for apache.
# cat /etc/newsyslog.conf
/var/log/httpd-access.log www:www 640 64 * $W1D0 BCZX
/var/run/httpd.pid 30
# ls /var/log/archive2/
httpd-access.log.0
httpd-access.log.1.gz
Sam Leffler wrote:
If you use callout_init_mtx then use callout_stop while holding my_mtx;
if the callout is blocked waiting for my_mtx the request will be discarded.
callout_drain should not be called while holding my_mtx because it can
sleep.
Thanks,
than I will use:
MTX_LOCK;
...
Hello FreeBSD-hackers!
what is the right way to stop callout which is initialized with mutex:
callout_init_mtx(callout_function, my_mtx, 0);
should I lock mutex before calling callout_drain() or not?
man page says: callout_drain() is identical to callout_stop() and
if the callout has an
Is it correct to use code like this
instead of copyin() / copyout() ?
Kernel module gets pointer to structure
which resides in userland memory space
and modify it directly!!!
userland: ioctl(tp_fd, TP_GET_TP_STATS, tp_stats)
kernel: tp_stats-hooked = hooked;
(freebsd 5.x, KLD)
-
pid_t is signed int type, or am I missing something?
try this one:
static int
new_open (struct proc *p, register struct open_args *uap)
{
pid_t pid;
pid = p-p_pid;
printf(open(2): pid: %d\n, pid);
return (open(p,uap));
}
On Wed, 17 Mar 2004 17:24:51 +0300, Roman Bogorodskiy
[EMAIL
But when i tried to do network activity like pinging another machine
then my application using the driver crashes. The behavior is very
erratic...in some cases it works even when doing theg network operation
but in another sitautaion it just crashes..
do you use real types in your driver?
afaik 4.x use spl(9)
int s;
s = splimp();
... critical code ...
splx(s);
On Thu, 11 Mar 2004 05:33:02 -0800 (PST), jitendra pande
[EMAIL PROTECTED] wrote:
Hi,
I am trying to use kernle level mutex in my driver for FreeBSD 4.8. I
tried searching for kernel level mutex but couldn't find
Hi!
I'm writting kld module, and have some weird problems
with mixing types and casts.
e.x.
if (long + u_long + u_long 0) don't work,
but
if (long 0 - u_long - u_long) works fine!
and code like this:
cur_rate = min_rate + \
(((max_rate - min_rate) * \
13 matches
Mail list logo