Function calling

2006-04-04 Thread Nicolas Cormier
Hello. I'm writing a function tracer on freebsd to know which function the process passes inside. ex: nico > cat toto.c int foo4() { } int foo3() { } int foo2() { foo3(); } int foo1() { foo2(); } int main() { foo1(); foo4(); } nico > will print: 0x80484a8 (foo1)

RE: cloning a FreeBSD HDD

2006-04-04 Thread Khaled Hussain
Hi guys, Why does everyone talk about dump+restore as a pair? I thought it was possible just to dump a filesystem to a different hard disk i.e. dump -0a -f /dev/ad2 / Also, how can I find out which /boot/boot# file a freebsd system is using by default? Kind Regards Khaled > -Original Messa

Re: Function calling

2006-04-04 Thread Lutz Boehne
Hi, > But when the program uses the libc I have more RET than call ... > What's the good way to find function calls and return ? I'm doing something similar at the moment, utilizing the Branch Single Stepping feature available in most x86 CPUs and came across that same problem. While debugging t

Re: cloning a FreeBSD HDD

2006-04-04 Thread Peter Jeremy
On Tue, 2006-Apr-04 11:12:03 +0100, Khaled Hussain wrote: >Why does everyone talk about dump+restore as a pair? I thought it was >possible just to dump a filesystem to a different hard disk i.e. >dump -0a -f /dev/ad2 / It is. But /dev/ad2 will have a dumpfile on it, not a filesystem. The only thi

RE: cloning a FreeBSD HDD

2006-04-04 Thread Khaled Hussain
Hi Jeremy, Thanks for the clarification...at the moment I am trying to set a boot manager on my disk but am unsure which slice to set as the default boot selection when using the boot0cfg command. boot0cfg -Bv -s? ad2 disklabel -r ad0 (on a different bsd system) gives: 8 partitions: #si

Re: RFC: Adding a ``user'' mount option

2006-04-04 Thread Stefan Sperling
On Tue, Apr 04, 2006 at 02:47:18AM -0400, Joe Marcus Clarke wrote: > On Tue, 2006-04-04 at 08:30 +0200, Alex Dupre wrote: > > Joe Marcus Clarke wrote: > > > What I'd like to achieve is a simple out-of-the-box way of mounting > > > media such as CDs, and floppy disks without users necessarily needin

Re: cloning a FreeBSD HDD

2006-04-04 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> "Khaled Hussain" <[EMAIL PROTECTED]> writes: : Why does everyone talk about dump+restore as a pair? I thought it was : possible just to dump a filesystem to a different hard disk i.e. : dump -0a -f /dev/ad2 / because that will create a dump file on ad2,

Re: cloning a FreeBSD HDD

2006-04-04 Thread Darren Pilgrim
Khaled Hussain wrote: Thanks for the clarification...at the moment I am trying to set a boot manager on my disk but am unsure which slice to set as the default boot selection when using the boot0cfg command. boot0cfg -Bv -s? ad2 disklabel -r ad0 (on a different bsd system) gives: 8 partitions:

Re: RFC: Adding a ``user'' mount option

2006-04-04 Thread Darren Pilgrim
Stefan Sperling wrote: Why do GNOME/KDE rely on /etc/fstab on FreeBSD? GNOME/KDE could be patched to create mount points somewhere in the user's home directory, and issue a 'mount device mount_point' instead of 'mount mount_point' if the user clicks the device icon. Limiting GNOME/KDE to just

Re: bafug Freebsd 6.1 meeting

2006-04-04 Thread Ceri Davies
On 4/4/06 02:04, "Julian Elischer" <[EMAIL PROTECTED]> wrote: > Julian Elischer wrote: > >> The topic is "6.1... your questions answered" >> >> Is there any call for it to be streamed out? > > > I ask because we usually stream the meetings when there is a speaker, > but this is more round tabl

Re: RFC: Adding a ``user'' mount option

2006-04-04 Thread soralx
> So why not have GNOME/KDE create mount points for the user if > vfs.usermount is 1? Since FreeBSD uses devfs, every device in /dev that > usually represents a device with removable media can assumed to be > present in hardware. GNOME/KDE could be patched to create mount points > somewhere in the