Re: how to use the MFS ?
cd /usr/ports as normal have a look at man mount_unionfs your basically stacking fs on top of each other writes goto the tmpfs as its at the top of the stack its not persistent over boots mind PstreeM China wrote: i think the option WRKDIRPREFIX is a good idea , and i whill test the methon unionfs. but i want to know , after i mount the unionfs , like this :#mount -t unionfs /usr/ports /usr/ports.real the /usr/ports is memery FS, what can i used to install software ?? go to the dir : /usr/ports/**/** to install , or go to dir dir : /usr/ports.real/*/* to install ?? thank all!! On Fri, Jan 9, 2009 at 6:14 PM, chris.scott <mailto:k...@snaffler.net>> wrote: Wojciech Puchar wrote: hi all: i want to know ,how to compile better speed during the installation of Ports , use the memery filesystem(MFS) .. during make world , mount the md0 to /usr/obj , but what can i do for better use tmpfs the port ? rm -rf /usr/ports/ mkdir /usr/ports mount -t tmpfs tmpfs /usr/ports portsnap extract now build ___ freebsd-questions@freebsd.org <mailto: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 <mailto:freebsd-questions-unsubscr...@freebsd.org>" quicker to do mv /usr/ports /usr/ports.real mkdir /usr/ports mount -t tmpfs tmpfs /usr/ports mount -t unionfs -o noatime /usr/ports /usr/ports.real of cause tmpfs can actually start using disk space unlike a md device so if you eat up to much ram with the compiles it will slow down ___ 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: how to use the MFS ?
Wojciech Puchar wrote: hi all: i want to know ,how to compile better speed during the installation of Ports , use the memery filesystem(MFS) .. during make world , mount the md0 to /usr/obj , but what can i do for better use tmpfs the port ? rm -rf /usr/ports/ mkdir /usr/ports mount -t tmpfs tmpfs /usr/ports portsnap extract now build ___ 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" quicker to do mv /usr/ports /usr/ports.real mkdir /usr/ports mount -t tmpfs tmpfs /usr/ports mount -t unionfs -o noatime /usr/ports /usr/ports.real of cause tmpfs can actually start using disk space unlike a md device so if you eat up to much ram with the compiles it will slow down ___ 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: how to use the MFS ?
or you should be able to use unionfs to mount the md1 device over /usr/ports if in not mistaken Dan Nelson wrote: In the last episode (Jan 09), PstreeM China said: hi all: i want to know ,how to compile better speed during the installation of Ports , use the memery filesystem(MFS) .. during make world , mount the md0 to /usr/obj , but what can i do for the port ? Set WRKDIRPREFIX to point to a directory in your mfs filesystem, and all the .../work/ directories will get created there. ___ 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: Best torrent client/server available for FreeBSD?
torrentflux is good php web based one, the inbuilt searches dont work any more but there is a nice plugin for firefox that enables you to just right click on the torrent file and push it to the server. ___ 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: DHCP and Bridge mode
What you are doing wont work as every machine has to have an individual ip address unless your talking multicast If you are trying to provide some fault tolerance eg two routers you should look at using carp. This will aloow you to have a floating ip between two or more machines. Only one machine has it at any one time though. rg wrote: Hello, I am trying to get two machines on the LAN share the same IP address assigned by DHCP server by using the bridge interface in rc.conf. But I have encountered two problems here. First, the B machine (the one that gets the same IP address as the main A machine) has no problem accessing the Internet. The A machine, however, seems to have DNS problems as it cannot resolve any addresses. And the second problem I've faced is that I cannot figure out how to use SSH to connect to the A machine from the B machine if they both share the same IP address. Or is there a better way to have that kind of remote access? Warm thank you for all the hints. ___ 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" ___ 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: Kernel messages redirection
typical, after hunting around for a few days and not no luck, i get luck just after giving in and posting to this list 8/ $ sysctl -a| grep mute kern.consmute: 0 does the job setting it in boot/loader.conf makes the kernel silently boot but im setting in in /etc/sysctl.conf so it set at userland. This way i can see the kernel boot normally rather than looking like its hung, no anoying geom messages now hmm, now to tidy up stuff that looked like it was working nicely before i ran it in the root console David Horn wrote: On Wed, Jan 7, 2009 at 10:52 AM, chris.scott wrote: hi Does anyone know howto redirect/stop kernel messages from displaying on ttyv0? Look at conscontrol(8) as one option. ( There may be other ways that work better for your case, but I have used conscontrol on my 7.0-RELEASE machine before with success ) You can use conscontrol(8) to either mute, or redirect kernel messages to another virtual console. Good Luck. ---Dave Horn eg when you plug in a usb disk you get a load of messages to the 1st screen console I am writing a custom installer and its a pain as every time I label and geom provider it spams a load of stuff and messes up my nice display. This is nothing to do with syslog as I have already turned off logging to /dev/console, ive tried a few curious looking sysctl varibles but not found anything that works yet. k ___ 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" ___ 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"
Kernel messages redirection
hi Does anyone know howto redirect/stop kernel messages from displaying on ttyv0? eg when you plug in a usb disk you get a load of messages to the 1st screen console I am writing a custom installer and its a pain as every time I label and geom provider it spams a load of stuff and messes up my nice display. This is nothing to do with syslog as I have already turned off logging to /dev/console, ive tried a few curious looking sysctl varibles but not found anything that works yet. k ___ 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"
pci serial card issues
Hi i'm running freebsd stable (last build 28th) and am having a few issues with 2 pci serial cards. Basically I'm trying to build a serial server. However the driver doesn't seem to work correctly. Sep 28 22:18:56 boxster puc0: port 0xce00-0xce07,0xcc00-0xcc07,0xca00-0xca07,0xc800-0xc807,0xc600-0xc607,0xc400-0xc40f irq 9 at device 8.0 on pci0 Sep 28 22:18:56 boxster puc1: port 0xde00-0xde07,0xdc00-0xdc07,0xda00-0xda07,0xd800-0xd807,0xd600-0xd607,0xd400-0xd40f irq 10 at device 11.0 on pci0 Sep 28 22:18:56 boxster puc1: could not get resource they are both 6 port serial pci cards, and are listed in the puc driver as supported. The pc is quite old so Im not sure if whats causing any issues. I have tried the bios with pnpos enables and disabled but it makes little difference. I have also tried with one card and the issue is the same. I have also disabled the pcs onboard serial ports and still no go I have disabled ACPI with hint.acpi.0.disabled="1" this seems to stop the resource error but I dont get any additional cuad devices $ pciconf -l -v | grep -B 4 UART [EMAIL PROTECTED]:8:0: class=0x070002 card=0x00061000 chip=0x98459710 rev=0x01 hdr=0x00 vendor = 'MosChip Semiconductors (Was: Netmos Technology)' device = 'Nm9845 Parallel/Serial Port Adapter' class = simple comms subclass = UART -- [EMAIL PROTECTED]:11:0: class=0x070002 card=0x00061000 chip=0x98459710 rev=0x01 hdr=0x00 vendor = 'MosChip Semiconductors (Was: Netmos Technology)' device = 'Nm9845 Parallel/Serial Port Adapter' class = simple comms subclass = UART Any help much appreciated chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"