Re: machdep.guessed_bootdev sysctl on i386

2003-02-24 Thread Hiten Pandya
Bruce Evans (Mon, Feb 24, 2003 at 06:27:26PM +1100) wrote: On Mon, 24 Feb 2003, I wrote: I tested with plain -current and old boot blocks. The sysctl still reports ad disks correctly. I don't care about the sysctl but want to keep the boot blocks as backwards compatible as possible. That

Re: machdep.guessed_bootdev sysctl on i386

2003-02-24 Thread Simon L. Nielsen
On 2003.02.24 01:35:02 -0500, Hiten Pandya wrote: Okay. I have attached a patch which will nuke the sysctl, and replace it's use in picobsd's mfs_tree rc scripts with something better, but which still needs review. I have not tested the patch, but this patch should not fail, hopefully.

Re: machdep.guessed_bootdev sysctl on i386

2003-02-24 Thread Oliver Fromme
Simon L. Nielsen [EMAIL PROTECTED] wrote: PicoBSD does not necessarily have awk (actually most likely doesn't since awk is 'big'). cut could be used instead since it much smaller : mount | grep 'on / ' | cut -f 1 -d ' ' Perhaps somebody has a better way? Does PicoBSD have sed? If

Re: machdep.guessed_bootdev sysctl on i386

2003-02-24 Thread Luigi Rizzo
sorry for the crosspost but since it originated on -current maybe people interested in the rest of the discussion were there. I introduced the sysctl to export some amount of information to be used by picobsd disks to tell whether you booted from floppy or atapi disk. In turn, this is useful (and

Re: machdep.guessed_bootdev sysctl on i386

2003-02-24 Thread Bruce Evans
On Mon, 24 Feb 2003, Hiten Pandya wrote: Bruce Evans (Mon, Feb 24, 2003 at 06:27:26PM +1100) wrote: On Mon, 24 Feb 2003, I wrote: I tested with plain -current and old boot blocks. The sysctl still reports ad disks correctly. I don't care about the sysctl but want to keep the boot

machdep.guessed_bootdev sysctl on i386

2003-02-23 Thread Hiten Pandya
Hello gang. Nothing big, but important... Can someone tell me if the machdep.guessed_bootdev sysctl is helpful at all? I think it's a waste, and it's pretty limited and only available on the i386. It currently guesses 'wd' instead of 'ad' for the dev. nodes, .e.g: hiten:~/ sysctl

Re: machdep.guessed_bootdev sysctl on i386

2003-02-23 Thread Terry Lambert
Hiten Pandya wrote: Hello gang. Nothing big, but important... Can someone tell me if the machdep.guessed_bootdev sysctl is helpful at all? I think it's a waste, and it's pretty limited and only available on the i386. It currently guesses 'wd' instead of 'ad' for the dev. nodes, .e.g:

Re: machdep.guessed_bootdev sysctl on i386

2003-02-23 Thread Bruce Evans
On Sun, 23 Feb 2003, Hiten Pandya wrote: Can someone tell me if the machdep.guessed_bootdev sysctl is helpful at all? I think it's a waste, and it's pretty limited and only available on the i386. It is not helpful. Someone removed the initialization of the kernel variable bootdev for

Re: machdep.guessed_bootdev sysctl on i386

2003-02-23 Thread phk
In message [EMAIL PROTECTED], Hiten Pandya writes: --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello gang. Nothing big, but important... Can someone tell me if the machdep.guessed_bootdev sysctl is helpful at all? I think it's a waste, and it's

Re: machdep.guessed_bootdev sysctl on i386

2003-02-23 Thread Hiten Pandya
[EMAIL PROTECTED] (Mon, Feb 24, 2003 at 07:10:59AM +0100) wrote: In message [EMAIL PROTECTED], Hiten Pandya writes: --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello gang. Nothing big, but important... Can someone tell me if the

Re: machdep.guessed_bootdev sysctl on i386

2003-02-23 Thread Bruce Evans
On Mon, 24 Feb 2003, I wrote: On Sun, 23 Feb 2003, Hiten Pandya wrote: Can someone tell me if the machdep.guessed_bootdev sysctl is helpful at all? I think it's a waste, and it's pretty limited and only available on the i386. It is not helpful. Someone removed the initialization of