Re: mdconfig - need some help

2004-10-31 Thread Joan Picanyol
* Christoph P. Kukulies <[EMAIL PROTECTED]> [20041031 22:38]: > # fsck /dev/md2 > fsck: Could not determine filesystem type I've seen this if /dev/md2 is not in /etc/fstab > # fsck -t ffs /dev/md2 > ** /dev/md2 > Cannot find file system superblock > ioctl (GCINFO): I

mdconfig - need some help

2004-10-31 Thread Christoph P. Kukulies
I'm trying to recover a filesystem. I dd'd /dev/ad2s1e into a 10 GB file and transfered it to another system. # mdconfig -a -t vnode -f ad2s1.dmp md2 # df Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/ad0s1a257838 1687586845471%/ devfs 1

Re: finding alternate superblocks in ffs

2004-10-31 Thread Christoph P. Kukulies
On Sun, Oct 31, 2004 at 02:42:18PM -0500, Brian Reichert wrote: > On Sun, Oct 31, 2004 at 12:42:10PM +0100, Christoph P. Kukulies wrote: > > Yesterday a major desaster happened: I stumbled across the power cable of my > > Dell Inspiron notebook. The notebook fell to the floor. FreeBSD was running >

Re: finding alternate superblocks in ffs

2004-10-31 Thread Brian Reichert
On Sun, Oct 31, 2004 at 12:42:10PM +0100, Christoph P. Kukulies wrote: > Yesterday a major desaster happened: I stumbled across the power cable of my > Dell Inspiron notebook. The notebook fell to the floor. FreeBSD was running > at that time. Nothing seemed to got damaged, just a palm rest popped

Re: finding alternate superblocks in ffs

2004-10-31 Thread Joan Picanyol
* Christoph P. Kukulies <[EMAIL PROTECTED]> [20041031 14:53]: > On Sun, Oct 31, 2004 at 01:47:04PM +0100, Christoph P. Kukulies wrote: > > On Sun, Oct 31, 2004 at 03:26:04PM +0300, Maxim Konovalov wrote: > > > [...] > > > > Any idea what I can do now? > >

Re: finding alternate superblocks in ffs

2004-10-31 Thread Erik Udo
What if you repartition & slice the disk exactly the way it was in sysinstall, and then Toggle Newfs off, and write changes. It worked fine for me. Christoph P. Kukulies wrote: Yesterday a major desaster happened: I stumbled across the power cable of my Dell Inspiron notebook. The notebook fell t

Re: finding alternate superblocks in ffs

2004-10-31 Thread Christoph P. Kukulies
On Sun, Oct 31, 2004 at 01:47:04PM +0100, Christoph P. Kukulies wrote: > On Sun, Oct 31, 2004 at 03:26:04PM +0300, Maxim Konovalov wrote: > > [...] > > > Any idea what I can do now? > > > > > > I wrote a little program that opens /dev/ad2s1e > > > > [...] > > > I'm not sure whether my approach is

Re: finding alternate superblocks in ffs

2004-10-31 Thread Christoph P. Kukulies
On Sun, Oct 31, 2004 at 03:26:04PM +0300, Maxim Konovalov wrote: > [...] > > Any idea what I can do now? > > > > I wrote a little program that opens /dev/ad2s1e > > [...] > > I'm not sure whether my approach is correct. > > src/tools/tools/find-sb > ls -d /usr/ports/sysutils/*ffs* Thanks. But...

Re: finding alternate superblocks in ffs

2004-10-31 Thread Maxim Konovalov
[...] > Any idea what I can do now? > > I wrote a little program that opens /dev/ad2s1e [...] > I'm not sure whether my approach is correct. src/tools/tools/find-sb ls -d /usr/ports/sysutils/*ffs* > Anyway, the blocks I find with that method > aren't recognized as superblocks either. -- Maxim

finding alternate superblocks in ffs

2004-10-31 Thread Christoph P. Kukulies
Yesterday a major desaster happened: I stumbled across the power cable of my Dell Inspiron notebook. The notebook fell to the floor. FreeBSD was running at that time. Nothing seemed to got damaged, just a palm rest popped off. Ah yes, the HD bay sprung off and in a moment of reflex I pushed it in

Re: nsdispatch services patch + lookupd

2004-10-31 Thread Jacques A. Vidrine
On Tue, Oct 26, 2004 at 02:17:49PM +0400, Michael Bushkov wrote: > Hello! > I've been asking to commit nsdispatch services patch (the patch, which > makes getserv* functions run over nsdispatch interface) since the middle > of summer. And it's still not committed. The problem is that the next > rel

Re: nsdispatch services patch + lookupd

2004-10-31 Thread Jacques A. Vidrine
On Wed, Oct 27, 2004 at 09:33:33AM +0200, Danny Braniss wrote: > while trying to add hesiod/dns support, i've noticed, what looks as a problem: > > in nss_tls.h, the function name##_getstate(...) can return a static pointer, > which gets freed in name##_endstate(...), as far as i know, freeing a n