Re: How can I add new binaries to the mfsroot image?

2008-11-18 Thread Daniel O'Connor
On Tuesday 18 November 2008 10:26:26 Peter Steele wrote: Is this something that can be done via sysinstall? If not, what's the best alternative? This whole process is targeted to be on a PXE boot server so we can configure our systems in a completely automated hands-off manner. We have 200+

Re: How can I add new binaries to the mfsroot image?

2008-11-18 Thread Ruben de Groot
On Mon, Nov 17, 2008 at 03:56:26PM -0800, Peter Steele typed: I'll have to check this out. I'm not getting anywhere with trying to customize mfsroot with my current approach... The goal we are trying to achieve btw is to make gmirror available during an install so that the file systems are

Re: Ответ: KLD loading, liking

2008-11-18 Thread Alexej Sokolov
On Mon, Nov 17, 2008 at 09:43:44PM +0100, Ed Schouten wrote: * Aleksandr Litvinov [EMAIL PROTECTED] wrote: Hello, You can receive a little information about KLD from the book designing BSD rootkits. I don't own this book myself, but a colleague at Snow B.V. once showed it to me. I only

RE: How can I add new binaries to the mfsroot image?

2008-11-18 Thread Peter Steele
I believe you modify /usr/src/release/${ARCH}/boot_crunch.conf to do this. I haven't actually tried though... I think it would be possible to have a 'GEOM' menu that you can run prior to fdisk, label, etc that would allow you to do some basic stuff like this. While the sysinstall code is a bit

RE: How can I add new binaries to the mfsroot image?

2008-11-18 Thread Peter Steele
What I've done in the past is skip sysinstall alltogether and just boot of an NFS root. Then use custom scripts for the slicing/partitioning/ mirroring, copy a minimal system to disk and pkg_add the rest. Would be nice to do all this with install.cfg though. Please let me know when you get this

Re: [Testers wanted] /dev/console cleanups

2008-11-18 Thread Ed Schouten
Hello Carlos, others, * Ed Schouten [EMAIL PROTECTED] wrote: About the /dev/console issues: Robert Watson and I discussed this some time ago on IRC and what I did in HEAD (not RELENG_7) was that I changed TIOCCONS not to take a look at the permissions of /dev/console, but we changed it to use

What are proper install.cfg for configuring multiple slices?

2008-11-18 Thread Peter Steele
I want to do an automated sysinstall through an install.cfg script and the script partition the install disk into three slices. I've been going through various tests trying to figure out what the proper directives are but I haven't had much luck, and I can't find any good examples. Here is a

Re: How can I add new binaries to the mfsroot image?

2008-11-18 Thread Daniel O'Connor
On Wednesday 19 November 2008 02:25:12 Peter Steele wrote: I believe you modify /usr/src/release/${ARCH}/boot_crunch.conf to do this. I haven't actually tried though... I think it would be possible to have a 'GEOM' menu that you can run prior to fdisk, label, etc that would allow you to

Re: [Testers wanted] /dev/console cleanups

2008-11-18 Thread David Wolfskill
On Tue, Nov 18, 2008 at 10:34:10PM +0100, Ed Schouten wrote: ... One solution would be to let xconsole just display /var/log/messages. Errr... it may be rather a pathological case, but you might want to check the content of /etc/syslog.conf on the local machine before getting too carried away

RE: How can I add new binaries to the mfsroot image?

2008-11-18 Thread Peter Steele
You wouldn't have to do so - you could just run a shell script from sysinstall and do what you want. That brings me back to my original problem. Yes, I can run a shell script from sysinstall, but gmirror isn't available in mfsroot, and adding gmirror to mfsroot isn't straightforward because it

Unicode USB strings conversion

2008-11-18 Thread Nick Hibma
In the USB code (and I bet it is the same in the USB4BSD code) unicode characters in strings are converted in a very crude way to ASCII. As I have a user on the line who sees rubbish in his logs and when using usbctl/usbdevs/etc., I bet this is the problem. I'd like to try and fix this problem