Re: (no subject)
On 1/13/06, Susanka Kodisinghe [EMAIL PROTECTED] wrote: this regarding Midicart PHP Shopping Cart i have used your demo s/w and i am happy with your shopping cart solution. i nead clear some infomation befor buy that s/w. FreeBSD is an operating system. Also, it's free. You might be thinking of something else. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Virtual CD drive for FreeBSD?
On 1/10/06, Mark Ovens [EMAIL PROTECTED] wrote: Is there such a thing as a virtual CD drive in the Ports. Something that allows you to treat an ISO image file - data or audio - as though it were a real CD in a real drive? Like Nero ImageDrive in Windows. Look no further than the base system. mdconfig(8) the image file, and then mount_cd9660(8) the device node. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Running qmail
On 12/20/05, Gojyo [EMAIL PROTECTED] wrote: I manually started qmail-smtp. However, even if it's running, it doesn't listen on any socket. I think I'm missing something, but what? Is there some other thing that should I do? I don't think qmail-smtpd is listening on any socket, but rather on on stdin. So you could start qmail-smtpd from the command line and start typing your SMTP session. The normal way to run qmail-smtd is by way of tcpserver. This program will listen on any socket and start any program on connect and redirect the connection to the server's stdin, although inetd should work also. Se: http://cr.yp.to/qmail/faq/servers.html#tcpserver-smtpd ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Intel 855 AGP blues
I've got agp in my kernel, but get no /dev/agpgart device, and hence no xvideo in xorg. No trace of agp in my dmesg (neither in verbose mode). I recompiled my kernel from RELENG_6 today, but to no avail. I've asked this question before also, but got no replies. I can seem to find any traces of it in my logs, so I'm not sure when, but I am certain that this used to work (possibly back when I used 5.x, I'm not sure, unfortunately). Any help please? (Anything could help, just pointers on relevant keyword to google for--anything) Svein Halvor (uname, scanpci, dmesg and kernconf attached) [EMAIL PROTECTED]:~]$ uname -a FreeBSD weld.thelosingend.net 6.0-STABLE FreeBSD 6.0-STABLE #6: Tue Dec 20 12:16:09 CET 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/WELD i386 [EMAIL PROTECTED]:~]$ scanpci | grep -B1 855 pci bus 0x cardnum 0x00 function 0x00: vendor 0x8086 device 0x3580 Intel Corp. 82852/855GM Host Bridge -- pci bus 0x cardnum 0x02 function 0x00: vendor 0x8086 device 0x3582 Intel Corp. 82852/855GM Integrated Graphics Device -- pci bus 0x cardnum 0x02 function 0x01: vendor 0x8086 device 0x3582 Intel Corp. 82852/855GM Integrated Graphics Device WELD Description: Binary data dmesg.verbose Description: Binary data ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Running qmail
On 12/18/05, Gojyo [EMAIL PROTECTED] wrote: I've some problem making qmail work. I've installed qmail (with smtp auth support), ucspi-tcp and daemontools from the ports tree (I'm using Freebsd 6.0). I've disabled sendmail running the enable-qmail script after qmail installation (and I can see it's not running), I've copied the maildir start script from /var/qmail/boot to /var/qmail/rc and added qmail_enable=YES to /etc/rc.conf. Now I can't exactly understand what I have to do: I think I have to run qmail from the svscan service, but I really cannot figure out how to do it. I need some help You shouldn't need daemontools and the svscan utility (though it is useful for a number of reasons). The qmail port should have installed a symlink in /usr/local/etc/rc.d/qmail.sh pointing to /var/qmail/rc. This link is broken by default, but by moving or copying a file from the /var/qmail/boot directory to this location, the link should resolve and the script executed at startup. The scripts are non-rcng so you shouldn't need anything in /etc/rc.conf to make things work. You may need to edit the startup script /var/qmail/rc though. I would, however, recomend that you install daemontools also. This would require a little more initial work on your part, but is far easier to maintain, and makes sure that qmail keep running. Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FW: RE: FreeBSD starter machine...
In the past I've run 4.6 on a P1 133mhz with 64MB RAM and a 3GB disk. More recently I was running 5.3 on a Thinkpad 600e PII 333mhz with 160MB RAM and 2GB slice within the disk (until the hardware died). Although the OS ran fine on both of these there are limitations. You'd probably need to steer clear of the more 'newbie' friendly window managers such as Gnome or KDE (both the above ran Fluxbox handily to save on both speed and diskspace), and that may effect the required learning curve. I'm running 4.8 on a 486dx2 50MHz with 32MB RAM and 20GB disk. It's slow as h***, but it works. It's running fluxbox, but most of the time, I don't use X11 at all. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Slices
On 12/12/05, Jan Krediet [EMAIL PROTECTED] wrote: At first: I'm a newbie when I am talking about FreeBSD or UNIX! Welcome to the community! For long time i had the wish to install BSD because I experienced that UNIX or related versions are more powerfull than OSses from Microsoft. So i decided a week ago, to download a FreeBSD vs.6 and to install it. Sounds great! What i like to know from you is: is here something going wrong or is the size, as written in the handbook (50mB) and the faq's, no longer current in your FreeBSD vs.6? I'd say that the handbook should be updated, as 50MB is a little short. However, the size you would need for /var will very much depends upon what you plan on using this computer for. The heir(7) manpage will explain in detail what files usually lives inside /var, but to sum up its mostly log files, spool files and package information. Also /var/tmp is used to unpack packages in, which means it would quickly fill up if installing large packages. But this could easily be circumvented though. Point is: If you plan to run a mail or print server or any other server that will have large amounts of spool files lying around, you should increase your /var partition accordingly. Same goes for log files. If you plan on keeping those around for a long time, and run alot of servers that will produce lots of logs, increase /var to fit. So i'm a little proud in understanding so quick at this age. You should be. Hope you have a fun time getting to know FreeBSD. Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SCP!
On 12/12/05, Giorgos Keramidas [EMAIL PROTECTED] wrote: You use PSCP.EXE instead of PUTTY.EXE from a Windows' cmd prompt. That's probably awful, if you're looking for something with fancy, colourful GUI buttons, but it has certainly saved my a$$ a few times :) http://winscp.net/ is a nice GUI scp and sftp client for Windows. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Copying kernel and OS
On 12/10/05, Damon Blom [EMAIL PROTECTED] wrote: Thank's. Is there an easy way to install ports on slow machine using nfs after portupgrade on fast machine? For one port I guess you could do a nfs mount of faster machine ports after doing make on ithe port and just do install on slower machine? Check out pkg_create. You could use that to create packacges from installed ports on the fast maschine, and then installing those packages on the slower machine(s). Using some creative scripting, this could be done pretty transparently. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MD5 discrepancy in 6.0-RELEASE/src/CHECKSUM.MD5
On 12/8/05, James Long [EMAIL PROTECTED] wrote: Inside the CHECKSUM.MD5 file, however, it says that its own checksum should be MD5 (CHECKSUM.MD5) = 6ee62cd847afff4cadf6648389c67a11 This is interesting; how can the MD5 of a file be contained inside the file itself? Or rather, how can one correctly place it there? Since the MD5 algorithm does not converge, I would think this was impossible. Is it not? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't Mount Windows NT From FreeBSD 6.0 Stable
On 12/8/05, RdBSD [EMAIL PROTECTED] wrote: Kernel Error : WARNING: userland calling deprecated sysctl, please rebuild world Do as the waning tells you: Rebuild your world. Seems your userland and kernel is out of sync. The process is described here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ntp problems (strata too high)
On 12/8/05, Michael Wynne [EMAIL PROTECTED] wrote: The information contained in this e-mail and its attachments ('the information) is intended only for the use of the individual or entity to whom it is addressed, is private and confidential, may be privileged or otherwise protected by work product immunity or other legal rules. Access to the information by anyone else is unauthorized. [...] Then why would you send it to a public mailinglist, that's archived and propagated throughout the internet, and made available to anyone through search engines and the like? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Detect hardware changes
On 12/8/05, Keith Bottner [EMAIL PROTECTED] wrote: Does anyone know of a utility that can run on FreeBSD and detect the addition of new hardware? Specifically network cards? When I originally installed FreeBSD I only had a single NIC and since I installed a second but FreeBSD does not recognize it. Any ideas on how I can get FreeBSD to be aware of the new NIC? I think someone replied to you (or someone with a similar problem) just the other day. Use pciconf -lv to list all hardvare. If you see none@ lines, this means that no drivers did attach to the hardware. Then you either need to recompile you kernel og load the correct kernel module or, if the hardware is not supported, either write a new driver yourself or replace the hardware (or the os). You can use the ifconfig utility to list all recognized NICs installed. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /usr/disk usage
On 12/8/05, Grant Peel [EMAIL PROTECTED] wrote: Recently installed 6.0 on a new server. Never had a problem with a /usr FS at 2.0 Gig before, but this one seems to be filling up fast. make clean already done on ports, what else am I missing here? DOnt really want to delete source, but what else can be removed? : 335M./ports You can delete files under /usr/ports/distfiles/ If you need to recompile a port sometime it will be downloaded again. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Wireless networking in ad-hoc mode?
I used some ascii2hex converter that I found online to turn the wep key 1n4te into 316E3474410D0B. From ifconfig(8) manual page (my emphasis): wepkey key|index:key Set the selected WEP key. If an index is not given, key 1 is set. A WEP key will be either 5 or 13 characters (40 or 104 bits) depending of the local network and the capabilities of the adaptor. It may be specified either as a plain string or as a string of hexadecimal digits preceded by `0x'. For maximum portability, hex keys are recommended; the mapping of text keys to WEP encryption is usually driver-specific. ** In particular, the Windows drivers do this mapping differently to FreeBSD. ** ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: schedule a script at system startup
* Ian Lord [2005-12-03 20:18 -0500] I would like to run a shell script at system startup which needs to run under a specific uid... I don't see anything for this in man cron... See crontab(5) You can use the @reboot magic to make cron run a script once, at startup. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: XVideo-support gone
* Svein Halvor Halvorsen I'm not sure when this happened, but I'm not able to use the XVideo extension enymore. I'm 100% positive that I was able to before, but now MPlayer wont let me use it. xvinfo also says no adaptors present. I imagine this might have happened during the 6.0-upgrade, but I can't say for sure. I upgraded by the usual cvsup/makeworld/etc-routine, and used my usual KERNCONF, so no changes there. Some apps still are 5.x-binaries, but I've portupgraded both xorg and mplayer just to be sure. * RW [2005-11-29 18:17 -] Did you try: portupgrade -Rf mplayer Yes, and since then I've upgraded my entire ports collection also. I don't think is a mplayer issue, though, because xvinfo reports no adaptors present. I don't know too much about how all this fits together, and can't say if this is an xorg issue, kernel issue, or other, but I am certain that sometime in the not-to-distant-past XVideo did work on this particular hardware. How is that? What should I look into? Is it possible that a buildkernel could stir xvideo up in the -beta to -release upgrade, when the kernel config file has been left untouched? Best regards, Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
XVideo-support gone
I'm not sure when this happened, but I'm not able to use the XVideo extension enymore. I'm 100% positive that I was able to before, but now MPlayer wont let me use it. xvinfo also says no adaptors present. I imagine this might have happened during the 6.0-upgrade, but I can't say for sure. I upgraded by the usual cvsup/makeworld/etc-routine, and used my usual KERNCONF, so no changes there. Some apps still are 5.x-binaries, but I've portupgraded both xorg and mplayer just to be sure. Any pointers? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Backup scheme
* Lowell Gilbert [2005-11-19 08:58 -0500] Svein Halvor Halvorsen [EMAIL PROTECTED] writes: : : So I've got 1-6 working. This gived my a space efficient backup system, remotely stored. As to pt. 7, I was thinking of using NFS, but since the remote server is behind NAT, this seems unfeasible. So now what? NFS over VPN? ggated/ggatec? Other solutions? Routing protocols aren't going to help. If you want to mount a filesystem remotely, you need some kind of network filesystem. NFS is the most common way to do this, but should only be used on secure networks (you should be able to make it traverse NAT okay, but if there's a NAT in the way I'll guess there's probably also a public internet). Running NFS over an encrypted VPN is an obvious idea; you might want to look at net/arla (AFS) as well. There is work on an ssh-based remote filesystem (fuse), but I don't know much about it yet, beyond the fact that the recent FreeBSD status report announced it ready for use. Ok, thanks for the pointers. I will look into those. But how about GEOM gate? Is that out of the questions? That is also unencrypted, but of this is non-sensitive data. Is ggate feasible? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Asterisk on FreeBSD, anyone?
* Kiffin Gish [2005-11-19 17:21 +0100] Has anyone had any experience running Asterisk on FreeBSD 5.x ? Yes! If so, then which drivers are required and what is the best way to install the system? I only use sip, so no drivers. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Backup scheme
I'm in the process of employing the following backup scheme: 1) Take a snapshot using mksnap_ffs 2) Mount the snapshot 3) rsync the mounted snapshot to a remote server 4) Unmount and delete local snapshot 5) Take a new snapshot on the remote computer 6) Rotate old snapshots 7) Somehow export the snapshots back to the original computer So I've got 1-6 working. This gived my a space efficient backup system, remotely stored. As to pt. 7, I was thinking of using NFS, but since the remote server is behind NAT, this seems unfeasible. So now what? NFS over VPN? ggated/ggatec? Other solutions? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: suspend works, but resume doesn't on Dell desktop
* Svein Halvor Halvorsen [2005-11-06 13:42 +0100] When closing the lid on my laptop, while in X, and opening it again, the ~50 topmost pixels are garbled and the entire view is shifted down. Switching to console and back seem to fix it. Any takes? I fixed this by calling /etc/rc.lid trough devd and then calling vidcontrol in /etc/rc.lid. * Ihsan Dogan [2005-11-07 14:24 +0100] Can you please provide me those entries? in /etc/devd.conf: notify 10 { match system ACPI; match subsystem Lid; action /etc/rc.lid $notify; }; And /etc/rc.lid: #!/bin/sh sync sync sync if [ $1 = 0x00 ]; then logger -t Lid Close at `date +'%Y%m%d %H:%M:%S'` vidcontrol -s1 /dev/console # ( sleep 2 ; ataidle -s 0 0) else logger -t Lid Open at `date +'%Y%m%d %H:%M:%S'` vidcontrol -s9 /dev/console fi ataidle don't compile on 6.0, so I've commented out that line. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: suspend works, but resume doesn't on Dell desktop
* Mohan Singh [2005-11-06 00:52 -] How can I get resume to work properly? On my ThinkPad R51 I put acpi_video_load=YES hw.acpi.reset_video=0 hw.syscons.sc_no_suspend_vtswitch=1 Thanks for the suggestion. I tried it, but the issue persists. =-( I have a Dell Latitude X300, and was experiencing a similar problem. I just tried the suggested fix, and it did get me alot closer. I was able to resume my laptop from suspense, but the screen went garbled. After some googling, I tried increasing hw.acpi.sleep_delay, and found a value of 3 to be the magic that was missing. Now, I just have one more problem: When closing the lid on my laptop, while in X, and opening it again, the ~50 topmost pixels are garbled and the entire view is shifted down. Switching to console and back seem to fix it. Any takes? Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: suspend works, but resume doesn't on Dell desktop
* Svein Halvor Halvorsen [2005-11-06 13:42 +0100] When closing the lid on my laptop, while in X, and opening it again, the ~50 topmost pixels are garbled and the entire view is shifted down. Switching to console and back seem to fix it. Any takes? I fixed this by calling /etc/rc.lid trough devd and then calling vidcontrol in /etc/rc.lid. Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Porting from LInux to FreeBSD
* Deepak Naidu [2005-09-08 10:46 +0100] 2)How to i find memory, cpu information in freebsd, apart from TOP. In linux we have free and /pro/cpuinfo. I dont see any files under /proc You need to mount procfs on /proc to have files appear in /proc. However, you won't find cpuinfo in there, just one folder for each running process. You could however mount the linprocfs filesystm in /compat/linux/proc and look at /compat/linux/proc/cpuinfo et.al. You'd need to load the linux and linprocfs kernel modules to do that. To gather system information, these utils should provide a starting point: dmesg(8) sysctl(8) kenv(1) devinfo(8) pciconf(8) vmstat(8) pstat(8) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rsync and moving files [Re: backup w/ snapshots]
* Charles Swiger [2005-08-30 10:49 -0400] On Aug 30, 2005, at 3:32 AM, Svein Halvor Halvorsen wrote: Yes, that's correct! But let's say I keep more than one snapshot around. I maybe didn't mention this, but this the sole purpose of using snapshots; for me to have more full backups laying around. A snapshot on the same disk does not qualify as a reliable backup of your data. Using rsync to copy a tree of stuff to another machine would. Please read the entire thread. I use rsync to mirror my disks remotely, then make snapshots on that remote computer. The snapshots are mounted read-only and nfs-exported back to the original computer. This satisfies both the need for offsite sorage of backups, the need for invremental backups and the need for all previous backups to be randomly accessible from the original computer. Thanks for your consern, though. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rsync and moving files [Re: backup w/ snapshots]
* Garance A Drosihn [2005-08-30 12:50 -0400] Fwiw, I understand the problem you're trying to describe. And the basic issue is that rsync keeps no information between separate runs of it. It has no way of knowing that a given file on the source volume used to be at a different location. It does not even know that the destination volume was sync'ed by a previous run of rsync, so it does not even know that the file at the old location on the destination is the same as the file at the old location on the source. It knows nothing more than the information it has at the moment of any given run of rsync. You could kinda fudge that information for rsync by creating a lot of hard links, but that is probably going to create more of a mess than it will solve. So, you're left with doing something else outside of rsync. The script you are suggesting would probably be fairly easy to write in something like ruby, perl, or python. Use a key made up of the inode number + lastchange date, or maybe inode number + file size. Then save away the key-to-filename(s) mapping for every file. On the next run of rsync, see which files have moved on the source directory. If the destination volume has a file at the old location which matches the file-size or lastchange date (depending on which key you used...), then move it to the new location on the destination volume. Thanks! I think I will try to implement this, then! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rsync and moving files [Re: backup w/ snapshots]
* Greg Barniskis [2005-08-29 11:45 -0500] Eh? Bad assumptions about snapshots, I think. If a snapshot occupied even a tenth of the space of the data that it represented, we would quickly fill all our disks and the snapshot technology would be almost as painful as useful. A snapshot is essentially only an index of occupied disk space, not a copy of the actual data, and a snapshot is therefore much, much, much, much smaller than the data files that have changed. Read the relevant man pages and handbook sections again, and test your assumptions by measuring the actual change in snapshot size. I don't think your perceived problem really exists. Yes, that's correct! But let's say I keep more than one snapshot around. I maybe didn't mention this, but this the sole purpose of using snapshots; for me to have more full backups laying around. If I change the disk alot between snapshots. Eg. I rsync moved files (yes, within tha same fs), this will result in alot of file deletion and creation. Next, when I make the snapshot, a new list of occupied diskspace will be made, and all of these blocks will be marked in use, and therefore take up alot of diskspace. In reality the information change between the two snapshots, didn't change much at all, but the effect remains: my disk cannot longer store two snapshots (unless the backup disk is twice as large, which it is not). The solution: Somehow, I need to mirror all the move ops on the remote system before doing the rsync. This could probably be done by making a hash table of inodes/filenames pairs (or triplets, etc) each time i sync. Then the next time, I could compare the old table with the new, to find out which files are the same only with new names, then find those names on the remote system, change them to the new ones, and then rsyncing. If the inodes are recycled for brand new files between syncs, I don't think that would be a problem. The following rsync-job would recognize the diffs and sync that, which it would have done anyway, if the file is new. What do you think? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rsync and moving files [Re: backup w/ snapshots]
* Norberto Meijome [2005-08-30 02:14 +1000] I take your word wrt to how it works. Assuming of course that you move within the same filesystem. Yes, I'm talking about the same filsystem. (touche). yup, that's what would happenbut tha's the nature of the beast :) don't keep too many snapshots ? ;) it'd be great if you could keep a log of all local-mv operations,and then replay them remotely via ssh. Yes, I thought about that myself. Only I thought I'd keep a list of filename/inode pairs from each sync, so before I do a sync I could compare the lists to find out which files appears to be the same, only with a new name. Then rename those files remotely. In cases where a inode-match does not represent a relink, but just plain inode recycling, so what? Rsync will make the new file up to date. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rsync and moving files [Re: backup w/ snapshots]
* Bob Johnson [2005-08-29 12:44 -0400] Use a ggated(8) + ggatec(8) pair to establish a remote volume that looks local, then use gmirror to make it a mirror of the local drive. The big gotcha is that ggated/c only moves i/o requests and data via the net, it doesn't move ioctls, so some things just won't work remotely. Or at least, that's what I've read. Do you think this is allright for a 4M/640K link? The upstrem bandwith to the backupserver is 4 Mbps. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
rsync and moving files [Re: backup w/ snapshots]
* Svein Halvor Halvorsen [2005-08-28 23:53 +0200] Does this sound reasonable? Is there any precautions I should take? Are there any other tools better suited for the task at hand? I'm responding to my own message. Let's say I happen to move all music from /music/artist - album/ to /music/artist/album. Even though a local snapshot would handle this well, rsync would create new files on the remote machine, and when I then take a snapshot there, it will be HUGE! Can I resolve this? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rsync and moving files [Re: backup w/ snapshots]
* Norberto Meijome [2005-08-30 00:32 +1000] isn't that the whole point of having a backup? to have *another* copy of your files? Well, yes and no. The idea is that I have a main computer that I want to backup. I want the backup to be (a) remote, (b) incremental and (c) random-accessible. So I thought that every day my backup-server could rsync my main computer, creating a mirror of the relevant directory trees. Then, as soon as the rsync job completes, it takes a snapshot of the filesystem. This snapshot could be mounted r/o and nfs-exported back to the original computer. Now: If I have a file /foo/test on my main computer. After the first rsync-job this file will be copied, assigned an inode and put on the disk somewhere. If I change this file, a local snapshot will be smart enough to just store the changed sectors that this file now occupies. But: If I move the file from /foo/test to /bar/test on my main computer, rsync will create a BRAND NEW FILE in /bar (and delete the file in /foo, since I used the --delete option). Now this NEW file will have a new inode, and cover new sectors on disk. The snapshot will then tak considerable more diskspace. If I move a large directory tree this way, this will occupy huge amounts of diskspace. If I however, make the snapshot on my local disk, this is not a problem, as on this local filesystem /bar/test is not a new file. So how can I make rsync know that the files were just moved (renamed, relinked), and make rsync reflect this fact on the remote mirror? and I guess that yes, if the files are new in the remote system, when you take a snapshot the difference with the previous snapshot will be the size of the new data The files aren't new. Their names are! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rsync and moving files [Re: backup w/ snapshots]
* Hornet [2005-08-29 11:11 -0400] cat /usr/ports/sysutils/rsnapshot/pkg-descr It seems this is just a wrapper around the tools I was already planning on using. In this regard, it's a nice port. But won't this perl-script suffer for tha same shortcommings that rsync will? Or does it use rsync in more clever ways that I do? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
backup w/ snapshots
I'm thinking about using snapshots as a kind of backup-mechanism, in order to restore accidentally deleted files. Also, in order to avoid losing data in case of a fire, etc., I'd like to store the backup off-site. I'm thinking about using rsync to syncronize the relevant filesystems to the off-site backup-server eg. every day, then taking a snapshot of the remote filesystem, mount it as /export/backup/{date} and then nfs-exporting that filesystem to the first computer again. This way I'd have eg. the /home filsystem mirrored in /backup/{date}/home, and my /etc in /backup/{date}/etc. I could symlink /backup/yesterday or /backup/latest to the correct date. The network link between the two computers are about 4 Mbps downstream, and 640 Kbps upstream. That is; to take a backup is considerable faster than to restore a file. Does this sound reasonable? Is there any precautions I should take? Are there any other tools better suited for the task at hand? SVein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Pine alternative?
* Sean Murphy [2005-08-25 08:47 -0700] We have been using pine for years on our Sun Solaris box. We are in the process of moving to FreeBSD. I installed Pine from an updated ports collection and received a message about pine not being very secure. Is anyone using an alternative to pine that can also read pine's folders and addresses? I need it to be compatible as we still have many users with lots of data in pine. I guess mutt would do. But be aware that the notice is warning you about Pine's previous security history. All known security holes are fixed, and if you plan on keeping your system up-to-date (by e.g keeping track of portaudit etc), you should be alright. Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Few simple questions..
* Eric Murphy [2005-08-21 13:22 -0500] Are you usre mixer will do all the channels? I dont see anything in it that would allow me to change speaker volumes? Looks like you're right! I only have the usual two channels, myself. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Few simple questions..
* Eric Murphy [2005-08-21 01:50 -0500] Hey guys I use gnuls for colorizing my outputs such as ls..ect.. its really just an alias. : So if it doesnt read /etc how can I set global colors (for all users) for a interactive shell that isnt a login shell? Without creating ~/.bashrc's in each home directory. While this is not what you're asking, I would advise you to set the CLICOLOR environment variable to YES. This makes bsd-ls output in color. To use bsd-ls on a bsd-system make alot more sense than to use gnu-ls, since gnu-ls doesn't know about certain things about the UFS filesystem. Ie. it won't recognize the -o option. I set these eniromnet variable in login.conf: CLICOLOR=YES LSCOLORS=ExGxFxdxCxDxDxaccxaeex The first make bsd-ls output in colors, and the other makes bsd-ls output about the same colors that gnu-ls does. Im useing the emu10k1 driver and have sound comming out of all my speakers (includeing the sub) is there a way to adjust each channel? Maybe some sort of advanced mixer?? mixer(8) will do that. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Encrypted filesystem cgd
* vittorio [2005-08-10 12:26 +0200] Is there anything similar in FreeBSD? As far as I know, there is no encrypted filesystem support in FreeBSD. However, there are a couple of disk encryption systems in FreeBSD, GEOM and GELI. Both act between the disk and the filesystem layer, translating a disk into a (slightly smaller, but encrypted) disk, ontop of which you could put any supported filesystem. And by disk, I actually mean disk, partition, file or anything else you could put a filesystem on. GELI is quite new, and I'm not sure if it's in any releases yet. GEOM should be there though. Search the archives and the internet and manpages for more info. Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Encrypted filesystem cgd
* Benjamin Lutz [2005-08-10 14:01 +0200] It's GBDE, not GEOM. GEOM is the system of abstracting disk access, and GBDE is a GEOM class (as is GELI). Off course! I was typing a bit fast there! GEOM Based Disk Encryption ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using a hard drive without partitions
* Nikolas Britton [2005-07-30 03:26 -0500] What are the ramifications, good or bad, of not using partitions on a FreeBSD disk? What is wrong with just a slice? In FreeBSD, you can newfs a disk (eg. ad0), a slice (eg. ad0s1) or a partition (eg. ad0s1a). Even a regular file could be newfs-ed! You can also bsdlabel either a disk or a slice or a regular file, and this way you can create a /dev/ad0a device. Also fdisk can handle regular files, so you can slice a file. Even though this last example would make much sense, the former do! I have newfs-ed the c-partition myself several times, and also skipped the bsdlabel-ing completely and just newfs'ed the entire slice. On dvd+rw, I've newfs-ed the media, without slicing or partitioning/labeling first. I haven't tried to bsdlabel a disk, though. I guess the problem with using such setups would be non-standardization. That is, other systems might not know how to interact with your particular setup. Otherwise it should be fine. It's not much use either, though, to skip to partitioning; you don't save much space by doing so. Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rcNG issue
* Kövesdán Gábor [2005-07-18 19:58 +0200] I have a problem with my rcNG scripts. There are three scripts: named.sh, apache2.sh and proftpd.sh. Apache and ProFTPd require hostname resolving thus named should start firstly. The headers of my scripts are: : And when I enable all the three scripts in rc.conf, the apache hangs because it can't resolve the computer's hostname. It's really annoying, I have to manually start it after a reboot, or wait for the cronscript that checks whether it is running. What's wrong? I think this magic only works in /etc/rc.d. Try renaming your startup scripts 100.named.sh, 200.apache.sh, etc. I'm not sure, but FreeBSD used to run these scripts in /usr/local/etc/rc.d in alphanumeric order, and I presume that this functionality is preserved in 5.x to allow for backwards compatibility. Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Some sort of filter based filesystem
* Lowell Gilbert [2005-07-20 09:19 -0400] You're right that the outputs wouldn't *have* to be pre-generated, but doing it on the fly would make the project both more difficult to implement and (I think) less convenient to use. This, I do not get. Why is it, that this would be less convenient? In fact, I see no other use for this than to save disk space when you want data available in several (information perserved) formats? It would be pretty slow if you really did generate it on the fly. This is correct, and this is why this would not fit for all cases. However, alot of the time, one could want to sacrifice speed for space and the convenience of having just one master dataset to maintain. Also, a lot of other things would get very tricky: for example, you wouldn't have the file size available when listing a directory of virtual files. This could be a real problem, I agree. Regards, Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Some sort of filter based filesystem
* Svein Halvor Halvorsen [EMAIL PROTECTED] writes: What would be nice, is some kind of nullfs-like read only filesystem that would send all files through a configurable filter when opened. That way I could put all my music in FLAC format on hdd, and then, when I wanted to transfer some tracks to my portable player, I could grab the files from the ogg-directory. Or when I wanted to burn to CD-A, I could grab 'em from the wav-dir. * Lowell Gilbert [2005-07-19 12:18 -0400] It's a clever idea, but not really very useful; usually a virtual filesystem approach is good when you can generate the data as needed. For something like this, you would need to pregenerate the various forms anyway, so you wouldn't save disk space. Why would the various forms need to be pre-generated? I can easily imagine some mechanism where my flac files are filtered through a flac decoder and into a vorbis encoder on-the-fly. The same goes for iconv conversion, image processing, etc. In fact, this is the sole purpose of my suggestion. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Some sort of filter based filesystem
What would be nice, is some kind of nullfs-like read only filesystem that would send all files through a configurable filter when opened. That way I could put all my music in FLAC format on hdd, and then, when I wanted to transfer some tracks to my portable player, I could grab the files from the ogg-directory. Or when I wanted to burn to CD-A, I could grab 'em from the wav-dir. Is something like this available somewhere? Or how about some other solution, not file system based? Regards, Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Matlab7 (R14)
* Rodolphe Conan [2005-07-13 08:31 -0700] I finally got Matlab 7 working! I have put the following in the startup m-file set(0,'DefaultFigureRenderer','ZBuffer',... 'DefaultFigureRendererMode','Manual') Before to set these default properties, doing get(gcf,'Renderer') gave me None ! COuld you please provide me with a step-by-step guide on how to setup Matlab / on a FreeBSD 5.4 system? Is this DefaultFigureRenderer setting all you need to alter? And where do I put this configuration? I've installed Matlab 7 using: /compat/linux/bin/sh /path/to/matlab/install This gives me a seemingly working Matlab, except almost everything I try to di results in a freeze. I get the same /lib/libc.so.6: cannot execute binary file error as you reported, but this doesn't seem to cause any trouble. Java crashes all the time too. Did you change the bundles java? If so, how? Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trouble mounting Zip drive (solved!)
* Andreas Widerøe Andersen [2005-07-06 10:42 +0200] Hi and thanks for all help! Seems like I have found a sollution (thanks to this excellent tutorial http://freebsd.peon.net/tutorials/10/ and the help from the mailinglist members): I didn't follow this thread from the beginning, so I'm not sure if this was ever an issue, or if it has been discussed. But when I used ZIP disks some two to three years ago, I had some issues with password-protected and read-only disks. I found a solution for that sending raw commands to the device using camcontrol. If you're interested, I could try to dig up my notes on the matter. At that time there was no command line utilities I could find that would set these bits on the disks. Regadrs, Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Year-old messages
How come I get all these year-old messages coming in today? I got a couple of dozen of these in both questions@, current@ and [EMAIL PROTECTED] Here's an exerpt from the headers of one such message What's mu.org got to do with this? - Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0ED3443E37; Sun, 3 Jul 2005 00:08:49 + (GMT) (envelope-from [EMAIL PROTECTED]) Received: by elvis.mu.org (Postfix, from userid 1000) id 823A25DCAC; Sat, 2 Jul 2005 17:07:57 -0700 (PDT) X-Original-To: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by elvis.mu.org (Postfix) with ESMTP id 03A7E5C913 for [EMAIL PROTECTED]; Thu, 23 Dec 2004 08:27:48 -0800 (PST) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id EAAEC56FEC; Thu, 23 Dec 2004 16:27:06 + (GMT) (envelope-from [EMAIL PROTECTED]) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linux move to FreeBSD
* [EMAIL PROTECTED] [2005-07-02 19:35 -0400] FreeBSD looks like a good stating place for me, but one think about FreeBSD makes me uncomfortable is the symbol/emblem that the OS uses. That is a devil ! This has been covered many times before, and you could search the archives for more in-depth answers than I'll give here. The devil is supposed to be a daemon (not to be confused with the more modern term demon), a pun on on the fact that most server-programs in the unix world are called daemons. This is based on an old greek word which meant something close to servant. Somewhere in history this came to mean evil servant or devil in some religions. The FreeBSD use of the mascot is non-religious, however, and people generally doesn't think much about it. It is no more evil than the command chmod 666 file is. However, there has been some concern about it, and from time to time someone are asking this question. Sometimes people state that they will not use FreeBSD unless the mascot is dropped. Espescially the use of the mascot in the boot-up screen has caused some controvercy. There is an ongoing contest for a new FreeBSD logo, but alot of people in the FreeBSD community seem to like the little mascot, and are sceptical about a new logo. The contest submissions are not publically available, so I have no idea whether this attempt to replace the daemon will be successful. And even if FreeBSD would get a new logo, I'm sure alot of people would still use him as a mascot. The creature's name is Beastie (BSD) The image is copyrighted Marshall Kirk McKusick. Regards, SVein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rw access to ntfs
* Alex Zbyslaw [2005-06-29 15:07 +0100] Perhaps you could ask Microsoft to provide support in Windows for accessing any kind of filesystem other than their own. ;-) http://ffsdrv.sourceforge.net/ Will let you mount a ffs filesystem on Windows. Not sure how well tested it is, though Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
VHS to DVD conversion: problem with firewire, nfs, whatever
I'm trying to convert some of my old VHS cassettes to DVDs as those are more practical to hadle, and since the tape is becomming worn. I don't have a video-in intercafe on my wideo card, but I do have a digital MiniDV camcorder with the ability to do analog-digital pass-through by connection the output from my VCR tol A/V and the firewire link to my PC. I then press play on the VCR and use fwcontrol -R on my PC to cature. Peace of cake! However: The fwcontrol utility prints out n blocks padded once about every minute, and fwohci0: IR DMA buffer overrun gets printed on the console. I guess my computer is not fast enough to receive the data, and that this might have something to do with the fact that I'm saving the fwcontrol output over NFS. Problem is that my laptop don't have the needed 13 GB/hour storage space, and that my only firewire-controller is on that said laptop. However, I have a hard time grasping that this should be a problem. I need about 3.6 MB/s tranfer rate, and when dd-ing from /dev/zero to a file on the NFS-mounted filesystem, I get more than twice of that. Also the fw-bus seems fast enough, because I don't get these buffer overruns when saving to local disk (at least not as often, just once or twice an hour). Can someone please point me to where I could find some info on either tuning NFS or my firewire bus. Could I pipe the output through some kind of buffer on its way to the nfs-mount, that could help a possibly unstable network transfer rate? How would I go about doing this? Any pointers? Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Questions about packages and ports
* Sean Murphy [2005-06-27 10:59 -0700] I like to use the pkg_add -r feature of FreeBSD, however I have run into a problem where the ports have a more current version of the app then the package of the same app. It seems the ports collection is updated more then the package collection is this true? The packages are automatically built from the port-collection. So a package is a binary pre-build version of the corresponding port. The ports collection are updated several times a day, while the rebuild-process takes a long time. This compilation takes place on the package building clusters (pointyhat.freebsd.org and some other cluster of which I cannot remember the name). Once the peckages have been built, they're uploaded to the master ftp-site, and will then be propagated to the mirror-sites. The packages are rebuilt about once a week, I think. Is the maintainer of a package and a port the same person? Are they responsible for updating the package and the port? Since the packages are automatically built, they don't have a maintainer in the same way as the ports do. I guess it is the Release Engineer team that's in charge of the packages that come with a release, but the one's that's on the ftp-sites are just automatically built from the ports. This process is prone to errors, and if a port becomes broken, I guess the corresponding package might get out-of-date. You could take a look at the errorlog on pointyhat.freebsd.org, but I'm not too sure about this process. Someone else could probably fill in the blanks. Or you could do a search on the web. I'm sure this process is described in detail somwhere. Bottom line is that the port maintainer makes sure that the port is buildable. The pointyhat-cluster then builds it to make a package. The package as such, has no maintainer of its own. Packages will download dependencys required by the app does the ports do this as well? Yes! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Chop off end of file
I have a ~70GB, of which the last ~50GB is garbage. I know exactly at what byte I want to cut the file, but I do not have enough free diskspace to do a dd if=orig of=pre bs=... count= Is it possible to just chop off the end of a file, without making a copy of its beginning? It's a dv-file, resulting from fwcontrol -R. I left my home and forgot about it. When I returned home, the disk was full, and now I need to delete the garbage. I know at exactly what byte to cut the stream. Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Chop off end of file
* Svein Halvor Halvorsen [2005-06-26 01:57 +0200] Is it possible to just chop off the end of a file, without making a copy I figured it out. Seems truncate(1) was it. Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Chop off end of file
* Dan Nelson [2005-06-25 19:01 -0500] Try the truncate command. * Jonathan Chen [2005-06-26 12:02 +1200] truncate(1) is your friend. Thanks! I just figured this myself, after remembering that this operation is called to truncate. (Not easy when english is not one's first language) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie - Trouble installing OpenOffice
* Subhro [2005-06-21 19:23 +0530] sympatico# df Filesystem 1K-blocksUsedAvail Capacity Mounted on /dev/ad1s1a253678 119824 11356051% /devfs1 10 100%/dev /dev/ad1s1e253678 16 233368 0%/tmp /dev/ad1s1f 36221772 3195004 3012902810%/usr /dev/ad1s1d253678 1597007368468%/var /dev/ad0s19950544 7666112 228443277%/mnt It really looks to me as if the soft updates is the culprit. May we have a look at 'mount' without the 's? I don't know how big openoffice is, but I believe that it might possibly use over the ~70M free on /var, especially if it's also fetching some dependencies. If it is impossible to free up more space in /var, you could either: (a) move /var/tmp to /usr/tmp and make /var/tmp a symlink (b) use the -t option og pkg_add to specify a different temp dir Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with command line scratch files in zsh
* Mike Meyer wrote [2005-06-12 03:31 -0500] guru% wc (cat /etc/motd) wc: /dev/fd/11: open: No such file or directory Did you mount the fdescfs filesystem? I have this in my /etc/fstab: fdesc/dev/fd fdescfs rw 0 0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD MP3 Player's
* Frank Staals [2005-06-11 12:46 +0200] Almost all mp3-players will work fine with *BSD systems, the basic filesystem used on them is dos, so you can simply mount them using 'mount -t msdos'. I can't realy say what mp3 player is best, but check out the Iriver products, most of their mp3 players also support ogg vorbis, you are probably looking for an player with HD so check for the H300 series, www.iriver.com for more info Take notice that some of iRivers products don't come with USB Mass Storage as default, and need a firmware upgrade to support this. Without this support I do not believe that FreeBSD will recognize the unit as an external harddrive. With the UMS firmware, the iRiver units will lack some features, eg. the unit will start up slower, not support MP3 encoding at high bitrates, etc. I would advise anyone to check out these things before buying an iRiver. Thing might have changed with newer versions, thought. I have a 2GB iAUDIO5 myself, of which I am very satisfied. It playes Ogg Vorbis, but it also takes some time to turn on. I have no first hand experience of any other players. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: df -h output
* Daniel Gerzo [2005-06-07 23:09 +0200] Actually, this question is asked 2-3 times a month (if not more) ;-) In fact, it is asked so often, that one might be inclined to make the output of df imply this is some way or another, by means for a reserved column or something like that. But it would probably violate the pola and/or some standard. Maybe the df manpage should mention this, incl. a reference to tunefs? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Seagate HD not detected by FreeBSD
* Erik Trulsson [2005-05-29 14:09 +0200] Although it is theoretically fine to have just a slave device on an IDE channel without a master device, that configuration fails to work in many cases. If it fails to work it is probably a bug in some component of the system, but that doesn't help the person having the problem. If you have just a single IDE device on an IDE channel it should be configured as master, not as slave. Having it configured as slave is supposed to work, but often does not work and is therefore not recommended. It seems you are right! However, there should be no need for a slave-only setup anyway. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Seagate HD not detected by FreeBSD
* Ted Mittelstaedt [2005-05-29 10:28 -0700] According to the UDMA/66/100/133 standard [...] : So yes, there is something wrong with a primary master and a secondary slave. Just because it works on a lot of motherboards, and just because it worked in the past on old incorrectly manufactured IDE cables, running in PIO mode, doesen't make it per-standard, and definitely doesen't make it right electrically if using CS, as per the standard. As I said already, motherboards take a lot of shortcuts and do a lot of non-standard things. You are right, it's not a UDMA standard per se! And I was wrong to say that there was *nothing* wrong with that setup. However, it was not *entirely* wrong, either (allthough a peculiar setup). It's just that it's always worked for me, but it seems I was lucky. Btw, do you have any pointers to that standard? And also; could you try to fix your line lenght problem? Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Seagate HD not detected by FreeBSD
* Ted Mittelstaedt [2005-05-29 00:05 -0700] Wrong. Each IDE cable can have 2 devices a master and a slave. So if you have 2 IDE controllers you can have master, slave, master, slave for a total of 4 drives. It is not master on ide cable 1, slave on ide cable 2. There's nothing wrong with having a primary master and a secondary slave, just as much as there is nothing wrong with the setup you proposes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portaudit: recommended packages can't be installed
* Robert S [2005-05-21 13:29 -] Are fixes not necessarily made available when security vulnerabilities are found? No, fixes are not *necessarily* made available, although the most often are. As Kent pointed out, your specific problem should long be fixed. See the thread about portaudit and wget from just the other day, and you will realize that fixes are not necessarily being commited once a security flaw has been found. Also -- is there a similar utility to portaudit and freebsd-update, that can be used on the base operating system (not through ports)? Portaudit will report security issues with the base system as well, based on the kern.osreldate sysctl. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remove /usr/X11R6 after deinstall?
* Per Berger [2005-05-16 14:06 +0200] Since I have deinstalled all X-related stuff incl. xorg from my machine (don't need it anymore), can I remove the /usr/X11R6 dir structure? It's empty, I've checked, only dirs, no files... Or, to put it another way, is the dir structure there default, i.e. if you do not install X when you install the OS? No, you could safely remove the empty /usr/X11R6 directory. To see if all the directories that came with the distribution is there, check the mount point against the mtree files in /etc/mtree, eg.: mtree -f /etc/mtree/BSD.usr.dist -p /usr -e ...will show all the directories that exists in the mtree file, but are missing in the directory tree, ie. what dirs are missing. See mtree(8) for more info ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to replace words in all files?
* Sergey S. Ropchan [2005-05-13 12:40 +0300] find / -name '*' -print | xargs grep lnc0 - gives you all files in your system with lnc0 ... perl -pi.bak -pe 's/lnc0/rl0/' file1 file2 ... fileN - will replace lnc0 - rl0 in all specified files, with backuping of old files in *.bak Or one could use with the -i option, since sed is in the base system (although everyone probably has perl anyway) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to replace words in all files?
* Svein Halvor Halvorsen [2005-05-13 12:43 +0200] Or one could use with the -i option, since sed is in the base system ^ sed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: user owned groups
* Chuck Swiger [2005-05-11 14:33 -0400] Otherwise, you only have one default umask. I'm not sure there is a sane way of changing it depending on which directory you are currently in, but you might try setting up an alias (cd77, cd22?) which combines setting the umask and cd'ing. On my system, I keep .umask files lying around which has a umask number in it. Then in the systemwide bashrc file, I have [1; see below]. I have a /.umask file with a 0022 in it, and a 0077 in /home/.umask The function below will traverse the directory tree and try to find a .umask file in any directory in this or any higher level. Then it will read the value from the file and apply it to the umask command. If the umask is changing as a result of this, it will print a message stating the current umask, as well as which file was used to decide the current umask. If the umask is either group- or world-writable, a warning is issued. For non-bash users, I have not made an equivalent, and the umask is just set to 0077. I don't think I have any such users though (it's basically just me and my closest family who has access to my server). I think this will work in old style Bourne shells as well, though. [1] DEFUMASK=`umask` cd(){ builtin cd $@ oldumask=$(printf %04.0f `umask`) dir=$PWD found=false while [[ $dir != / ]] [[ $found != true ]] ; do if [ -f $dir/.umask ]; then umask `cat $dir/.umask 2/dev/null` found=true else dir=`dirname $dir` fi done [[ $found != true ]] umask $DEFUMASK newumask=$(printf %04.0f `umask`) if [ $PS1 != ]; then if [[ $oldumask -ne $newumask ]]; then [[ $found == true ]] echo Using .umask from $dir echo umask is `umask` (`umask -S`) fi [[ `echo $newumask|cut -c3` -lt 2 ]] echo WARNING: Insecure umask (group-writeable) [[ `echo $newumask|cut -c4` -lt 2 ]] echo WARNING: Insecure umask (world-writeable) fi unset oldumask newumask dir found } pushd(){ builtin pushd $@ cd $PWD } popd(){ builtin popd $@ cd $PWD } cd $PWD /dev/null 21 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How does one bootstrap DNS
* Jim Freeze [2005-05-02 15:31 -0500] Suppose I own two domains: abc.com and xyz.org. I want to host these domains myself and have them provide the primary and secondary name servers for each other. Is this possible? Seems kind of circular. In theory I would have ns1.abc.com to map to the IP of abc.com and ns2.abc.com to map to the IP of xyz.org. This will give me my primary and secondary name servers. I currently only have one computer on my domain, and it provides dns lookups for itself (and virtual servers)[1] So if you ask the dotorg root name servers what is the address of the name example.org, it would respond ns.example.org. So how do does that help you? Enter the world of glue records! The root servers carry a copy of the a-records for your ns-records in case your name servers are self-hosted. Your registrar should offer you the option to register nameserver or something like that. Then, you could easily enter the name of your newly registered nameserver as the nameserver of your domain. Svein Halvor [1] One could argue that I should have at least two name servers, but why should I need greater redundancy on my name servers, than I have on my other services? If my dns is down, so is my mail, and am in the mercy of the sender to keep retrying anyway. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How does one bootstrap DNS
* Me: [1] One could argue that I should have at least two name servers, but why should I need greater redundancy on my name servers, than I have on my other services? If my dns is down, so is my mail, and am in the mercy of the sender to keep retrying anyway. * Jim Freeze [2005-05-03 10:33 -0500] Yes, exactly. Is it permissable for ns1 and ns2 to point to the same IP address? Yes, this should work ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: lightweight bittorrent client that does queueing
* Brian John [2005-04-14 21:32 -0500] I am looking for a lightweight bittorrent client that does download queueing. I know this is somewhat of a difficult thing to ask for, but I think it is possible. I've tried ctorrent, bittorrent and azureus. Obviously ctorrent and bittorrrent didn't work for me (because they don't do queueing). Azureus was great, except it slows down my entire computer. Actually, a console-based client that would do queueing would be ideal, but I don't think one exists. So what is the most lightweight client that I can get that will do download queueing? See net/rtorrent ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ls colorized in freebsd csh??
* Sergei Gnezdov [2005-04-12 00:00 -0700] The man page says that colors are set in the form of exfxcxdxbxegedabagacad This is very different from bd=3d40;33;01: style. These are two different ls's and two different man pages. The one you are talking about is the ls(1) program in FreeBSD, while the other one is the ls-F builtin in tcsh, documented in the tcsh(1) man page. The poster suggested to setup ls as an alias for ls-F when using tcsh as the latter supports a wide range of colour-option while being faster than ls(1). ls(1) uses $LSCOLOR while ls-F uses $LS_COLOR. These have different syntax. It is also possible to use the GNU ls(1) which has a third way of defining its colorization. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh key fingerprints
* Erik Nørgaard [2005-04-04 14:02 +0200] How do I see the fingerprints of my ssh keys, both user and host keys? Excerpt from man ssh-keygen(1) SYNOPSIS ssh-keygen -l [-f input_keyfile] -l Show fingerprint of specified public key file. Private RSA1 keys are also supported. For RSA and DSA keys ssh-keygen tries to find the matching public key file and prints its fingerprint. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: making freebsd known to the world
* Ted Mittelstaedt [2005-03-31 01:45 -0800] but why is FreeBSD never listed on websites of third party applications like firefox? In this directory I can't find a FreeBSD package for example. http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.0.1/contrib/ Have you ever built firefox? It requires about 28 ports or so that are not in the base FreeBSD install, at least for version 4.11, and that is for the native version of it. And many of these are GPL so you are just adding trouble for BSD users who need a system they can use as a base for a commercial product - the last thing they want to discover is their app linked into some GPL library. If the Linux distributors want to bloat their base systems for every 3rd party application that comes along that is fine. I think you misunderstood. Noone is asking to add firefox (or any other third-party application) to the base system. I think the OP is asking the FreeBSD community to put some pressure on third-party vendors to make freebsd-packages available on their websites. This way the word FreeBSD would be mentioned and hopefully noticed. To the OP, I can only say that I might agree, but this is really up to the vensors if they see it profitable or otherwise advantegous to do so. Opera for instance, are marketing their support for FreeBSD. However, I stand by Ted's advice to ask this in the advocacy mailing list. Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sound on Dell Dimension 8300 (FreeBSD 5.1-RELEASE)
* Amit Kumar Saha [2005-03-30 11:30 -0600] I am trying to enable the builtin sound card present in Dell Dimension 8300 but cant seem to get it done. As far as I remember, in FreeBSD 5.3 it can be done simply by having the following two options in the kernel config file: device sound device snd_ich However, FreeBSD 5.1 does not recognize any of these even (Even man sound or man snd_ich does not work even though it should work on any FreeBSD 5.* So I guess I have to give some hardware hints in order to You need the old-style (aka 4.x style) device pcm in versions prior to 5.3-REL (maybe 5.2.1). However, you should REALLY consider upgrading to either 5.3-REL or 5.4-PRE as ALOT of stuff has been done since 5.1-REL Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sFTP nologin
* Grant Peel [2005-03-25 09:19 -0500] Is there a quick - secure way to allow the sshd sFTP subsystem to allows sftp connections without allowing shell accounts? I'm using this shell-script as a nologin-shell: - #!/bin/sh if [ $1 = -c -a $2 = /usr/libexec/sftp-server ]; then exec /bin/sh $@ else echo You are not allowed to login sleep 2 exit 0 fi - This will allow sftp, but not shell login (or scp) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with man
* Lord Raiden [2005-03-29 19:55 -0500] After updating everything to its latest version, did you remember to mergemaster to update your /etc files? Nope, didn't think to do it because I've never had to do it before. This would be a first. But I did run it and it errored out when I tried it and got this error. Any ideas? : snip : I cvsup'ed my ports tree and src files, but I didn't update my kernel or core files, only my ports. Might that cause a problem? It was probably because you said you updated everything, that you were guided to use mergemaster. We now see that you did in fact not update everything, just your ports. You should only run mergemaster when updating your base system. This is also probably why you never used it before. Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: aac support
* Theo de Raadt [2005-03-19 20:27 -0700] We do it all the time! We mail a vendor, and then we start a frank dialogue. I (or some other developer, maybe even Bill Paul from FreeBSD (Mr. Ethernet)... anyways, people like that.. ) explain the business case to the vendor. They almost always understand, and then give us documentation. Sometimes they open the documentation wide up! Seems to me that you need to get in contact with the stock holders of these companies. I do not know too much about the USA, but in Norway everyone who owns (any number of) stock in any public company, have a legal right to attend the general assembly that such companies are legally bound to organize every year. As a stock holder you hva ethe right to both speak at the general assembly and to propose a case trialed and to demand a issue to be considered and dealt with. Why not buy exactly one (1) stock in each and every hardware company there is in the USA? Show up, speak to the audience (the other stock holders), and have your case heard. Also, the stock holder register is probably also open to the public, which mean you could contact each and every one of the other stock holders and let them hear your case. I am sure Adaptec (or any other company) would want to listen to their owners. But then again; what do I know about business? Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HDD idle shutdown.
* [EMAIL PROTECTED] [2005-03-18 11:24 +0100] On Fri, Mar 18, 2005 at 10:21:17AM +0100, Christian Tischler wrote: I wondered whether there is an option to shut down an idle HDD until it is needed again? I am using FreeBSD 5.x. /usr/ports/sysutils/ataidle Note that, while this indeed will spin down your hdd, the system will most likely spin it up again after a short period of time, unless you modify some settings. Especially the cron system may cause your hdd to spin up every once in a while. Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: inode
* Giorgos Keramidas [2005-03-16 15:06 +0200] Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/ad0s1a253678 35430 19795415% 981 320413% / devfs 1 1 0 100% 0 0 100% /dev /dev/ad0s1e253678 6 233378 0% 3 330190% /tmp /dev/ad0s1f673024 332902 28628254% 87038 0 100% /usr You have two options, both of which involve a reinstallation: a) Resplit the disk giving more space to /usr. b) Use a single, big root partition. If he should not have the possibility to just wipe the entire disk to reinstall it (eg. this is his only disk and it is full of valuable data), he might be able to boot into single user, mount /usr and /tmp, and cram the entire contents of /usr into /tmp (using some sort of compression, e.g gzip) and then newfs /usr with more sensible values before restoring the contents from /tmp. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's the easiest way to do a backup and verify?
* Jerry McAllister [2005-03-14 10:30 -0500] [...] So then wouldn't a second dump of the same snapshot diffed to the tape device be a good for a verify? No, because the condition of the files that you are dumping the second time is different from the first time. : Most places cannot afford to make file systems completely unavailable for periods of time long enough (several hours, up to a couple of days) to allow dump to be run twice without any changes being made to the file system. Note the OP's use of the word snapshot. I think he is right! Or if he isn't; it has nothing to do with the filesystem beeing changed, but rather something to do with the way the backup is written to tape. However, I do think snapshots could be used for exactly this. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Stupid ASCII loader prompt
* Fafa Diliha Romanova [2005-03-13 05:41 -0500] It's not a demon, but a daemon. demon n 1: one of the evil spirits of traditional Jewish and Christian belief [syn: {devil}, {fiend}, {daemon}, {daimon}] Firstly, I'd like to say that you of course are free to remove the devil if it offends you. But that beeing said; the fact that the word deamon (or demon for that matter) is used in some contexts to mean something evil, does not necessarily make the word (or the image of it) evil too. It's all about what connotation you put on the word. E.g. to make a file world read-writable you would type chmod 666 file. Even though the number 666 is the number of the devil, the number itself is not evil. Just as little as the command is evil, or someone who types it. It's just a number. Put whatever meaning into it you like! (If, on the other hand, you would put the number inside a pentagram written in blood on some dark stone alter, I would not think the number was meant to be harmless by the writer.) Originally daemon just meant something like spirit. Then it became a certain kind (an evil one) of spirit in some religions. In other places and other contexts (i.e. the FreeBSD community, et.al) that transformation does however not hold true! This makes it irrelevant to bring up these dictionary definitions, as they both are all equally true and false. The dictionary does not define a language, it describes it's use. If deamon in some groups is used to mean evil spirit, while in others to mean spirit as in servant, they are both true! However, noone can deny the fact that Beastie *could* be interpreted as an image of something evil, and that it often does. One should therefore be careful when using the Beastie before an audience you don't know. (That beeing said, one could never be guaranteed not to offend anyone. The apple could easily be thought of as a symbol of the original sin. And the window I'm sure could also be interpreted in some way that would offend someone. This is especially true for words and names, where a word could means something completely different in two languages.) Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ATA harddrive sleep/spindown timout?
* Graham North [2005-02-23 22:36 -0800] Is it possible to put ata harddrives in spindown/sleep/suspend mode without putting the whole system to sleep/suspend? Take a look at ataidle in the ports collection. Note that the disk will come back to life again when you access it, and that several processes do exactly this all the time. In order for ataidle to be very useful, you'd have to twaek the system's crontabs et.al. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Electricity bill [was: Re: Leaving a Computer Running ?]
* Louis LeBlanc [2005-02-07 14:57 -0500] I'm coming into this thread a bit late, but if you go to : You'll see a neat little gadget that will tell you exactly what your computers electrical usage is. I'm not saying that leaving your computer on 24/7 consumes little power. I'm just saying that in Norway (where I live) and in Sweden (where the person I replied to seems to live) how much power used by your computers is irrelevant. This is true because: 1) Our house need to be heated a lot (more than the computer can provide) 2) Other heatsources are also based on electricity 3) Other heatsources are thermostatically controlled. In this setup, you need to warm up your house somehow. Since *all* energy in the end turns to thermic energy (elementary physics), the route this energy takes from moving electrons to heats is of little interest (when you're just looking to heat up your house). I could open my refrigerator door and it would not show up on my electricity bill (of course all my food would be wasted, so it would show up on my food budget). Or I could pass electrons through an electric resistance which generates heat (which is what most people do[1]), or I could turn on alot of light bulbs[2], or listen to music[2] and turn it up real loud. -- OR -- I could leave my computer on and get some extra use out of those moving electrons on their way from electric energy to thermic energy. Personally, I use a combination of all these. And the extra heating I need after turning on all my appliances, my thermostatically controlled electric wall heating takes care of. Of course, all of this is not true if your house does not needs to be heated that much most of the year. Svein Halvor [1] Note that in Norway all elecrticity is made from hydroelectric power plants, and not by burning fossil fuel, which is why alot of people don't use electric heating and not wood burning stoves and such. [2] Of course your house needs to be sound and light insulated as well, to ensure that no sounds or light escapes your house, in order for these two scenarios to work. Otherwise some of the energy would be transformed to heat outside your house, and in which case it would show up on your bill. It therefore makes sense to use those energy conserving light bulbs also in Norway and other cold countries. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Electricity bill [was: Re: Leaving a Computer Running ?]
* Adam McMaster [2005-02-08 14:00 -] It's not really the case that all the energy becomes heat, since the computer also has moving parts and generates sound (a *lot* of sound if it's anything like mine). Most of the energy going into a computer probably does become heat in the end, but certainly not all of it. Because of this it might be better to get a more efficient heater, but in the end it probably doesn't make a noticeable difference either way. The sound will also end up as heat in the end. The same goes for light. Hence my disclaimer in the end, stating that you need a sound and light insulated house. However, I think there are very little energy in the sound and light of a computer, relatively speaking. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Electricity bill [was: Re: Leaving a Computer Running ?]
* Erik Trulsson [2005-02-08 11:17 +0100] Not necessarily true. It was my message you originally replied to, and the apartment where I live has central heating, such that the heating is included in teh rent, and does not show up on the electricity bill (and I don't think the heating uses electricity anyway.) I understand that these presumption is not allways correct. Alot of people have central heating in Norway as well. Especially in houses that were built before 1950-ish when the power-revolution took place in Norway with alot of new-built hydroelectric plants. However, I believe this to be generally correct. I should confess that I don't have alot of detailed knowledge on Sweden though, even though we're neighbours so to speak. This was the reason I stated the presumptions anyway. Svein Halvor Who right now could use another computer to heat up my room. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Electricity bill [was: Re: Leaving a Computer Running ?]
* Erik Trulsson [2005-02-05 23:55 +0100] Also keep in mind that if you leave the computer running all the time it will show up on your electricity bill, so if you wish to save power you should shut down your computer over night. Given that your house needs to be warmed up (a presumption I think is correct for Sweden as you appears to be sending from; it sure does for Norway, I don't know about the OP), it does not matter where that heat comes from. If your other heating is termostatically controlled, then running your computer all night long uses no less electricity than leaving your heating on. Eventually, all those kWhs ends up as heat. You might just as well use it for something usefull in the way from electric to thermic energy, and not just send your electrons through an electric resistance for nothing (except heat-generation)! (Of course this argument is not valid if you need to cool your house, or if you use radiators, water-born heating, a wood-burning stove or something else other than electricity to warm up your house) Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: .snap
* Gert Cuykens [2005-02-07 00:32 +0100] What are .snap directories ? Take a look at these references: - mksnap_ffs(8) - dump(8) [under the -L option] - mount(8) [under the -o snapshot option] - /usr/src/sys/ufs/ffs/README.snapshot Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: Funny disclaimers (Was: Re: ssh root@localhost)
* Bart Silverstrim [2005-02-03 08:01 -0500] I wonder why if the messages are so important they don't PGP or GPG them. Wouldn't that make more sense for sensitive material? To send email from the Ullevål university hospital in Oslo, the first to words of the email needs to be ikke sensitiv (Norwegian for not confidential) in order for the email server to allow the email to be sent to the outside world. These restrictions do not apply for internal mail. If you don't include these two words, the email server will bounce it back to you, telling you to not send confidential information outside the hospital, or to include the magic words, in case that the message in fact is not confidential.___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ftpd
* Phillip Neumann [2005-01-21 00:36 -] 2) I dont understand permitions... i.e. lftp [EMAIL PROTECTED]:~ ls root-file -rw--- 1 rootwheel 0 Jan 22 19:12 root-file lftp [EMAIL PROTECTED]:~ mv root-file why_can_i_do_this rename successful I'm guessing that the directory in which the file resides is writable for the ftp-user. The user cannot read or write to the file itself, but it can read and write to the directory. That means that the user can delete and rename any file in that directory, but not copy (because that requires read-permissions). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ftpd
* Phillip Neumann [2005-01-23 20:28 -] Your right, The root directory is writeable by the ftp user. But if i do not let the dir writeable, the user will not be able to upload anything... How would i setup things, so users can upload and download, but not delete nor rename? This is not possible using traditional UNIX file system permissions. I do not know if ACLs could be used, but however; alot of ftp servers could control this for you. I know that eg. proftpd can, I'm not sure about (wu)ftpd, but it might. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Digital video camera + IEEE-1394 + Firewire: How?
* Rob [2004-12-09 22:21 +0900] What do I need for transferring the movies from the video camera to my PC? Do I need software? Is that in the ports? The camera will almost certainly send raw dv-data iver the ieee1394 (aka firewire, ilink, etc) cable when set on Play. You can then use fwcontrol which is in the base system, to save the stream to disk. Now you have a raw dv-file. This file can be transcoded using dv2jpg, transcode, or some other program. You'll find something in ports. You can also use dd to extract frames and subsections of the movie. You can use dvbackup to camouflage ramdom binary data as dv-data and then use fwcontrol to send it to tape. This way you can use your dv-camera as a cheap way of making backups (12-14 GB pr. tape). man fwcontrol(8) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: openoffice running on 5.3
* Chris Neustrup [2004-11-18 18:55 -0800] I am running a 5.3 stable box. Works fine. I want to put openoffice on it, but the ports are all either broken or marked as broken. Should I go back to StarOffice, or just try to slog it out? editors/openoffice-1.1 is not marked as broken on my system. However, it takes forever to compile, so I never did finish it to verify that it indeed does compile, but I have no reason not to think it will. You can find precompiled packages here: http://oootranslation.services.openoffice.org/pub/OpenOffice.org/ooomisc/FreeBSD/ There you'll find OOo 1.1.3 for both 4.10 and 5.3 Cheers, Svein Halvor ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Question about nice
[David J. Weller-Fahy, 2004-11-16] 1. I understand nice is useful if you need to run a program at a certain priority. Is nice useful when not passing a priority? If so, what is the difference between the following two commands (in terms of priority level)? nice isoqlog isoqlog According to the man page nice(1) The nice utility runs utility at an altered scheduling priority, by incrementing its ``nice'' value by the specified increment, or a default value of 10. The lower the nice value of a process, the higher its scheduling priority. If you don't specify tge priority level, then mice adds 10. 2. If it is useful to run nice without passing a priority, then are the following two commands equivalent? If not, which one would be preferred and why? nice sudo isoqlog sudo nice isoqlog The former will run sudo nice, which in turn will make isoqlog run as root, with the priority level inherited. The latter will make sudo run nice as root, and in turn run isoqlog with priority 10, with the effective user inherited. The obvoius difference, is that you let sudo run nice without a password, you could do sudo nice anyprogram without a password. Cheers, Svein Halvor ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Stop in /usr/ports/graphics/ImageMagick
[John Cholewa, 2004-11-16] === giFT-0.11.6 depends on shared library: Magick.6 - not found ===Verifying install for Magick.6 in /usr/ports/graphics/ImageMagick === ImageMagick-6.0.6.2 has known vulnerabilities: ImageMagick -- EXIF parser buffer overflow. Reference: http://www.FreeBSD.org/ports/portaudit/eeb1c128-33e7-11d9-a9e7-0001020eed82.html Please update your ports tree and try again. *** Error code 1 : Nothing relevant seems to be listed in /usr/ports/UPDATING. Any suggestions? If you really want to install the utility today, and ignore the vulnerability, you could define the environment variable DISABLE_VULNERABILITIES Cheers, Svein Halvor ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What is preferred method to get new software on 4.10 stable?
[Andy Firman, 2004-11-15] Or is there some mechanism to get .80 in from the ports? Update your ports-tree using cvsup to get an up-to-date version. You should then install portupgrade, if you don't allready have it. Updating clamav from 0.75 to 0.80 should then be as easy as: # portupgrade clamav Remember to read /usr/ports/UPDATING after you've updated your ports-tree. Cheers, Svein Halvor ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to create /dev/fd/# ?
[Eugene M. Minkovskii, 2004-11-14] Who can tell me: why I can't create /dev/fd/3 (evenly under root!), and what shell I do for create this? see fdescfs(5) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
pam(8) and pam.conf(5)
Where did these manual pages go? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Network hang on 5.3
I just installed a new bridge a couple of weeks ago, and the other day I upgraded it to RELENG_5_3 by source. It runs with a custom kernel which has bridge, ipfirewall, sound and some other things in it. Today the machine just suddenly locked up. This has also happened before (two days ago). The bridge seem to work still though, as I can connect to machines on the other side of the box and vice versa. It also answers on ping. However, if I try to connect via ssh or http the connection just seems to hang. If I do 'telnet bridge 22' I get Trying xxx.xxx.xxx.xxx... Connected to x.x.xxx. Escape character is '^]'. And nothing. It just hangs, and I can't ctrl-c or ctrl-z or anything. I have to kill the telnet process from another tty. Only the ports that are supposed to be open gives this result (22, 80, etc). If I try to connect to any other port, I get the usual 'Connection refused' I do not have a monitor on this machine, and ssh is the only way in. How can I find out what's wrong, either before or after rebooting it. Cheers, Svein Halvor ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Do you need to dismount /usr to dump it?
[Matt Staroscik, 2004-11-09] If I boot to single-user mode (reboot, hit space, do boot -s) and dump /usr to a file, I get read errors on a couple of blocks. : I thought it was safe to dump /usr in single-user mode. Will I need to boot off a CD or try another trick to get a clean dump of /usr? Or perhaps I am not using the right fsck options? You do not mention which version you are running, but if you're running 5.x and the /usr-partition has a ufs2 filsystem, you could use the -L option to make a dump of a 'live filesystem' Dump will then make a snapshot of the filsystem, dump that, and then delete the snapshot. The dump will then be consistent, and as the disk were immideately after issuing the dump command. Se more on dump(8), mksnap_ffs(8), mount(8) and /usr/src/sys/ufs/ffs/README.snapshot ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hello List
[Ben Haysom, 2004-11-10] I've tried the hand book, it really doesn't help... Well, not to be rude, but it doesn't really help us much either, if you do not specify what exactly you tried, what you whish to accomplish, and what errors you got. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OT: Top posting [Re: Hello List]
[Ben Haysom, 2004-11-10] What is top posting? A: Because it reverses the natural flow of the conversation? Q: Why is that bad? A: To write your raply on top of the original message Q: What is top posting? (I find that qouting in a resonable manner is far more important than wheter the response is on top or not) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]