Re: Cleaning /var/db/portsnap/files/, how?
On Mon, 04 Oct 2010 12:01:24 +0200 O. Hartmann ohart...@zedat.fu-berlin.de wrote: On several FreeBSD boxes performing portsnap fetch updating the ports on a regular basis, folder /var/db/portsnap/files/ gets filled over time. I was wondering if there is not an elegant, sophisticated way cleaning up those files not needed anymore. There shouldn't be any need to do that, they are supposed to be deleted automatically. I have 22371, if you have much more than that you probably should remove the contents of /var/db/portsnap/ and do another fetch. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cleaning /var/db/portsnap/files/, how?
On Mon, 4 Oct 2010 12:59:50 +0100 RW rwmailli...@googlemail.com articulated: There shouldn't be any need to do that, they are supposed to be deleted automatically. I have 22371, if you have much more than that you probably should remove the contents of /var/db/portsnap/ and do another fetch. I have 22339 files on a FreeBSD 8.1/amd64 system. It might be interesting to find out how to ascertain the correct number of files that should be located there. -- Jerry ✌ freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cleaning /var/db/portsnap/files/, how?
On Mon, 04 Oct 2010 12:01:24 +0200, O. Hartmann ohart...@zedat.fu-berlin.de wrote: On several FreeBSD boxes performing portsnap fetch updating the ports on a regular basis, folder /var/db/portsnap/files/ gets filled over time. Sorry for not answering your question, but allow me a little sidenote regarding the proper terminology. FreeBSD, as every UNIX OS, has *directories*, not folders. You do also use the name files, not sheets of paper, don't you? :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Cleaning /var/db/portsnap/files/, how?
On several FreeBSD boxes performing portsnap fetch updating the ports on a regular basis, folder /var/db/portsnap/files/ gets filled over time. I was wondering if there is not an elegant, sophisticated way cleaning up those files not needed anymore. Please shed light onto my darkness ... Regards, O. Hartmann ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cleaning /var/db/portsnap/files/, how?
On Mon, 4 Oct 2010 13:24:18 +0200 Polytropon free...@edvax.de articulated: On Mon, 04 Oct 2010 12:01:24 +0200, O. Hartmann ohart...@zedat.fu-berlin.de wrote: On several FreeBSD boxes performing portsnap fetch updating the ports on a regular basis, folder /var/db/portsnap/files/ gets filled over time. Sorry for not answering your question, but allow me a little sidenote regarding the proper terminology. FreeBSD, as every UNIX OS, has *directories*, not folders. You do also use the name files, not sheets of paper, don't you? You say po-tah-toes, he says po-tay-toes, who cares? Were you completely baffled by what he was trying to convey? At the very least, you could have attempted to answer his question before giving him a lecture that served no purpose other than to belittle the OP. By the way, in Linux and other Unix-like operating system, everything on the system is treated as being a file, and a directory is thus considered to be just a special type of file that contains a list of file names and the corresponding inodes for each file and directory that it appears to contain. An inode is a data structure on a filesystem that stores all the information about a file except its name and its actual data. Therefore, strictly speaking, he could have just referenced file instead. The term folder is used as a synonym for directory on the Microsoft Windows and Macintosh operating systems. -- Jerry ✌ freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cleaning /var/db/portsnap/files/, how?
On Mon, 4 Oct 2010 08:22:58 -0400 Jerry freebsd.u...@seibercom.net wrote: On Mon, 4 Oct 2010 12:59:50 +0100 RW rwmailli...@googlemail.com articulated: There shouldn't be any need to do that, they are supposed to be deleted automatically. I have 22371, if you have much more than that you probably should remove the contents of /var/db/portsnap/ and do another fetch. I have 22339 files on a FreeBSD 8.1/amd64 system. It might be interesting to find out how to ascertain the correct number of files that should be located there. $ wc -l /var/db/portsnap/INDEX 22365 I appear to have 6 superfluous files. Perhaps some ports have been added since you last did a fetch. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cleaning /var/db/portsnap/files/, how?
On Mon, 4 Oct 2010 08:17:02 -0400, Jerry freebsd.u...@seibercom.net wrote: You say po-tah-toes, he says po-tay-toes, who cares? I say Kartoffel, you say name server, who cares? :-) Were you completely baffled by what he was trying to convey? At the very least, you could have attempted to answer his question before giving him a lecture that served no purpose other than to belittle the OP. You know that I'm a bit picky about correct terminology, and I've often said on this list that the things are correctly called directories because that is their correct name, and even their more correct name in UNIX context. In specific fields of language, you have terminology. You have them in education, in commerce, in politics, in the context of law, and of course you have them in the field of IT. That is nothing special, bad, or strange. By the way, in Linux and other Unix-like operating system, everything on the system is treated as being a file, and a directory is thus considered to be just a special type of file that contains a list of file names and the corresponding inodes for each file and directory that it appears to contain. An inode is a data structure on a filesystem that stores all the information about a file except its name and its actual data. Therefore, strictly speaking, he could have just referenced file instead. As he refered to a special file (in the more system-level context of a file system) the naming directory would be better as it is not misleading. Using the term file without further explainations usually refers to a plain file. Let me give a quite formal example: usage of inodes = { file | directory | link } file = { regular file | block device | pipe | ... } This is not complete (and not trying to be), but it illustrates that the word file does not carry the meaning directory per se in its normal in-context use. The term folder is used as a synonym for directory on the Microsoft Windows and Macintosh operating systems. Erm... no. Not quite correct. The term folder is a description of a pictural element that represents a directory, or, to be correct, it is the NAME of that pictural element that represents a directory. This word is common used *instead* of directory in the MICROS~1 land. While directory is a technical term (as seen in the context of IT), folder is a rather descriptive term that is used to refer to the technical term (like when you're refering to a heavy load transportation truck as a big car). Jerry, I don't want to pollute the list with discussions about terminology and other aspects of language and their use, but please be sure that it was not my intention to belittle the OP, and I'm sure the OP did understand my comment correctly, as so did many others before him. The fact is that we have certain terminology here, and it should be the most natural thing to use it properly. That's just the way it is. The use of the correct words distinguishes those who know what they are talking about from those who don't (yet). As the OP did post a valid (non-stupid) question to this list, I am SURE that he knows the difference, so he definitely knows what he's talking about. Using folder instead of directory is therefore considered a simple fauxpas by me. It's possible that the OP has also to work with Windows stuff, or he's also using a Mac, so he got a little confused. Now I have to check the zone papers of my Kartoffel, who cares. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Cleaning up after attack?
Hi. I have an up-to-date FreeBSD 7.2 box that has been compromised. Someone aparently got in to an account with certain admin priveleges and has been sending spam. I disabled the account, shut off my MTA and used pf to block all traffic to port 25 out for good measure. How do i analyse what might have happened and what has been installed? Andis there anything to do other than rebuild the entire system to ensure that its clean? Thanks. Jen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cleaning up after attack?
On 15/02/10 11:13, Dr. Jennifer Nussbaum wrote: Hi. I have an up-to-date FreeBSD 7.2 box that has been compromised. Someone aparently got in to an account with certain admin priveleges and has been sending spam. I disabled the account, shut off my MTA and used pf to block all traffic to port 25 out for good measure. How do i analyse what might have happened and what has been installed? Andis there anything to do other than rebuild the entire system to ensure that its clean? If the attacker had privileged access then he may have got a copy of master.password, you should assume all accounts compromised, if user data are shared with other servers, then all should be considered compromised. Blocking certain access say port 25 is insufficient. You should get it off the net until you are sure the system is clean as the attacker may have installed some daemon that communicates on a non-standard port. If you had things like tripwire installed you could get an idea of files modified. Otherwise you can use find to create a list of files modified since the attack, but this is only useful insofar as the attacker did not bother to reset access or modification times. It may be faster to rebuild everything rather than trying to figure out what may have been modified, if your main concern is to get the system back up rather than investigate the incident. BR, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
src.conf and cleaning up of base?
Hello List, I enabled a few WITHOUT_ options in src.conf. However, the binaries for that still exists after a installworld. Is there an automatic way to clean up the base install? For example, I did a minimal install of 8.0-BETA2, csup'ed down -CURRENT and set WITHOUT_RCMDS in src.conf . However, rsh is still installed in /usr/bin . However, the timestamp is from the original install BETA2 build and not from my buildworld. For smaller items like NTP this is fine, but for stuff like WITHOUT_SENDMAIL or WITHOUT_LPR those binaries can get in the way of their replacements, ie: Postfix and CUPS. Anyway to to autoclean the base system? Henrik -- Henrik Hudson li...@rhavenn.net - God, root, what is difference? Pitr; UF ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: src.conf and cleaning up of base?
I enabled a few WITHOUT_ options in src.conf. However, the binaries for that still exists after a installworld. Is there an automatic way to clean up the base install? Yes and no. These files are supposed to be removed by running: make delete-old make delete-old-libs (see /usr/src/UPDATING). However, some of the less-commonly used knobs from src.conf do not receive routine testing, and are broken: either they break the build, or they leave files behind. There are PRs for some of these problems, and others remain to be fixed. The best solution for now is to run the commands above, and then do a separate cleaning of the base system, using the timestamps as a guide. Here find(1) is your friend. I usually use something like: find /bin /sbin /lib /libexec /rescue /usr/bin /usr/sbin /usr/include /usr/lib /usr/lib32 \ /usr/libdata /usr/libexec /usr/share ! -ctime 1 soon after the installation, and then inspect the output before deleting. Be careful when cleaning, and don't forget that there are a few commonly-installed ports, like perl, that leave important files in base system directories. b. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Cleaning email
Hi, reading around the FAQ for FreeBSD mailing list, I see that the mailing list server does some message cleaning (converting HTML to text, etc). From reading the list, it does a very good job and I would not mind using the same facility for my own mail if only I knew what is being used. I don't want just any solution, that works more or less, but the very well tested solution used by FreeBSD mailing lists. Best regards, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cleaning email
On Aug 7, 2009, at 6:42 AM, Olivier Nicole wrote: reading around the FAQ for FreeBSD mailing list, I see that the mailing list server does some message cleaning (converting HTML to text, etc). I don't want just any solution, that works more or less, but the very well tested solution used by FreeBSD mailing lists. On the mailing list this is done by the mailing list system, mailman, which is in ports/mail/mailman. But the cleaning stuff is just part of a much larger system (mailing list management), so I don't think you can get it to do what you want. There is a milter, ports/mail/mime-defang which, while it can do many other things (that you don't need to enable, also does this. I haven't used it in more than 5 years, so I can't speak for how well it works. But I did set it up for an organization that had lots of Outhouse users on desktops that were vulnerable to malicious HTML. mimedefang is also useful for blocking certain types of attachments as well. There may be better, special purpose tools that do what you want. You could also look at the mailman source (python) to see how it does its cleaning. -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cleaning up multiplicates in elf ldconfig path
in message 200903302145.48743.mel.flynn+fbsd.questi...@mailing.thruhere.net, wrote Mel Flynn thusly... On Sunday 29 March 2009 16:39:15 Parv wrote: I am on FreeBSD/i386 6.4-STABLE (around Mar 1, 2009). I failed to find a solution to the (cosmetic) problem of ldconfig path having duplicate directories (dmesg output wrapped for this email) ... ( ... and both /usr/{X11R6,local} point to /misc/local ... ) I've been running without /usr/X11R6 symlink for a long time and since XFree86 support has been removed from ports, it seems logical it can be safely deleted. However, flz@ (maintainer of xorg) has the authoritative answer. Thanks Mel, at least for the confirmation. Since I sent the email, I have moved out /usr/X11R6 link (effectively deleted). After two days of daily use I have not seen anything different, besides cleaned up dmesg(1) output. - Parv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cleaning up multiplicates in elf ldconfig path
in message 20090329143915.ga1...@holstein.holy.cow, wrote Parv thusly... ... I failed to find a solution to the (cosmetic) problem of ldconfig path having duplicate directories ... I suppose I could stick in /etc/rc.conf this ... ldconfig_paths=/usr/lib/compat /usr/local/lib /usr/local/lib/compat/package ... The last path above should have been /usr/local/lib/compat/pkg. - Parv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cleaning up multiplicates in elf ldconfig path
On Sunday 29 March 2009 16:39:15 Parv wrote: I am on FreeBSD/i386 6.4-STABLE (around Mar 1, 2009). I failed to find a solution to the (cosmetic) problem of ldconfig path having duplicate directories (dmesg output wrapped for this email) ... I've been running without /usr/X11R6 symlink for a long time and since XFree86 support has been removed from ports, it seems logical it can be safely deleted. However, flz@ (maintainer of xorg) has the authoritative answer. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Cleaning up multiplicates in elf ldconfig path
I am on FreeBSD/i386 6.4-STABLE (around Mar 1, 2009). I failed to find a solution to the (cosmetic) problem of ldconfig path having duplicate directories (dmesg output wrapped for this email) ... ELF ldconfig path: /lib /usr/lib /usr/lib/compat \ /usr/X11R6/lib /usr/local/lib \ /misc/local/lib/compat \ /misc/local/lib/gcc-4.2.4 \ /misc/local/lib/gcc-4.3.3 \ /misc/local/lib/gegl-0.0 \ /misc/local/lib/gnash \ /misc/local/lib/graphviz \ /misc/local/lib/nss \ /misc/local/lib/qt4 \ /misc/local/lib/zsh \ /misc/local/lib/compat /misc/local/lib/gcc-4.2.4 \ /misc/local/lib/gcc-4.3.3 \ /misc/local/lib/gegl-0.0 \ /misc/local/lib/gnash \ /misc/local/lib/graphviz \ /misc/local/lib/nss \ /misc/local/lib/qt4 \ /misc/local/lib/zsh Note that /usr/X11R6 /usr/local are symbolic links to /misc/local. Is that what is causing the problem (since /etc/rc.d/ldconfig reads the default paths of both /usr/X11R6/lib /usr/local/lib)? If so, is it ok to eliminate the /usr/X11R6 symbolic link? And/Or, is there any other way to remove the multiplicates? I suppose I could stick in /etc/rc.conf this ... ldconfig_paths=/usr/lib/compat /usr/local/lib /usr/local/lib/compat/package ... but then I would have make sure above does not miss any new paths added to /etc/defaults/rc.conf. Opinions or suggestions? - Parv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Cleaning data off a remote machine
I'm about to give up a FreeBSD dedicated server and would like to make sure I don't inadvertantly leave any bits of sensitive data on it. What is the best way to remove all data from the hard drive? I have no problem if this removes the OS along the way, but ideally I would like to be able to do what ever I do from an SSH session. If there's no alternative I can arange KVMoIP console access. Thanks -- Chris Hastie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cleaning data off a remote machine
On Jul 28, 2008, at 11:23, Chris Hastie [EMAIL PROTECTED] wrote: I'm about to give up a FreeBSD dedicated server and would like to make sure I don't inadvertantly leave any bits of sensitive data on it. What is the best way to remove all data from the hard drive? I have no problem if this removes the OS along the way, but ideally I would like to be able to do what ever I do from an SSH session. If there's no alternative I can arange KVMoIP console access. Thanks -- Chris Hastie Is there anyone onsite that you could trust to run DBAN (Derik's Boot And Nuke)? Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cleaning data off a remote machine
don't inadvertantly leave any bits of sensitive data on it. What is the best way to remove all data from the hard drive? I have no problem if this removes the OS along the way, but ideally I would like to be able to do what ever I do from an SSH session. If there's no alternative I can arange KVMoIP console access. remove all your files, then cat /dev/zero file on every partition ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cleaning data off a remote machine
On Mon, Jul 28, 2008 at 05:23:04PM +0100, Chris Hastie wrote: I'm about to give up a FreeBSD dedicated server and would like to make sure I don't inadvertantly leave any bits of sensitive data on it. What is the best way to remove all data from the hard drive? Remove the harddive and move a seriously strong magnet over it. This will render the drive unreadable and useless, since it will also destroy the servo control data used for locating the tracks. I have no problem if this removes the OS along the way, but ideally I would like to be able to do what ever I do from an SSH session. The security/wipe port comes to mind. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpEICff2vqL5.pgp Description: PGP signature
Re: rough method of cleaning the ports tree
On Wed, Dec 19, 2007 at 11:23:05AM +0800, Erich Dollansky wrote: Hi, after noticing how large my ports tree grows while compiling, I thought of simply deleting it and do a CVSup to get a new one after the compilation is finished. Your better bet is to move your /usr/ports to your largest filesystem and make a symlink to it. Then you should have enough room to make most things. This should be much faster and also should do some kind o defragmentation. I simply cannot believe that the huge ports tree will still be very well organised after some months. There is no problem with this. It is not Microsloth. jerry What does the list think of this method? Erich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [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: rough method of cleaning the ports tree
On Tue, Dec 18, 2007 at 10:31:05PM -0500, Aryeh M. Friedman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Erich Dollansky wrote: Hi, after noticing how large my ports tree grows while compiling, I thought of simply deleting it and do a CVSup to get a new one after the compilation is finished. This should be much faster and also should do some kind o defragmentation. I simply cannot believe that the huge ports tree will still be very well organised after some months. What does the list think of this method? Even though it will take quite a bit longer you should just do a make distclean in /usr/ports that way anything you hand modified will be retained (also you might want to consider keeping a local cvs repository if this is an issue) That's a good idea too. But, it might not do enough. So, still consider moving /usr/ports. jerry - -- Aryeh M. Friedman FloSoft Systems http://www.flosoft-systems.com Developer, not business, friendly -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHaJB5zIOMjAek4JIRAqJxAKCdc0XT4T2YPWOWj2CxzaMY26vdLgCfUvs9 D42DFTYQ2LV+rIhUKYNOBRc= =3/I8 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [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: rough method of cleaning the ports tree
Hi, Jerry McAllister wrote: On Tue, Dec 18, 2007 at 10:31:05PM -0500, Aryeh M. Friedman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Erich Dollansky wrote: after noticing how large my ports tree grows while compiling, I thought of simply deleting it and do a CVSup to get a new one after the compilation is finished. This should be much faster and also should do some kind o defragmentation. I simply cannot believe that the huge ports tree will still be very well organised after some months. What does the list think of this method? Even though it will take quite a bit longer you should just do a make distclean in /usr/ports that way anything you hand modified will be retained (also you might want to consider keeping a local cvs repository if this is an issue) That's a good idea too. But, it might not do enough. So, still consider moving /usr/ports. it does what I really want. I do not have a space problem. I simply want to get rid of the stuff which is not really needed. A make clean takes to long. Erich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rough method of cleaning the ports tree
On Thu, Dec 20, 2007 at 12:34:24AM +0800, Erich Dollansky wrote: Even though it will take quite a bit longer you should just do a make distclean in /usr/ports that way anything you hand modified will be retained (also you might want to consider keeping a local cvs repository if this is an issue) That's a good idea too. But, it might not do enough. So, still consider moving /usr/ports. it does what I really want. I do not have a space problem. I simply want to get rid of the stuff which is not really needed. Tuning in late but this seems appropriate: Remove all the temporary work files, and remove all distribution files that are not current with the ports' Makefiles: # portsclean -CD Requires the portupgrade port. -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rough method of cleaning the ports tree
Aryeh M. Friedman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Erich Dollansky wrote: Hi, after noticing how large my ports tree grows while compiling, I thought of simply deleting it and do a CVSup to get a new one after the compilation is finished. This should be much faster and also should do some kind o defragmentation. I simply cannot believe that the huge ports tree will still be very well organised after some months. What does the list think of this method? Even though it will take quite a bit longer you should just do a make distclean in /usr/ports that way anything you hand modified will be retained (also you might want to consider keeping a local cvs repository if this is an issue) If you're running a make [dist]clean from the top-level directory you probably want to define NOCLEANDEPENDS so it doesn't try and recursively clean each port - i.e run make NOCLEANDEPENDS=yes distclean. -- Bruce ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rough method of cleaning the ports tree
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Kelly wrote: On Thu, Dec 20, 2007 at 12:34:24AM +0800, Erich Dollansky wrote: Even though it will take quite a bit longer you should just do a make distclean in /usr/ports that way anything you hand modified will be retained (also you might want to consider keeping a local cvs repository if this is an issue) That's a good idea too. But, it might not do enough. So, still consider moving /usr/ports. it does what I really want. I do not have a space problem. I simply want to get rid of the stuff which is not really needed. Tuning in late but this seems appropriate: Remove all the temporary work files, and remove all distribution files that are not current with the ports' Makefiles: # portsclean -CD Requires the portupgrade port. In the past, doing a global make clean wouild die, especially on ports that were marked broken. I don;'t know if that's been fixed, because about once a month, i just do: find /usr/ports -type d -name work -exec rm -rf {} \; I've had the -delete fail from time to time, I can't remember the error, but doing the rm via the -exec keyword, that's never failed, and cleaning out the work directories, that absolutely cleans stuff up quickly. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHade6z62J6PPcoOkRArsWAJ46RfTDRHTli4g9z2yh3f3G6G1CqACbBr5C r6eLTzVu5BhhBIUogOWPBHU= =guYz -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rough method of cleaning the ports tree
On Dec 19, 2007, at 8:47 PM, Chuck Robey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Kelly wrote: Remove all the temporary work files, and remove all distribution files that are not current with the ports' Makefiles: # portsclean -CD Requires the portupgrade port. In the past, doing a global make clean wouild die, especially on ports that were marked broken. I don;'t know if that's been fixed, because about once a month, i just do: find /usr/ports -type d -name work -exec rm -rf {} \; I've had the -delete fail from time to time, I can't remember the error, but doing the rm via the -exec keyword, that's never failed, and cleaning out the work directories, that absolutely cleans stuff up quickly. Not sure how deep the buffers are for wildcard expansion but apparently deep enough to do the above simpler. I use tcsh, selection of one's shell has everything to do with wildcard expansion. # cd /usr/ports # rm -r */*/work # -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
rough method of cleaning the ports tree
Hi, after noticing how large my ports tree grows while compiling, I thought of simply deleting it and do a CVSup to get a new one after the compilation is finished. This should be much faster and also should do some kind o defragmentation. I simply cannot believe that the huge ports tree will still be very well organised after some months. What does the list think of this method? Erich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rough method of cleaning the ports tree
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Erich Dollansky wrote: Hi, after noticing how large my ports tree grows while compiling, I thought of simply deleting it and do a CVSup to get a new one after the compilation is finished. This should be much faster and also should do some kind o defragmentation. I simply cannot believe that the huge ports tree will still be very well organised after some months. What does the list think of this method? Even though it will take quite a bit longer you should just do a make distclean in /usr/ports that way anything you hand modified will be retained (also you might want to consider keeping a local cvs repository if this is an issue) - -- Aryeh M. Friedman FloSoft Systems http://www.flosoft-systems.com Developer, not business, friendly -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHaJB5zIOMjAek4JIRAqJxAKCdc0XT4T2YPWOWj2CxzaMY26vdLgCfUvs9 D42DFTYQ2LV+rIhUKYNOBRc= =3/I8 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rough method of cleaning the ports tree
Aryeh M. Friedman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Erich Dollansky wrote: Hi, after noticing how large my ports tree grows while compiling, I thought of simply deleting it and do a CVSup to get a new one after the compilation is finished. This should be much faster and also should do some kind o defragmentation. I simply cannot believe that the huge ports tree will still be very well organised after some months. What does the list think of this method? Even though it will take quite a bit longer you should just do a make distclean in /usr/ports that way anything you hand modified will be retained (also you might want to consider keeping a local cvs repository if this is an issue) - -- Aryeh M. Friedman FloSoft Systems http://www.flosoft-systems.com Developer, not business, friendly -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHaJB5zIOMjAek4JIRAqJxAKCdc0XT4T2YPWOWj2CxzaMY26vdLgCfUvs9 D42DFTYQ2LV+rIhUKYNOBRc= =3/I8 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] portsclean -CD may be a help, if it grows as a result of compilation. Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: rough method of cleaning the ports tree
after noticing how large my ports tree grows while compiling, I thought of simply deleting it and do a CVSup to get a new one after the compilation is finished. I, like many, just use the portsclean utility to periodically tidy things up, or after manual ports builds if you forget to do a make clean. Doing this should keep things in check and keep your ports tree from growing. Cheers, Brent ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rough method of cleaning the ports tree
Hi, John Nielsen wrote: On Tuesday 18 December 2007, Erich Dollansky wrote: There are at least two better ways of doing this that will take less time and not put unnecessary load on the CVS servers. this was the main reason for asking. If all would do it, CVSup would be of no help at all. 1) Delete work directories after building ports. If you use the clean make target it will do this automatically. I typically do make install This is what I always did but it is also time consuming on slower machines. 2) Use WRKDIRPREFIX. I set this in my .cshrc, but you can set it manually or I have not noticed this before. This sounds to be the best option. It will result it what I want and still will not put any load on any machine except of mine if I have to rebuild. See man ports for more information on the port build infrastructure and associated make targets and environment variables. I do this ones in a while but never noticed or did not understand the use of WRKDIRPREFIX. The other thing in the ports collection that tends to take up space is the distfiles directory. If you want to delete it wholesale then go ahead I do the cleaning work manually there. I delete only double entries to avoid additional downloading. HTH, I think, it really does. Erich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rough method of cleaning the ports tree
On Tuesday 18 December 2007, Erich Dollansky wrote: after noticing how large my ports tree grows while compiling, I thought of simply deleting it and do a CVSup to get a new one after the compilation is finished. This should be much faster and also should do some kind o defragmentation. I simply cannot believe that the huge ports tree will still be very well organised after some months. What does the list think of this method? There are at least two better ways of doing this that will take less time and not put unnecessary load on the CVS servers. 1) Delete work directories after building ports. If you use the clean make target it will do this automatically. I typically do make install clean to install the port then delete the work directory in one command. Portupgrade and other tools will generally do this as well. If you already installed a port you can just do make clean to get rid of its work directory. If you (suspect that you) have a large number of work directories (either because your builds got interrupted or you forgot to use the clean target) you can do something like find /usr/ports -maxdepth 3 -type d -name work -delete to get them all in one go. 2) Use WRKDIRPREFIX. I set this in my .cshrc, but you can set it manually or in whatever file is appropriate for your (root) shell. e.g. after doing a setenv WRKDIRPREFIX /usr/scratch all of the work directories are created under /usr/scratch/usr/ports/category/portname instead of under /usr/ports directly. Whenever I feel like cleaning up I can just rm -r /usr/scratch/usr/ports without losing anything. See man ports for more information on the port build infrastructure and associated make targets and environment variables. The other thing in the ports collection that tends to take up space is the distfiles directory. If you want to delete it wholesale then go ahead (rm -r /usr/ports/distfiles), but it's not uncommon to have multiple ports or multiple revisions of the same port use the same distfile(s), so you'll end up downloading them again and again. I prefer to use the script /usr/ports/Tools/scripts/distclean.sh. Run with a -f flag it will automatically delete all distfiles no longer referenced by any port in your ports tree. HTH, JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cleaning uploads
Hello again: Does anyone on this list know of a system or software bundle that can be used with php to clean uploaded files. Specifically, embedded php or shell scripts, shell escape chars, viruses, executable code in image files, anything that might be hazardous in any file that might be capable of being sent as an e-mail attachment? Using FreeBSD 6.2, Apache 1.3.37, php 5.2.1, web site to receive uploads will be using ssl. I have asked on the php general question list but have not gotten a useable response. Thanks in advance; Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cleaning old files
In response to Zbigniew Szalbot [EMAIL PROTECTED]: Hello, Somehow in the process of upgrading PHP from 5.16 to 5.2.1 I got a few 5.1.6 extenstions which were not deleted. When I issue pkg_info -Ix php5, I get: php5-ctype-5.1.6The ctype shared extension for php php5-ctype-5.1.6_2 The ctype shared extension for php php5-dom-5.1.6 The dom shared extension for php php5-dom-5.1.6_2The dom shared extension for php and so on. I tried checking /usr/local/etc/php/extensions.ini but there are no double entries in there. My question is how do I get rid of these old extensions? Vulnerability test port alerts me I still have them. Thanks! Looks like your ports database got corrupted at some point. I would just pkg_delete -f them, then reinstall the correct version if needed. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cleaning old files
Hello, Somehow in the process of upgrading PHP from 5.16 to 5.2.1 I got a few 5.1.6 extenstions which were not deleted. When I issue pkg_info -Ix php5, I get: php5-ctype-5.1.6The ctype shared extension for php php5-ctype-5.1.6_2 The ctype shared extension for php php5-dom-5.1.6 The dom shared extension for php php5-dom-5.1.6_2The dom shared extension for php and so on. I tried checking /usr/local/etc/php/extensions.ini but there are no double entries in there. My question is how do I get rid of these old extensions? Vulnerability test port alerts me I still have them. Thanks! -- Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cleaning out log files?
I've noticed that my /var partition, on a machine being used as a desktop, is about 80% full and would like to know what in it can safely be deleted, or if there is some accepted way to trim log files down with a cron job, etc. Thanks! Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cleaning out log files?
On Sunday 26 November 2006 12:37, Oliver Iberien wrote: I've noticed that my /var partition, on a machine being used as a desktop, is about 80% full and would like to know what in it can safely be deleted, or if there is some accepted way to trim log files down with a cron job, etc. Thanks! Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Oliver, Take a look at /etc/newsyslog.conf as it is designed just for rotating and removing log files lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cleaning out log files?
On Sunday 26 November 2006 18:37, Oliver Iberien wrote: I've noticed that my /var partition, on a machine being used as a desktop, is about 80% full and would like to know what in it can safely be deleted, or if there is some accepted way to trim log files down with a cron job, etc. Thanks! Are you sure it's the log files, they should be rotated automatically. Try running running du -md1 /var (as root). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cleaning out log files?
Check /etc/newsyslog.conf All log-files you like to have rotated, should be mentioned there. System owned logs are in there per default. du -k /var will tell you where your space is being consumed. Maybe your /var/mail/root is growing... How big is your /var anyway? Armin -- PUBBOX Postmaster + spam-killer. Free email addresses at http://pubbox.net/ On Sun, Nov 26, 2006 at 10:37:18AM -0800, Oliver Iberien wrote: I've noticed that my /var partition, on a machine being used as a desktop, is about 80% full and would like to know what in it can safely be deleted, or if there is some accepted way to trim log files down with a cron job, etc. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cleaning out log files?
Thank you! I knew something like that had to exist. It turns out there was a core dump I had not noticed. I had the idea of running ls -SlhR /var/ /.../var_contents.txt and looking for anything huge. Oliver On Sunday 26 November 2006 10:54, you wrote: Check /etc/newsyslog.conf All log-files you like to have rotated, should be mentioned there. System owned logs are in there per default. du -k /var will tell you where your space is being consumed. Maybe your /var/mail/root is growing... How big is your /var anyway? Armin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cleaning out log files? [top-posting corrected]
On Sunday 26 November 2006 10:54, you wrote: Check /etc/newsyslog.conf All log-files you like to have rotated, should be mentioned there. System owned logs are in there per default. du -k /var will tell you where your space is being consumed. Maybe your /var/mail/root is growing... How big is your /var anyway? Armin Thank you! I knew something like that had to exist. It turns out there was a core dump I had not noticed. I had the idea of running ls -SlhR /var/ /.../var_contents.txt and looking for anything huge. Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cleaning out log files?
On Sunday 26 November 2006 19:21, Oliver Iberien wrote: Thank you! I knew something like that had to exist. It turns out there was a core dump I had not noticed. I had the idea of running ls -SlhR /var/ /.../var_contents.txt and looking for anything huge. FreeBSD has some useful periodic scripts for keeping this kind of thing under control - most of which are off by default. You can see the defaults in /etc/defaults/periodic.conf and override them in /etc/periodic.conf For example: # 100.clean-disks daily_clean_disks_enable=NO # Delete files daily daily_clean_disks_files=[#,]* .#* a.out *.core *.CKP .emacs_[0-9]* daily_clean_disks_days=3# If older than this daily_clean_disks_verbose=YES # Mention files deleted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cleaning out log files? [top-posting corrected]
Oliver Iberien writes: It turns out there was a core dump I had not noticed. I had the idea of running ls -SlhR /var/ /.../var_contents.txt and looking for anything huge. Try this instead: du /var | sort -nr | head -n 25 | sendmail you Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Adesklets issue - cleaning up the installation
I had installed adesklets and everything was working fine until adesklets crashed with a TK_GUI related error. I couln't find out where the problem was so I make deinstalled it and tried to build it again. It simply wouldnt work. The build completes but when I run the installation program (-i option) i get a window which is fully black. Uninstalling and doing a pkg_add doesnt seem to help either. I think the uninstallation didnt clear all the contents and is causing trouble. How can i be sure that everything was removed? Should i be uninstalling and reinstalling all dependencies to be sure? Thanks, Vishy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cleaning off unix/linux????
Download the utility to low-level format the drive from the drive makers website. -Derek At 06:46 PM 5/20/2006, Gary Kline wrote: Gang, A 40G drive that I thought was bad (when trying to install W2K on the drive) may be entirely good. I am trying to avoid having to buy a DOS/Win platform. I've had both W2K and FBSD or Ubuntu on this one machine. For various reasons I need one DOS machine. (Already have 7 or 8 *Nix servers.) The Windows 2000 Professional CD find some other non-Windows partition and press D and L as I will, the installation CD keeps complaining. Eventually I have to hit F3 to quit. So, nutshell, is there any way I can completely remove any trace of *Nix? -I remember having a DOS floppy and typing an undocumented MBR \ command that wiped the drive clean of this boot record, but this was [mumble] years ago. thanks for any tips, y'all, gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cleaning off unix/linux????
On Sat, May 20, 2006 at 07:21:23PM -0500, Charles Howse wrote: On May 20, 2006, at 6:46 PM, Gary Kline wrote: Gang, A 40G drive that I thought was bad (when trying to install W2K on the drive) may be entirely good. I am trying to avoid having to buy a DOS/Win platform. I've had both W2K and FBSD or Ubuntu on this one machine. For various reasons I need one DOS machine. (Already have 7 or 8 *Nix servers.) The Windows 2000 Professional CD find some other non-Windows partition and press D and L as I will, the installation CD keeps complaining. Eventually I have to hit F3 to quit. So, nutshell, is there any way I can completely remove any trace of *Nix? -I remember having a DOS floppy and typing an undocumented MBR \ command that wiped the drive clean of this boot record, but this was [mumble] years ago. thanks for any tips, y'all, gary Looking for delpart.exe? I've used it, it'll do the trick. http://www.russelltexas.com/delpart.htm Your suggestion would do the trick except that I cannot get any W2K installed. That's the problem. So I'm stuck between the rational (unix) and the imbecilic (guess). Too bad there isn't some unix/linux port, hopefully floppy-sized that will boot just enough DOS to use delpart.exe. Maybe FreeDOS has a boot floppy? Ahnybody here know? gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cleaning off unix/linux????
On Sun, 2006-05-21 at 13:41 -0700, Gary Kline wrote: On Sat, May 20, 2006 at 07:21:23PM -0500, Charles Howse wrote: On May 20, 2006, at 6:46 PM, Gary Kline wrote: Gang, A 40G drive that I thought was bad (when trying to install W2K on the drive) may be entirely good. I am trying to avoid having to buy a DOS/Win platform. I've had both W2K and FBSD or Ubuntu on this one machine. For various reasons I need one DOS machine. (Already have 7 or 8 *Nix servers.) The Windows 2000 Professional CD find some other non-Windows partition and press D and L as I will, the installation CD keeps complaining. Eventually I have to hit F3 to quit. So, nutshell, is there any way I can completely remove any trace of *Nix? -I remember having a DOS floppy and typing an undocumented MBR \ command that wiped the drive clean of this boot record, but this was [mumble] years ago. thanks for any tips, y'all, gary Looking for delpart.exe? I've used it, it'll do the trick. http://www.russelltexas.com/delpart.htm Your suggestion would do the trick except that I cannot get any W2K installed. That's the problem. So I'm stuck between the rational (unix) and the imbecilic (guess). Too bad there isn't some unix/linux port, hopefully floppy-sized that will boot just enough DOS to use delpart.exe. Maybe FreeDOS has a boot floppy? Ahnybody here know? gary Have you tried Knoppix? You can use the dd command to wipe a disk very effectively. And if the machine won't boot Knoppix, I would suspect a hardware problem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cleaning off unix/linux????
On Sun, May 21, 2006 at 10:24:31AM +1000, Rowdy wrote: Gary Kline wrote: Gang, A 40G drive that I thought was bad (when trying to install W2K on the drive) may be entirely good. I am trying to avoid having to buy a DOS/Win platform. I've had both W2K and FBSD or Ubuntu on this one machine. For various reasons I need one DOS machine. (Already have 7 or 8 *Nix servers.) The Windows 2000 Professional CD find some other non-Windows partition and press D and L as I will, the installation CD keeps complaining. Eventually I have to hit F3 to quit. So, nutshell, is there any way I can completely remove any trace of *Nix? -I remember having a DOS floppy and typing an undocumented MBR \ command that wiped the drive clean of this boot record, but this was [mumble] years ago. thanks for any tips, y'all, gary fdisk /mbr Rowdy Well, I thought this would work, no-sweat. But I tried it (on the target server [ Ubuntu ]) as root, and got /mbr not found so I'm guessing you mean the DOS fdisk; the thing with the undocumented feature. But I have not had/used DOS/Win-3.11 since 1993. thanks for the idea. gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cleaning off unix/linux????
On Sat, May 20, 2006 at 09:57:44PM -0400, John Nielsen wrote: Quoting Gary Kline [EMAIL PROTECTED]: Gang, A 40G drive that I thought was bad (when trying to install W2K on the drive) may be entirely good. I am trying to avoid having to buy a DOS/Win platform. I've had both W2K and FBSD or Ubuntu on this one machine. For various reasons I need one DOS machine. (Already have 7 or 8 *Nix servers.) The Windows 2000 Professional CD find some other non-Windows partition and press D and L as I will, the installation CD keeps complaining. Eventually I have to hit F3 to quit. So, nutshell, is there any way I can completely remove any trace of *Nix? -I remember having a DOS floppy and typing an undocumented MBR \ command that wiped the drive clean of this boot record, but this was [mumble] years ago. Boot to a recent FreeBSD Install CD (with the Rescue tools on disk 1) or a not-so-recent FreeBSD Rescue CD, and go to rescue mode. After verifying the device name of the drive you're trying to clean (using dmesg and/or fdisk), do this (I'm assuming a single drive, ad0): dd if=/dev/zero of=/dev/ad0 bs=32k count=1 That will overwrite the first 32k of the drive with zeroes. That should wipe out the MBR and the partition table. Since you want the drive to be clean anyway, it doesn't hurt to make the bs or count values higher. To zero out the entire drive, you could do this: dd if=/dev/zero of=/dev/ad0 bs=1m (With no count option it will write to the end of the device.) Doing any of this on a drive with data you care about is of course contraindicated. This looks like the best way of getting rid of the master boot rec; thanks. gary JN -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cleaning off unix/linux????
Gang, A 40G drive that I thought was bad (when trying to install W2K on the drive) may be entirely good. I am trying to avoid having to buy a DOS/Win platform. I've had both W2K and FBSD or Ubuntu on this one machine. For various reasons I need one DOS machine. (Already have 7 or 8 *Nix servers.) The Windows 2000 Professional CD find some other non-Windows partition and press D and L as I will, the installation CD keeps complaining. Eventually I have to hit F3 to quit. So, nutshell, is there any way I can completely remove any trace of *Nix? -I remember having a DOS floppy and typing an undocumented MBR \ command that wiped the drive clean of this boot record, but this was [mumble] years ago. thanks for any tips, y'all, gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cleaning off unix/linux????
Gary Kline wrote: Gang, A 40G drive that I thought was bad (when trying to install W2K on the drive) may be entirely good. I am trying to avoid having to buy a DOS/Win platform. I've had both W2K and FBSD or Ubuntu on this one machine. For various reasons I need one DOS machine. (Already have 7 or 8 *Nix servers.) The Windows 2000 Professional CD find some other non-Windows partition and press D and L as I will, the installation CD keeps complaining. Eventually I have to hit F3 to quit. So, nutshell, is there any way I can completely remove any trace of *Nix? -I remember having a DOS floppy and typing an undocumented MBR \ command that wiped the drive clean of this boot record, but this was [mumble] years ago. thanks for any tips, y'all, gary Personally, I keep a copy of FreeDOS http://www.freedos.com available for just such an occasion. I am sure there are easier ways though. -- Gerard Seibert [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: cleaning off unix/linux????
On May 20, 2006, at 6:46 PM, Gary Kline wrote: Gang, A 40G drive that I thought was bad (when trying to install W2K on the drive) may be entirely good. I am trying to avoid having to buy a DOS/Win platform. I've had both W2K and FBSD or Ubuntu on this one machine. For various reasons I need one DOS machine. (Already have 7 or 8 *Nix servers.) The Windows 2000 Professional CD find some other non-Windows partition and press D and L as I will, the installation CD keeps complaining. Eventually I have to hit F3 to quit. So, nutshell, is there any way I can completely remove any trace of *Nix? -I remember having a DOS floppy and typing an undocumented MBR \ command that wiped the drive clean of this boot record, but this was [mumble] years ago. thanks for any tips, y'all, gary Looking for delpart.exe? I've used it, it'll do the trick. http://www.russelltexas.com/delpart.htm -- Thanks, Charles http://bubbabbq.homeunix.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cleaning off unix/linux????
Gary Kline wrote: Gang, A 40G drive that I thought was bad (when trying to install W2K on the drive) may be entirely good. I am trying to avoid having to buy a DOS/Win platform. I've had both W2K and FBSD or Ubuntu on this one machine. For various reasons I need one DOS machine. (Already have 7 or 8 *Nix servers.) The Windows 2000 Professional CD find some other non-Windows partition and press D and L as I will, the installation CD keeps complaining. Eventually I have to hit F3 to quit. So, nutshell, is there any way I can completely remove any trace of *Nix? -I remember having a DOS floppy and typing an undocumented MBR \ command that wiped the drive clean of this boot record, but this was [mumble] years ago. thanks for any tips, y'all, gary fdisk /mbr Rowdy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cleaning off unix/linux????
Quoting Gary Kline [EMAIL PROTECTED]: Gang, A 40G drive that I thought was bad (when trying to install W2K on the drive) may be entirely good. I am trying to avoid having to buy a DOS/Win platform. I've had both W2K and FBSD or Ubuntu on this one machine. For various reasons I need one DOS machine. (Already have 7 or 8 *Nix servers.) The Windows 2000 Professional CD find some other non-Windows partition and press D and L as I will, the installation CD keeps complaining. Eventually I have to hit F3 to quit. So, nutshell, is there any way I can completely remove any trace of *Nix? -I remember having a DOS floppy and typing an undocumented MBR \ command that wiped the drive clean of this boot record, but this was [mumble] years ago. Boot to a recent FreeBSD Install CD (with the Rescue tools on disk 1) or a not-so-recent FreeBSD Rescue CD, and go to rescue mode. After verifying the device name of the drive you're trying to clean (using dmesg and/or fdisk), do this (I'm assuming a single drive, ad0): dd if=/dev/zero of=/dev/ad0 bs=32k count=1 That will overwrite the first 32k of the drive with zeroes. That should wipe out the MBR and the partition table. Since you want the drive to be clean anyway, it doesn't hurt to make the bs or count values higher. To zero out the entire drive, you could do this: dd if=/dev/zero of=/dev/ad0 bs=1m (With no count option it will write to the end of the device.) Doing any of this on a drive with data you care about is of course contraindicated. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cleaning-up stale PID files on reboot
I start mlnet, the daemon part of mldonkey, from it's local rc.d script on bootup. If mlnet isn't shutdown properly, it leaves behind a pid file that prevents the daemon running until I notice and manually delete the file. What's the best way to deal with this? I was wondering if there is some standard place to clean-up after an improper shutdown. Is mlnet doing something wrong? I don't get the same problem with other daemons. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cleaning DVD+RW on Plextor PX-716a
Dear Sirs, do I need to clean RW disk before writing ? why it says errors to me: design# burncd -f /dev/acd0 format dwd+rw burncd: format media type invalid: Unknown error: 0 Cheers, Ilia Chipitsine ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cleaning DVD+RW on Plextor PX-716a
On Sat, May 07, 2005 at 03:18:40PM +0600, Ilia Chipitsine wrote: Dear Sirs, do I need to clean RW disk before writing ? No. You should be able to rewrite on a DVD+RW without any blacking operation. why it says errors to me: design# burncd -f /dev/acd0 format dwd+rw burncd: format media type invalid: Unknown error: 0 I don't know about burncd and DVD+RW but you should try growisofs, see http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-dvds.html and section 16.7.5 Using a DVD+RW Marc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cleaning /tmp on boot
Hi, Is there an easy way to have FreeBSD (RELEASE-5.3) clean /tmp on boot by means of setting a flag or something in /etc/rc.conf? I'd like to check before I start manually hacking up my boot scripts to get this done. Alternatively, is there something similar to tmpfs from Linux available on FreeBSD? I've heard about mfs but it statically allocates memory from the VM, I'd prefer if allocation was done only as needed on demand. -- Paul Richards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cleaning /tmp on boot
On Thu, 24 Feb 2005 12:42:17 +, Paul Richards [EMAIL PROTECTED] wrote: Hi, Is there an easy way to have FreeBSD (RELEASE-5.3) clean /tmp on boot by means of setting a flag or something in /etc/rc.conf? I'd like to check before I start manually hacking up my boot scripts to get this done. I believe it's: clear_tmp_enable=YES Nelis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cleaning /tmp on boot
On Thu, Feb 24, 2005 at 12:42:17PM +, Paul Richards wrote: Is there an easy way to have FreeBSD (RELEASE-5.3) clean /tmp on boot by means of setting a flag or something in /etc/rc.conf? I'd like to check before I start manually hacking up my boot scripts to get this done. Add: clear_tmp_enable=YES to /etc/rc.conf. Also consider 'daily_clean_tmps_enable=YES' in /etc/periodic.conf, which will enable a daily job to clean out old files from temporary directories. Alternatively, is there something similar to tmpfs from Linux available on FreeBSD? I've heard about mfs but it statically allocates memory from the VM, I'd prefer if allocation was done only as needed on demand. Yes -- correct, it is called 'mdmfs' under 5.x -- but it isn't necessarily true that it allocates memory out of VM: depending on the arguments used when configuring the underlying md(4) device, the memory can be swap or file backed. When it's used to provide a /tmp filesystem, it is specifically swap backed. As is explained in the mdmfs(8) man page. Add the following to /etc/rc.conf to enable using a memory filesystem for /tmp: tmpmfs=YES tmpsize=128m Note that tmpsize should be smaller than the amount of swap space on your machine -- preferably quite a bit smaller -- or you can end up with a situation where any user can potentially DoS your server simply by creating files under /tmp Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 8 Dane Court Manor School Rd PGP: http://www.infracaninophile.co.uk/pgpkey Tilmanstone Tel: +44 1304 617253 Kent, CT14 0JL UK pgpezNfsZvm2x.pgp Description: PGP signature
Re: Cleaning /tmp on boot
On 2005-02-24 14:49, Nelis Lamprecht [EMAIL PROTECTED] wrote: On Thu, 24 Feb 2005 12:42:17 +, Paul Richards [EMAIL PROTECTED] wrote: Hi, Is there an easy way to have FreeBSD (RELEASE-5.3) clean /tmp on boot by means of setting a flag or something in /etc/rc.conf? I'd like to check before I start manually hacking up my boot scripts to get this done. I believe it's: clear_tmp_enable=YES True. I'm just replying here to note that this and other tunables of the rc.d scripts are documented in rc.conf(5): % man rc.conf If anyone happens to find an option that is not documented, then it's a bug of the manpage and the freebsd-doc people will be glad to hear about it; either with a simple post to the list or (preferably) through a new problem report submission :-) - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cleaning /tmp on boot
Alternatively, is there something similar to tmpfs from Linux available on FreeBSD? I've heard about mfs but it statically allocates memory from the VM, I'd prefer if allocation was done only as needed on demand. Found these: http://docs.freebsd.org/cgi/mid.cgi?41E01905.3040200 http://docs.freebsd.org/cgi/mid.cgi?45044.1105365790 So swap backed memory disks only swaps to disk when necessary. Wish that could have been mentioned in the handbook or man-pages. Should I try to PR that? Someone more knowledgeable will do it I hope :-) -- Hilsen Lars ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cleaning /tmp on boot
Lars Kristiansen [EMAIL PROTECTED] writes: Alternatively, is there something similar to tmpfs from Linux available on FreeBSD? I've heard about mfs but it statically allocates memory from the VM, I'd prefer if allocation was done only as needed on demand. Found these: http://docs.freebsd.org/cgi/mid.cgi?41E01905.3040200 http://docs.freebsd.org/cgi/mid.cgi?45044.1105365790 So swap backed memory disks only swaps to disk when necessary. Wish that could have been mentioned in the handbook or man-pages. Should I try to PR that? Someone more knowledgeable will do it I hope :-) --- src/share/man/man4/md.4.ORIG Thu Feb 24 11:51:37 2005 +++ src/share/man/man4/md.4Thu Feb 24 11:51:51 2005 @@ -50,7 +50,7 @@ This allows for mounting ISO images without the tedious detour over actual physical media. .It Cm swap -Backing store is allocated from swap space. +Backing store is allocated from virtual memory space. .El .Pp For more information, please see Feel free to PR. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cleaning /tmp on boot
Lowell Gilbert skrev: Lars Kristiansen [EMAIL PROTECTED] writes: Alternatively, is there something similar to tmpfs from Linux available on FreeBSD? I've heard about mfs but it statically allocates memory from the VM, I'd prefer if allocation was done only as needed on demand. Found these: http://docs.freebsd.org/cgi/mid.cgi?41E01905.3040200 http://docs.freebsd.org/cgi/mid.cgi?45044.1105365790 So swap backed memory disks only swaps to disk when necessary. Wish that could have been mentioned in the handbook or man-pages. Should I try to PR that? Someone more knowledgeable will do it I hope :-) --- src/share/man/man4/md.4.ORIG Thu Feb 24 11:51:37 2005 +++ src/share/man/man4/md.4Thu Feb 24 11:51:51 2005 @@ -50,7 +50,7 @@ This allows for mounting ISO images without the tedious detour over actual physical media. .It Cm swap -Backing store is allocated from swap space. +Backing store is allocated from virtual memory space. .El .Pp For more information, please see Feel free to PR. Thank you, done. (or tried to) http://www.freebsd.org/cgi/query-pr.cgi?pr=78041 -- Still dark. Hilsen Lars ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Cleaning Out Ports?
That's correct; this type of functionality is exactly what I was searching for. -Original Message- From: Loren M. Lang [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 01, 2005 6:50 AM To: Michael C. Shultz Cc: freebsd-questions@freebsd.org; Matt LaPlante Subject: Re: Cleaning Out Ports? There's still one missing part to it that gentoo's portage has. In addition to the standard database of installed packages, emerge keeps track of every single package that you explicitly installed in a file called world. Upgrades read this file and update all the packages listed, including there dependencies first. Now if a package that was installed to satisfy a dependency, but not explicitly installed is now longer needed, it will stay on the system until the next time emerge --depclean is run. --depclean tells emerge to remove any packages that are not in the world file and are not needed to satify dependencies for packages in the world file, either directly or indirectly. I think this is the behavior that the original poster was asking for. AFAIK, this is not yet possible in FreeBSD, but it should be a trivial matter to add something like a world file to portupgrade. Maybe, if I have time this week I could work on a patch... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cleaning Out Ports?
On Mon, Jan 31, 2005 at 08:32:41PM -0500, Matt LaPlante wrote: I know the ports system is designed to install dependencies automatically, but how does one go about removing them? Say one large package installs several dependencies, but then later on that package is removed...and now we're left with several orphaned packages. Is there a way to either detect, or even automatically clean out orphaned packages? I'm particularly concerned because I'm dealing with a few systems which are rather well aged, and have gone through several upgrade cycles. I know the Linux version of the ports system found in Gentoo (portage) offers extensive functionality for finding and removing orphaned dependencies, so I'm hoping FreeBSD has some such feature as well. Thanks. Have a look at /usr/ports/sysutils/pkg_cutleaves. It is a script that detects and removes orphaned dependencies. Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cleaning Out Ports?
On 31 Jan Michael C. Shultz wrote: If sysutils/pkg_cutleaves isn't right, please provide good detail why. What's the benefir over using portsclean -D or portsclean -CDPP Works like a charm. (see man portsclean). -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.11 ++ FreeBSD 5.3 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cleaning Out Ports?
On Tuesday 01 February 2005 01:31 am, Dick Hoogendijk wrote: On 31 Jan Michael C. Shultz wrote: If sysutils/pkg_cutleaves isn't right, please provide good detail why. What's the benefir over using portsclean -D or portsclean -CDPP Works like a charm. (see man portsclean). Portsclean has nothing to do with what Matt is looking for. He is trying to remove ports that are installed but have no useful purpose. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cleaning Out Ports?
On Mon, Jan 31, 2005 at 06:22:58PM -0800, Michael C. Shultz wrote: On Monday 31 January 2005 06:16 pm, Matt LaPlante wrote: Well what I'm more concerned with is how would you locate orphaned dependencies after the fact. For a parallel example, in gentoo you would emerge --depclean which searches the tree for any orphaned packages and removes them. So say I hadn't used the -r flag when removing packages on BSD, how could I find the leftovers later? Look at /usr/ports/sysutils/pkg_cutleaves here is a excerpt from its man page: pkg_cutleaves finds installed 'leaf' packages, i.e. packages that are not referenced by any other installed package, and lets you decide for each one if you want to keep or deinstall it (via pkg_deinstall(1)). Once the packages marked for removal have been flushed/deinstalled, you'll be asked if you want to do another run (to see packages that have become 'leaves' now because you've deinstalled the package(s) that depended on them). In every run you will be shown only packages that you haven't marked for keeping, yet. There's still one missing part to it that gentoo's portage has. In addition to the standard database of installed packages, emerge keeps track of every single package that you explicitly installed in a file called world. Upgrades read this file and update all the packages listed, including there dependencies first. Now if a package that was installed to satisfy a dependency, but not explicitly installed is now longer needed, it will stay on the system until the next time emerge --depclean is run. --depclean tells emerge to remove any packages that are not in the world file and are not needed to satify dependencies for packages in the world file, either directly or indirectly. I think this is the behavior that the original poster was asking for. AFAIK, this is not yet possible in FreeBSD, but it should be a trivial matter to add something like a world file to portupgrade. Maybe, if I have time this week I could work on a patch... -- Matt LaPlante System Administrator Center for Automation Technologies RPI/CAT, CII 8015 110 8th Street Troy, NY 12180 Phone: (518) 276-2275 [EMAIL PROTECTED] www.cat.rpi.edu -Original Message- From: Pat Maddox [mailto:[EMAIL PROTECTED] Sent: Monday, January 31, 2005 8:55 PM To: Matt LaPlante Cc: freebsd-questions@freebsd.org Subject: Re: Cleaning Out Ports? If you try to remove a package that has child dependencies, then it'll let you know. You'll have to use the -f flag to force it to delete the package, despite there being any dependencies. If you want to delete a package along with all its dependencies, you can use the -r flag. Use pkgdb -F to fix any dependencies that might be broken. I think that's about right. I'm a FreeBSD newbie :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cleaning Out Ports?
* David J. Weller-Fahy [EMAIL PROTECTED] [2005-02-01 08:24 +0100]: * Matt LaPlante [EMAIL PROTECTED] [2005-02-01 02:36 +0100]: Attached is my script, and my conf file. Unfortunately, my script got stripped. Here's the script with a txt extension. Regards, -- dave [ please don't CC me ] #!/bin/sh # $HOME/bin/rm_leaf.sh set -e LETC=/usr/local/etc PBASE=/usr/ports RMLFCNF=rm_leaf.conf SCRFILE=remove_leaf_ports.sh PKGINFO=`cd /var/db/pkg find . -type d | sed '/^.$/d;s/^\.\///'` PKGREQB=`cd /var/db/pkg ls */+REQUIRED_BY | sed 's/\/+REQUIRED_BY//g'` NOTLIST=`cat $LETC/$RMLFCNF` # remove any packages that are required by any other packages for PKG in $PKGREQB ; do [ -s /var/db/pkg/$PKG/+REQUIRED_BY ] \ PKGINFO=`echo $PKGINFO | sed s/$PKG//` ; done # remove any packages that are in the users list of 'to keep' packages for PKG in $NOTLIST ; do PKGINFO=`echo $PKGINFO | sed s/$PKG[^ ]*//` ; done # if there's nothing left in PKGINFO, exit now [ -z $PKGINFO ] echo No packages/ports to remove. exit rm -f $SCRFILE # remove the script file (just in case) # match up packages to origin in the ports tree for PKG in $PKGINFO ; do RMLIST=${RMLIST:-} $PKG:$PBASE/`pkg_info -o $( echo $PKG ) | sed -n '/^Origin:$/{n;p;}'` ; done cat $SCRFILE EOFA #!/bin/sh # script to remove all leaf packages not listed in /usr/local/etc/rm_leaf.list set -e EOFA # create script to remove all selected packages for PKG in $RMLIST ; do PNAME=`echo $PKG | sed 's/:.*$//'` PPATH=`echo $PKG | sed 's/^[^:]*://'` cat $SCRFILE -EOFB echo Removing $PNAME in $PPATH: cd $PPATH make deinstall clean distclean echo Success! ; echo ; echo EOFB done [ -n ${1:-} ] cat $SCRFILE rm $SCRFILE ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cleaning Out Ports?
On Tuesday 01 February 2005 08:04, Christopher Illies wrote: Have a look at /usr/ports/sysutils/pkg_cutleaves. It is a script that detects and removes orphaned dependencies. Just bear in mind that some of the leaves will be required for building other ports. Whilst they can be safely removed, it might save time to leave them. Personally, I think pkg_cutleaves has it about right, anything more automated may lead to nasty surprises. Such systems have no reliable way of knowing whether users are making direct use of a port that was originally installed as a dependency. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cleaning Out Ports?
I know the ports system is designed to install dependencies automatically, but how does one go about removing them? Say one large package installs several dependencies, but then later on that package is removed...and now we're left with several orphaned packages. Is there a way to either detect, or even automatically clean out orphaned packages? I'm particularly concerned because I'm dealing with a few systems which are rather well aged, and have gone through several upgrade cycles. I know the Linux version of the ports system found in Gentoo (portage) offers extensive functionality for finding and removing orphaned dependencies, so I'm hoping FreeBSD has some such feature as well. Thanks. - Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cleaning Out Ports?
If you try to remove a package that has child dependencies, then it'll let you know. You'll have to use the -f flag to force it to delete the package, despite there being any dependencies. If you want to delete a package along with all its dependencies, you can use the -r flag. Use pkgdb -F to fix any dependencies that might be broken. I think that's about right. I'm a FreeBSD newbie :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Cleaning Out Ports?
Well what I'm more concerned with is how would you locate orphaned dependencies after the fact. For a parallel example, in gentoo you would emerge --depclean which searches the tree for any orphaned packages and removes them. So say I hadn't used the -r flag when removing packages on BSD, how could I find the leftovers later? -- Matt LaPlante System Administrator Center for Automation Technologies RPI/CAT, CII 8015 110 8th Street Troy, NY 12180 Phone: (518) 276-2275 [EMAIL PROTECTED] www.cat.rpi.edu -Original Message- From: Pat Maddox [mailto:[EMAIL PROTECTED] Sent: Monday, January 31, 2005 8:55 PM To: Matt LaPlante Cc: freebsd-questions@freebsd.org Subject: Re: Cleaning Out Ports? If you try to remove a package that has child dependencies, then it'll let you know. You'll have to use the -f flag to force it to delete the package, despite there being any dependencies. If you want to delete a package along with all its dependencies, you can use the -r flag. Use pkgdb -F to fix any dependencies that might be broken. I think that's about right. I'm a FreeBSD newbie :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cleaning Out Ports?
pkgdb -F will tell you of any packages that have broken dependencies, and allow you to fix them if you choose. On Mon, 31 Jan 2005 21:16:56 -0500, Matt LaPlante [EMAIL PROTECTED] wrote: Well what I'm more concerned with is how would you locate orphaned dependencies after the fact. For a parallel example, in gentoo you would emerge --depclean which searches the tree for any orphaned packages and removes them. So say I hadn't used the -r flag when removing packages on BSD, how could I find the leftovers later? -- Matt LaPlante System Administrator Center for Automation Technologies RPI/CAT, CII 8015 110 8th Street Troy, NY 12180 Phone: (518) 276-2275 [EMAIL PROTECTED] www.cat.rpi.edu -Original Message- From: Pat Maddox [mailto:[EMAIL PROTECTED] Sent: Monday, January 31, 2005 8:55 PM To: Matt LaPlante Cc: freebsd-questions@freebsd.org Subject: Re: Cleaning Out Ports? If you try to remove a package that has child dependencies, then it'll let you know. You'll have to use the -f flag to force it to delete the package, despite there being any dependencies. If you want to delete a package along with all its dependencies, you can use the -r flag. Use pkgdb -F to fix any dependencies that might be broken. I think that's about right. I'm a FreeBSD newbie :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cleaning Out Ports?
On Monday 31 January 2005 06:16 pm, Matt LaPlante wrote: Well what I'm more concerned with is how would you locate orphaned dependencies after the fact. For a parallel example, in gentoo you would emerge --depclean which searches the tree for any orphaned packages and removes them. So say I hadn't used the -r flag when removing packages on BSD, how could I find the leftovers later? Look at /usr/ports/sysutils/pkg_cutleaves here is a excerpt from its man page: pkg_cutleaves finds installed 'leaf' packages, i.e. packages that are not referenced by any other installed package, and lets you decide for each one if you want to keep or deinstall it (via pkg_deinstall(1)). Once the packages marked for removal have been flushed/deinstalled, you'll be asked if you want to do another run (to see packages that have become 'leaves' now because you've deinstalled the package(s) that depended on them). In every run you will be shown only packages that you haven't marked for keeping, yet. -- Matt LaPlante System Administrator Center for Automation Technologies RPI/CAT, CII 8015 110 8th Street Troy, NY 12180 Phone: (518) 276-2275 [EMAIL PROTECTED] www.cat.rpi.edu -Original Message- From: Pat Maddox [mailto:[EMAIL PROTECTED] Sent: Monday, January 31, 2005 8:55 PM To: Matt LaPlante Cc: freebsd-questions@freebsd.org Subject: Re: Cleaning Out Ports? If you try to remove a package that has child dependencies, then it'll let you know. You'll have to use the -f flag to force it to delete the package, despite there being any dependencies. If you want to delete a package along with all its dependencies, you can use the -r flag. Use pkgdb -F to fix any dependencies that might be broken. I think that's about right. I'm a FreeBSD newbie :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [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: Cleaning Out Ports?
I think portsclean does that. I can't remember how though. Its in the portupgrade package. Nathan - Original Message - From: Matt LaPlante [EMAIL PROTECTED] To: 'Pat Maddox' [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Monday, January 31, 2005 7:16 PM Subject: RE: Cleaning Out Ports? Well what I'm more concerned with is how would you locate orphaned dependencies after the fact. For a parallel example, in gentoo you would emerge --depclean which searches the tree for any orphaned packages and removes them. So say I hadn't used the -r flag when removing packages on BSD, how could I find the leftovers later? -- Matt LaPlante System Administrator Center for Automation Technologies RPI/CAT, CII 8015 110 8th Street Troy, NY 12180 Phone: (518) 276-2275 [EMAIL PROTECTED] www.cat.rpi.edu -Original Message- From: Pat Maddox [mailto:[EMAIL PROTECTED] Sent: Monday, January 31, 2005 8:55 PM To: Matt LaPlante Cc: freebsd-questions@freebsd.org Subject: Re: Cleaning Out Ports? If you try to remove a package that has child dependencies, then it'll let you know. You'll have to use the -f flag to force it to delete the package, despite there being any dependencies. If you want to delete a package along with all its dependencies, you can use the -r flag. Use pkgdb -F to fix any dependencies that might be broken. I think that's about right. I'm a FreeBSD newbie :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [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: Cleaning Out Ports?
This looks like what I'm after, thank you! -Original Message- From: Michael C. Shultz [mailto:[EMAIL PROTECTED] Sent: Monday, January 31, 2005 9:23 PM To: freebsd-questions@freebsd.org Cc: Matt LaPlante Subject: Re: Cleaning Out Ports? On Monday 31 January 2005 06:16 pm, Matt LaPlante wrote: Well what I'm more concerned with is how would you locate orphaned dependencies after the fact. For a parallel example, in gentoo you would emerge --depclean which searches the tree for any orphaned packages and removes them. So say I hadn't used the -r flag when removing packages on BSD, how could I find the leftovers later? Look at /usr/ports/sysutils/pkg_cutleaves here is a excerpt from its man page: pkg_cutleaves finds installed 'leaf' packages, i.e. packages that are not referenced by any other installed package, and lets you decide for each one if you want to keep or deinstall it (via pkg_deinstall(1)). Once the packages marked for removal have been flushed/deinstalled, you'll be asked if you want to do another run (to see packages that have become 'leaves' now because you've deinstalled the package(s) that depended on them). In every run you will be shown only packages that you haven't marked for keeping, yet. -- Matt LaPlante System Administrator Center for Automation Technologies RPI/CAT, CII 8015 110 8th Street Troy, NY 12180 Phone: (518) 276-2275 [EMAIL PROTECTED] www.cat.rpi.edu -Original Message- From: Pat Maddox [mailto:[EMAIL PROTECTED] Sent: Monday, January 31, 2005 8:55 PM To: Matt LaPlante Cc: freebsd-questions@freebsd.org Subject: Re: Cleaning Out Ports? If you try to remove a package that has child dependencies, then it'll let you know. You'll have to use the -f flag to force it to delete the package, despite there being any dependencies. If you want to delete a package along with all its dependencies, you can use the -r flag. Use pkgdb -F to fix any dependencies that might be broken. I think that's about right. I'm a FreeBSD newbie :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [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: Cleaning Out Ports?
On Monday 31 January 2005 06:35 pm, Matt LaPlante wrote: This looks like what I'm after, thank you! After you try it, if sysutils/pkg_cutleaves doesn't meet your requirements please let me know. I can add exactly what you asked for to sysutils/portmanager. I don't want to add features that are available elsewhere unless there is a very compelling reason. If sysutils/pkg_cutleaves isn't right, please provide good detail why. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cleaning port config options
On Mon, 13 Dec 2004 10:38:17 -0500, Robert Fitzpatrick [EMAIL PROTECTED] wrote: I was installing the mail/dspam port and the selection of options appeared for configuration, then after selecting, the configuration stopped with an error that I had selected too many back-end options. I did 'make distclean' and 'make clean', but the options list will not appear again for me to alter the configuration options. How do I do this? # rm /var/db/ports/portname/options -- Joshua Lokken Open Source Advocate ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cleaning port config options
I was installing the mail/dspam port and the selection of options appeared for configuration, then after selecting, the configuration stopped with an error that I had selected too many back-end options. I did 'make distclean' and 'make clean', but the options list will not appear again for me to alter the configuration options. How do I do this? -- Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cleaning port config options
On Mon, 13 Dec 2004 10:38:17 -0500 Robert Fitzpatrick [EMAIL PROTECTED] wrote: Hi, I was installing the mail/dspam port and the selection of options appeared for configuration, then after selecting, the configuration stopped with an error that I had selected too many back-end options. I did 'make distclean' and 'make clean', but the options list will not appear again for me to alter the configuration options. How do I do this? make rmconfig Cheers, -- Miguel Mendez [EMAIL PROTECTED] | lea gfx_lib(pc),a1 http://www.energyhq.es.eu.org| moveq #0,d0 PGP Key: 0xDC8514F1 | move.l 4.w,a6 Note: All HTML mail goes to /dev/null| jsr -552(a6) pgpPVDzqxwTVQ.pgp Description: PGP signature
Re: Cleaning port config options
On Mon, 2004-12-13 at 11:00, Miguel Mendez wrote: I was installing the mail/dspam port and the selection of options appeared for configuration, then after selecting, the configuration stopped with an error that I had selected too many back-end options. I did 'make distclean' and 'make clean', but the options list will not appear again for me to alter the configuration options. How do I do this? make rmconfig Thanks, I've tried this as well with no luck. I did 'make distclean', then 'make rmconfig', then 'make rmconfig' again to have it say no user settings were found. Then I do make and leave all default make settings, it gives me the same error: === dspam-3.2.3.20041203.1245 depends on file: /usr/local/bin/libtool15 - found === dspam-3.2.3.20041203.1245 depends on shared library: ecpg.4 - found === dspam-3.2.3.20041203.1245 depends on shared library: sqlite.2 - found === Configuring for dspam-3.2.3.20041203.1245 You can use one and only one database back-end at once. *** Error code 1 Can there possibly be anything else not getting cleaned up? -- Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cleaning port config options
Robert Fitzpatrick [EMAIL PROTECTED] writes: I was installing the mail/dspam port and the selection of options appeared for configuration, then after selecting, the configuration stopped with an error that I had selected too many back-end options. I did 'make distclean' and 'make clean', but the options list will not appear again for me to alter the configuration options. How do I do this? According to man ports, that would make rmconfig. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cleaning port config options
Robert Fitzpatrick extolled: On Mon, 2004-12-13 at 11:00, Miguel Mendez wrote: Can there possibly be anything else not getting cleaned up? -- Robert Did you look in /var/db/ports/ ? There may be something in there that is missed by make rmconfig -- ___ Dan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fall Cleaning
Reminder--- you can unsubscribe from our list by sending an email to [EMAIL PROTECTED] --- --- - Clearing our warehouse and blowing out product!!! Haworth Unigroup (see inventory) $.04 of list Herman Miller with some glazed panels (see inventory) $.04 of list Haworth 42 High 6x6 stations (37) $75/station Steelcase 42 High 6x6 stations (37) $60/station Pick up a bargain as we do our Fall cleaning! See pictures on our website at http://www.northwestofficenetwork.com [1]Send Mail To [EMAIL PROTECTED] to unsubscribe. References 1. mailto:[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cleaning
is there a freebsd equivalent to scandisk and diskdefrag so that i can clean the drive it says on start up that the dir are fragmented but after that i am unsertain. = No Hope in the future Look To the past to find redimsioun. __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cleaning
Rogue Spider wrote: is there a freebsd equivalent to scandisk and diskdefrag so that i can clean the drive it says on start up that the dir are fragmented but after that i am unsertain. If there is fragmentation, it is cleaned up in the boot process (for 4.x) or done in the background after booting (on 5.x). Note that fragmentation on a ufs volume is different from what you're used to on DOS/FAT filesystems. As long as the box is running, you have no worries. If there's ever a significant problem, you'll be told to boot single-user and fix it yourself using 'fsck'. HTH, Kevin Kinsey DaleCo, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: cleaning
My understanding is FreeBSD is self cleaning, not like Windows. cheers Jay -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rogue Spider Sent: Wednesday, October 22, 2003 11:45 AM To: [EMAIL PROTECTED] Subject: cleaning is there a freebsd equivalent to scandisk and diskdefrag so that i can clean the drive it says on start up that the dir are fragmented but after that i am unsertain. = No Hope in the future Look To the past to find redimsioun. __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cleaning
Kevin D. Kinsey, DaleCo, S.P. wrote: Rogue Spider wrote: is there a freebsd equivalent to scandisk and diskdefrag so that i can clean the drive it says on start up that the dir are fragmented but after that i am unsertain. If there is fragmentation, it is cleaned up in the boot process (for 4.x) or done in the background after booting (on 5.x). Did it changed? My last information is, *bsd checks the disks at boot if they were not cleanly unmounted. Otherwise there will nothing happens in this direction. Note that fragmentation on a ufs volume is different from what you're used to on DOS/FAT filesystems. Yes, fragments are parts of a block of a filesystem, where several small files or tails of files are stored together to avoid waste of space by using an entire block for a small piece of data. As long as the box is running, you have no worries. If there's ever a significant problem, you'll be told to boot single-user and fix it yourself using 'fsck'. Or you didn't notice. Usually next boot will show you. If a hardware failure occur, you may never notice except you check your entire disk(s) and prove all sectors on the disk. Jens ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cleaning
On Wed, Oct 22, 2003 at 10:55:21AM -0500, Kevin D. Kinsey, DaleCo, S.P. wrote: Rogue Spider wrote: is there a freebsd equivalent to scandisk and diskdefrag so that i can clean the drive it says on start up that the dir are fragmented but after that i am unsertain. If there is fragmentation, it is cleaned up in the boot process (for 4.x) or done in the background after booting (on 5.x). fsck does not defragment the filesystem, but doing so is not necessary except under extreme usage patterns, because UFS is not so badly-designed as to require regular defragmentation. Kris pgp0.pgp Description: PGP signature
Spring cleaning - hardware give-away for Seth Henry
Need the cit224/keyboard you have listed. I'm in Toronto Canada and can give you my fedex #. and some $$$ for your troubles. Would appreciate a relply. Sincerely, Lee Murfin, Service Division Cycom 1-3500 Pharmacy Ave. Scarborough (Toronto), Ontario Canada M1W 2T6 416-494-5040 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cleaning Postfix queue (was: Qmail on FBSD is flooding)
On Fri, 18 Jul 2003, Sunil Sunder Raj wrote: Hi, Please run qmail-qstat and check the qmail queue. There is a simple shell script to clean the queue. Hi all, I just came to think of if there might be a similar script for Postfix to clean and/or check the mail queue? Regards, Johan Paul ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cleaning Postfix queue (was: Qmail on FBSD is flooding)
Hello, I just came to think of if there might be a similar script for Postfix to clean and/or check the mail queue? To check the mail queue simply run /usr/bin/mailq. To delete a mail from the queue, run 'postsuper -d queue_id', the ID being the ID value you got from mailq. 'postsuper -d ALL' deletes all mail from the queue. Read the postsuper manpage. Cheers, J. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Spring cleaning giveaway - UPDATE
I managed to get rid of some of my surplus gear, but not all. I had a fellow claim the serial terminal, and some of the K6 CPU's, but never got back to me with an address. If you still want these items, let me know. I had someone else looking for a K6 CPU, but my emails have been bouncing. Right now, I still have: 1) CIT224 serial terminal VT52/100/200 - runs up to 9600 baud reliably, 19200 with occasional problems. ~15 lbs 2) 4x K6-2 266 CPU's. Presently in a tray, but I can divide them up. 3) 1x K6-3+ 450 CPU with heatsink/fan (not sure if it works) 4) Voodoo2 board. I believe this is the 12Mb version of the card. I have the passthrough cable, and I believe the SLI cable as well. 5) 4x 1Mb 30-pin SIMM's 6) 1x Compaq RAM for 386LTE, or similar vintage laptop. Last call - after this, it goes to the dump, or the local thrift shops. Regards, Seth Henry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Spring cleaning - hardware give-away
I have a bit of functional, but older equipment I hate to throw away, but no longer have the space to keep. If anyone is interested, it's yours for the price of (actual) shipping. Some of this stuff might be able to go on eBay (and may, if no one claims any of it), but I'd rather see if any of my fellow FreeBSD users/fans are interested first. 1) Old vinum disk array. Contains 11 Seagate ST32550WD (HVD differential) SCSI hard disks, a 20MB/s HVD/LVD converter, HVD terminator, and beefy power supply. There is a cut out for a 8 fan, but the fan has long since gone out. However, the mounting hardware for the fan and filter remain. I used this in college to store MP3's, and as far as I know, they are still on the array. Weighs approximately 35 pounds - I can probably be talked into breaking this up if you don't want all of the disks, or are only interested in the SCSI converter, etc. 2) 15 meter (yes, meters) HVD SCSI cable. It's long, folks. Originally I picked this up on eBay so I could keep the above array in a different room (for noise reasons). Somewhere around 5-6 pounds 3) CIT 224 serial terminal. Supports VT52/100/200 terminal modes, and can operate (reliably) up to 9600 baud. 19200 is supported, but has problems. I currently use it as a head for my headless server, but am looking to replace it with an X terminal that draws just as much juice, and has a GUI :) The keyboard is a tad yellow, but otherwise fine. It's previous life was spent monitoring a router, so there may be some faint burn-in. Probably 10-15 pounds with keyboard. 4) Symbios UW HVD SCSI controller. I'm trying to ditch all my HVD SCSI gear, and this is the last controller on hand. Great if you want the above array, but don't have an HVD controller. It is supported by FreeBSD (works great too) 5) Voodoo 2 3D graphics accelerator - with passthrough cable. Still holds up for older games. I may even have the SLI cable somewhere, though I only have the one card. 6) Digi Digiboard PC/4e with DB9 (male) breakout cable. This is the older ISA version of the card. In excellent condition (was bought new), but replaced with PCI card after a server upgrade. This board is well supported by FreeBSD - it formed the communications portion of a home automation controller for some time. No manuals or disks, though - long since lost in moves. 7) Analog Devices SHARC ez-kit lite development kit. Comes with development board, power supply, and CD-ROM with software. I thought I was going to get into programming DSP's, and bought the kit - but later decided home automation was my thing. Works great, has stereo input and output. Great for home-made equalizers or effects boxes, though it is a tad underpowered. 2-3 pounds (mostly the power supply) 8) Motorola MC68ICS05P microcontroller development kit. Comes with lots of interesting stuff, including the dev board. This part is well supported by free tools, including from Motorola. Perfect for a senior design project - unfortunately, I've already got a MSEE, and I don't plan on using this kit anymore. 9) Paralan NARROW HVD-SE SCSI converter. Mounted in a 5.25 chassis, it allows you to attach normal narrow SCSI devices to a HVD SCSI controller (or vice versa). It is presently configured to terminate, but this can be changed with jumpers. More stuff may be dredged up as I finish Spring cleaning, but that's it for now. First come, first served - and remember, all you have to come up with is shipping. I'd just like to see this gear end up in the hands of someone who could use it. Later, Seth Henry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Spring cleaning - hardware give-away
What is your zip code? - Original Message - From: J. Seth Henry [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, June 01, 2003 4:37 PM Subject: Spring cleaning - hardware give-away I have a bit of functional, but older equipment I hate to throw away, but no longer have the space to keep. If anyone is interested, it's yours for the price of (actual) shipping. Some of this stuff might be able to go on eBay (and may, if no one claims any of it), but I'd rather see if any of my fellow FreeBSD users/fans are interested first. 1) Old vinum disk array. Contains 11 Seagate ST32550WD (HVD differential) SCSI hard disks, a 20MB/s HVD/LVD converter, HVD terminator, and beefy power supply. There is a cut out for a 8 fan, but the fan has long since gone out. However, the mounting hardware for the fan and filter remain. I used this in college to store MP3's, and as far as I know, they are still on the array. Weighs approximately 35 pounds - I can probably be talked into breaking this up if you don't want all of the disks, or are only interested in the SCSI converter, etc. 2) 15 meter (yes, meters) HVD SCSI cable. It's long, folks. Originally I picked this up on eBay so I could keep the above array in a different room (for noise reasons). Somewhere around 5-6 pounds 3) CIT 224 serial terminal. Supports VT52/100/200 terminal modes, and can operate (reliably) up to 9600 baud. 19200 is supported, but has problems. I currently use it as a head for my headless server, but am looking to replace it with an X terminal that draws just as much juice, and has a GUI :) The keyboard is a tad yellow, but otherwise fine. It's previous life was spent monitoring a router, so there may be some faint burn-in. Probably 10-15 pounds with keyboard. 4) Symbios UW HVD SCSI controller. I'm trying to ditch all my HVD SCSI gear, and this is the last controller on hand. Great if you want the above array, but don't have an HVD controller. It is supported by FreeBSD (works great too) 5) Voodoo 2 3D graphics accelerator - with passthrough cable. Still holds up for older games. I may even have the SLI cable somewhere, though I only have the one card. 6) Digi Digiboard PC/4e with DB9 (male) breakout cable. This is the older ISA version of the card. In excellent condition (was bought new), but replaced with PCI card after a server upgrade. This board is well supported by FreeBSD - it formed the communications portion of a home automation controller for some time. No manuals or disks, though - long since lost in moves. 7) Analog Devices SHARC ez-kit lite development kit. Comes with development board, power supply, and CD-ROM with software. I thought I was going to get into programming DSP's, and bought the kit - but later decided home automation was my thing. Works great, has stereo input and output. Great for home-made equalizers or effects boxes, though it is a tad underpowered. 2-3 pounds (mostly the power supply) 8) Motorola MC68ICS05P microcontroller development kit. Comes with lots of interesting stuff, including the dev board. This part is well supported by free tools, including from Motorola. Perfect for a senior design project - unfortunately, I've already got a MSEE, and I don't plan on using this kit anymore. 9) Paralan NARROW HVD-SE SCSI converter. Mounted in a 5.25 chassis, it allows you to attach normal narrow SCSI devices to a HVD SCSI controller (or vice versa). It is presently configured to terminate, but this can be changed with jumpers. More stuff may be dredged up as I finish Spring cleaning, but that's it for now. First come, first served - and remember, all you have to come up with is shipping. I'd just like to see this gear end up in the hands of someone who could use it. Later, Seth Henry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Spring cleaning - hardware give-away
I live near Baltimore, Maryland (US) ZIP is 21113 Regards, Seth Henry On Sun, 1 Jun 2003, MaryAnne Olsen wrote: What is your zip code? - Original Message - From: J. Seth Henry [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, June 01, 2003 4:37 PM Subject: Spring cleaning - hardware give-away I have a bit of functional, but older equipment I hate to throw away, but no longer have the space to keep. If anyone is interested, it's yours for the price of (actual) shipping. Some of this stuff might be able to go on eBay (and may, if no one claims any of it), but I'd rather see if any of my fellow FreeBSD users/fans are interested first. 1) Old vinum disk array. Contains 11 Seagate ST32550WD (HVD differential) SCSI hard disks, a 20MB/s HVD/LVD converter, HVD terminator, and beefy power supply. There is a cut out for a 8 fan, but the fan has long since gone out. However, the mounting hardware for the fan and filter remain. I used this in college to store MP3's, and as far as I know, they are still on the array. Weighs approximately 35 pounds - I can probably be talked into breaking this up if you don't want all of the disks, or are only interested in the SCSI converter, etc. 2) 15 meter (yes, meters) HVD SCSI cable. It's long, folks. Originally I picked this up on eBay so I could keep the above array in a different room (for noise reasons). Somewhere around 5-6 pounds 3) CIT 224 serial terminal. Supports VT52/100/200 terminal modes, and can operate (reliably) up to 9600 baud. 19200 is supported, but has problems. I currently use it as a head for my headless server, but am looking to replace it with an X terminal that draws just as much juice, and has a GUI :) The keyboard is a tad yellow, but otherwise fine. It's previous life was spent monitoring a router, so there may be some faint burn-in. Probably 10-15 pounds with keyboard. 4) Symbios UW HVD SCSI controller. I'm trying to ditch all my HVD SCSI gear, and this is the last controller on hand. Great if you want the above array, but don't have an HVD controller. It is supported by FreeBSD (works great too) 5) Voodoo 2 3D graphics accelerator - with passthrough cable. Still holds up for older games. I may even have the SLI cable somewhere, though I only have the one card. 6) Digi Digiboard PC/4e with DB9 (male) breakout cable. This is the older ISA version of the card. In excellent condition (was bought new), but replaced with PCI card after a server upgrade. This board is well supported by FreeBSD - it formed the communications portion of a home automation controller for some time. No manuals or disks, though - long since lost in moves. 7) Analog Devices SHARC ez-kit lite development kit. Comes with development board, power supply, and CD-ROM with software. I thought I was going to get into programming DSP's, and bought the kit - but later decided home automation was my thing. Works great, has stereo input and output. Great for home-made equalizers or effects boxes, though it is a tad underpowered. 2-3 pounds (mostly the power supply) 8) Motorola MC68ICS05P microcontroller development kit. Comes with lots of interesting stuff, including the dev board. This part is well supported by free tools, including from Motorola. Perfect for a senior design project - unfortunately, I've already got a MSEE, and I don't plan on using this kit anymore. 9) Paralan NARROW HVD-SE SCSI converter. Mounted in a 5.25 chassis, it allows you to attach normal narrow SCSI devices to a HVD SCSI controller (or vice versa). It is presently configured to terminate, but this can be changed with jumpers. More stuff may be dredged up as I finish Spring cleaning, but that's it for now. First come, first served - and remember, all you have to come up with is shipping. I'd just like to see this gear end up in the hands of someone who could use it. Later, Seth Henry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]