Re: BSD sleep
On Tue, 28 May 2013 at 19:01 -, Kenta Suzumoto wrote: Hi. Is there no built-in way of making sleep sleep in increments of minutes, hours, etc? The GNU sleep can be invoked like sleep 1h for an hour. The FreeBSD one's manpage leads me to believe we can only use seconds, which is kind of annoying. Is there an undocmented or missing feature here? Seems really trivial to implement. ~ $ sleep 1h usage: sleep seconds See also /usr/ports/misc/delay. Stuart ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ekiga's audio input: dsp0.0?
On Sun, 17 Jun 2007 at 22:03 -0400, Mikhail Teterin wrote: On ?? 17 ??? 2007, Mikhail Teterin wrote: = Ekiga has a test settings buttons (under the configuration druid), but it = never plays back anything, that I say into the microphone (I tried two of = those already). Figured it out. What I needed to do, was: mixer recsrc This just shows the current input source. mixer mic 100 rec 100 You probably actually want: % mixer =rec mic % mixer mic 0 rec 100 Setting mic 100 will also mix your mic input with you main speaker output all of the time which may cause feedback or other issues. I recently was recording something and the speaker output Why aren't usable values on by default, when the machine boots, is beyond me... 6.2-RELEASE (and other versions) restore sound settings to the value saved on the previous shutdown. I'm not sure what the very initial values are on a freshly installed system (may even be sound device or BIOS dependent). I actually have my /etc/rc.d/mixer hacked to not save setting on shutdown which restores known/desired settings. (mixer_save=NO). --- /etc/rc.d/mixer.origFri Jan 12 02:42:21 2007 +++ /etc/rc.d/mixer Sat Jun 16 02:10:55 2007 @@ -34,6 +34,12 @@ . /etc/rc.subr name=mixer + +# patch: allow mixer_enable=no in rc.conf +rcvar=`set_rcvar` +: ${mixer_enable=YES} +: ${mixer_save=YES} + stop_cmd=mixer_stop start_cmd=mixer_start reload_cmd=mixer_start @@ -92,6 +98,10 @@ mixer_stop() { local mixer + + if ! checkyesno mixer_save; then + return + fi for mixer in `list_mixers`; do mixer_save ${mixer} Stuart Barkley -- http://www.4gh.net/tudor/resume.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: adding a directory to a CD-image (.iso)
On Thu, 17 Mar 2005 at 15:02 -0500, Mikhail Teterin wrote: I donwloaded an .iso-image (Solaris 10, actually), which is about 2.7Gb. Before burning it to a DVD, I'd like to add a directory to the image. Is there a way to do it with tools available on FreeBSD -- mkisofs, growisofs, etc? I don't want to recreate the main image from scratch, as I'm sure, I'll get the options wrong and it will not boot :-) Can I just add a directory to the existing iso8859 filesystem? I have not done this but think you should be looking into making a multi-session DVD. This should be easy. Method 1 (should be easy and direct): Just burn the original DVD image with growisofs in multi-session mode (the default): growisofs -Z /dev/dvd=image.iso You should then be able to directly add your new files with: growisofs -M /dev/dvd -R -J /more/files Method 2 (probably more appropriate for a CD image): Use mkisofs to create a second session .iso file. Something like: mkisofs -o second.iso -C something -M image.iso -R -J /more/files You might need to burn the first session and use burncd/cdrecord or something to get the magic numbers for the -C option. Stuart -- I've never been lost; I was once bewildered for three days, but never lost! -- Daniel Boone ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Install bug - 4.9 stable - post install circular reboot
On Tue, 17 Apr 2018 at 09:10 -0400, Kevin Berrien wrote: Check your system clock. Its way off. I can confirm an issue posted Dec 3rd, freebsd-stable maillist, titled 4.9 install buglet. I experience this bug running the install (various configurations) 100% of the time. After install, after system reboot, the boot loader comes up with F1: FreeBSD, and reboots continually forever. To test, I made 3 installs without issue using 4.8. So first, I'd like to confirm the bug report, and ask the following. I have also seen this problem on two of my systems when installing 4.9-RELEASE. In his buglet post, Ian noted the following work around. Work around. Force write in label screen (or rewrite MBR and label post reboot) Yes, I found this workaround also and it works for me. Looking at fdisk, and the label utility I see nothing option along these lines. Could someone explain to me what/how to do this? (From memory, YMMV) Reboot for the installation CD into sysinstall. Select Configure then Fdisk. In fdisk select W this will cause the MBR to be rewritten correctly (I always select the FreeBSD boot manager, I don't know if that is necessary). Has anyone else seen this apparently prevalent issue? Is a fix likely, or do these kind of things just slip by? I did not expect this from a 'stable' release. I'm not running stable so don't know if the problem is fixed there, or even if a fix in known. I'm using an ASUS P4B533-E motherboard with the original BIOS (Rev 1008 08/06/02). There is an updated BIOS available and I hope to be able to give it a try soon (it also fixes another minor problem I've seen: booting from floppy which doesn't work currently). Stuart -- I've never been lost; I was once bewildered for three days, but never lost! -- Daniel Boone ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]