Re: editing pdf files
On Sat, Oct 13, 2012 at 1:46 AM, Gary Kline wrote: > On Fri, Oct 12, 2012 at 10:40:29PM +0400, Boris Samorodov wrote: >> 10.10.2012 02:35, Gary Aitken пишет: >> >> > Can someone give me advice on editing pdf files? >> >> Take a look at graphics/inkscape. >> >> -- >> WBR, Boris Samorodov (bsam) >> FreeBSD Committer, http://www.FreeBSD.org The Power To Serve > > > ive got a question that fits in here. hopefully. > > last week I found a book from 1901 that google had scanned and listed > as a pdf file. it was text plus photos of the rich/famous of the > 1800s. somehow, google found the exact string that matched my great > grandfather [from the civil war]. I d'loaded the file (maybe 2mbytes) > and searched using acroread. nada. I used the pdftotext utility. > same: nothing but some 600 page numbers. > > my guess is that google just took photos of the book and used other > tools to create a pdf file. I am not =that= serious about genealogy, > but I would like to know if there are any tools to edit this kind of > pdf file. I suspect the following: they scanned the book and put all the images into the PDF. The PDF itself is merely a container for scanned pages; it thus contains no text (save for the page numbers). That Google was able to search in this file is probably due to them running some OCR program on the image files, and then indexing the (approximate) text that the OCR program generated. Probably they used something like tesseract-ocr from ports graphics/tesseract: http://code.google.com/p/tesseract-ocr/ > tia guys, > > gary > > > -- > Gary Kline kl...@thought.org http://www.thought.org Public Service Unix > Twenty-six years of service to the Unix community. -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ 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: editing pdf files
On Fri, Oct 12, 2012 at 10:40:29PM +0400, Boris Samorodov wrote: > 10.10.2012 02:35, Gary Aitken пишет: > > > Can someone give me advice on editing pdf files? > > Take a look at graphics/inkscape. > > -- > WBR, Boris Samorodov (bsam) > FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ive got a question that fits in here. hopefully. last week I found a book from 1901 that google had scanned and listed as a pdf file. it was text plus photos of the rich/famous of the 1800s. somehow, google found the exact string that matched my great grandfather [from the civil war]. I d'loaded the file (maybe 2mbytes) and searched using acroread. nada. I used the pdftotext utility. same: nothing but some 600 page numbers. my guess is that google just took photos of the book and used other tools to create a pdf file. I am not =that= serious about genealogy, but I would like to know if there are any tools to edit this kind of pdf file. tia guys, gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ 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: portmaster options
jb gmail.com> writes: > ... I have doubts about these options use, so I filed a PR#: http://www.freebsd.org/cgi/query-pr.cgi?pr=172651 jb ___ 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: http://localhost/phpmyadmin
2012/10/12 alexandors titonis : > > ___ > 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" Cool for you :) BTW, try not use phpmyadmin, it's kinda security hole :) -- ~~~ WBR, Vitaliy Turovets NOC Lead @TV-Net ISP NOC Lead @Service Outsourcing company +38(093)265-70-55 VITU-RIPE X-NCC-RegID: ua.tv ___ 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"
http://localhost/phpmyadmin
___ 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: editing pdf files
10.10.2012 02:35, Gary Aitken пишет: > Can someone give me advice on editing pdf files? Take a look at graphics/inkscape. -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: How does freebsd supports ipx?
On 12 October 2012 09:44, Michael Powell wrote: > YC Wang wrote: > > [snip] >> syscall returns successfully. But I don't find any ipx module in >> /boot/kernel/ on freebsd. >> >>So I wonder how does freebsd supports ipx? Is there any other work >> I should do for this purpose? > > I believe what you read in Wikipedia may be out of date. Someone correct me > if I'm wrong, but I seem to recall that IPX was dropped from FreeBSD and is > no longer supported. The code went unmaintained for too long and succumbed > to bit rot, so eventually it was pulled. > > What I am unclear about is exactly when this happened. It wasn't all that > long ago. > "options IPX" is still valid in 9.1-RC2. -- -- ___ 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"
ahcich Timeouts SATA SSD
My configuration is as follows: FreeBSD 8.2-RELEASE Supermicro X8DTi-LN4F (Intel Tylersburg 5520 chipset) motherboard 24 GB system memory 32 x Hitachi Deskstar 5K3000 disks connected to 4 x Intel SASUC8I (LSI 3081E-R) in IT mode 2 x Crucial M4 64 Gb SATA SSD for FreeBSD OS (zroot) 2 x Intel 320 MLC 80 Gb SATA SSD for L2ARC and swap SSD are connected to on-board SATA port on motherboard This system was commissioned in February of 2012 and ran without issue as a ZFS backup system on our network until about 3 weeks ago. At that time I started getting kernel panics due to timeouts to the on-board SATA devices. The only change to the system since it was built was to add an SSD for swap (32 Gb swap device) and this issue did not happen until several months after this was added. My initial thought was that I might have a bad SSD drive so I swapped out one of the Crucial SSD drives and the problem happened again a few days later. I then moved to systematically replacing items such as SATA cables, memory, motherboard, etc and the problem continued. For example, I swapped out the 4 SATA cables with brand new SATA cables and waited to see if the problem happened again. Once it did I moved on to replacing the motherboard with an identical motherboard, waited, etc. I could not find an obvious hardware related explanation for this behavior so about a week and a half ago I did a fresh install of FreeBSD 9.0-RELEASE to move from the ATA driver to the AHCI driver as I found some evidence that this was helpful. The problem continued with something like this: ahcich0: Timeout on slot 29 port 0 ahcich0: is 0 cs ss e000 rs e000 tfd 40 serr cmd 0004df17 ahcich0: AHCI reset: device not ready after 31000ms (tfd = 0080) ahcich0: Timeout on slot 31 port 0 ahcich0: is cs 8000 ss rs 8000 tfd 80 serr cmd 0004df17 (ada0:ahcich0:0:0:0): lost device ahcich0: AHCI reset: device not ready after 3100ms (tfd = 0080) ahcich0: Timeout on slot 31 port 0 ahcich0: is cs 8003 ss 80003 rs 8003 tfd 80 serr 000 cmd 0004df17 (ada0:ahcich0:0:0:0): removing device entry ahcich0: AHCI reset: device not ready after 31000ms (tfd = 0080) ahcich0: Poll timeout on slot 1 port 0 ahcich0: is cs 0002 ss 0 rs 002 tfd 80 serr cmd 004c117 When this happens the only way to recover the system is to hard boot via IPMI (yanking the power vs hitting reset). I cannot say that every time this happens a hard reset is necessary but more often than not a hard reset is necessary as the on-board AHCI portion of the BIOS does not always see the disks after the event without a hard system power reset. I have done a bunch of Google work on this and have seen the issue appear in FreeNAS and FreeBSD but no clear cut resolution in terms of how to address it or what causes it. Some people had a bad SSD, others had to disable NCQ or power management on their SSD, particular brands of SSD (Samsung), etc. Nothing conclusive so far. At the present time the issue happens every 1-2 hours unless I have the following in my /boot/loader.conf after the ahci_load statement: ahci_load="YES" # See ahci(4) hint.ahcich.0.sata_rev=1 hint.ahcich.1.sata_rev=1 hint.ahcich.2.sata_rev=1 hint.ahcich.3.sata_rev=1 hint.ahcich.0.pm_level=1 hint.ahcich.1.pm_level=1 hint.ahcich.2.pm_level=1 hint.ahcich.3.pm_level=1 I have a script in /usr/local/etc/rc.d which disables NCQ on these drives: #!/bin/sh CAMCONTROL=/sbin/camcontrol $CAMCONTROL tags ada0 -N 1 > /dev/null $CAMCONTROL tags ada1 -N 1 > /dev/null $CAMCONTROL tags ada2 -N 1 > /dev/null $CAMCONTROL tags ada3 -N 1 > /dev/null exit 0 I went ahead and pulled the Intel SSDs as they were showing ASR and hardware resets which incremented. Removing both of these disks from the system did not change the situation. The combination of /boot/loader.conf and this script gets me 6 days or so of operation before the issue pops up again. If I remove these two items I get maybe 2 hours before the issue happens again. Right now I'm down to one OS disk and one swap disk and that is it for SSD disks on the system. At the last reboot (yesterday) I disabled APM on the disks (ada0 and ada1 at this point) to see if that makes a difference as I found a reference to this being a potential problem. I'm looking for insight/help on this as I'm about out of options. If there is a way to gather more information when this happens, post up information, etc I'm open to trying it. What is driving me crazy is that I can't seem to come up with a concrete explanation as to why now and not back when the system was built. The issue only seems to happen when the system is idle and the SSD drives do not see much action other than to host OS, scripts, etc while the Intel/LSI based drives is where the actual I/O is at. The system logs do not show anything prior to event happening and the OS wil
Re: editing pdf files
On 9 October 2012 18:35, Gary Aitken wrote: > Can someone give me advice on editing pdf files? > I have some forms I'm trying to fill out that contain labels followed by > a bunch of underline characters and all I need to do is delete some of the > underlines and add text. > > I tried using pdfedit but the modified file doesn't display properly. I > assumed > it would take care of text placement, etc., but it did not produce readable > results. For example, removing underline characters and replacing them with > "340007174" only displays "3400014"; "75-300mm" displays as "-300mm". Am I > missing something or does it just not work? > > Does anyone have any experience with the open office oracle pdf import > extension? > I don't see it in the ports collection, > and I am not sure whether to even try using the linux version. > That a file is a .pdf doesn't tell you much about it, actually. If the .pdf is just an image (eg a scanned document) you can perhaps import it into gimp, or export it as a .png. You might be able to OCR it, I don't know. If it's a proper text document saved as a .pdf, you can surely import it into open- or libre-office & edit it from there. You might also be able to export it as a .ps (using perhaps print/gv or graphics/xpdf, or perhaps one of the tools from graphics/poppler) & edit it with an even wider variety of tools. Yet another option would be to use google docs (or similar), which generally allows viewing & perhaps editing as an HTML document. I don't know if google docs allows re-export back to .pdf, though. -- -- ___ 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"
editing pdf files
Can someone give me advice on editing pdf files? I have some forms I'm trying to fill out that contain labels followed by a bunch of underline characters and all I need to do is delete some of the underlines and add text. I tried using pdfedit but the modified file doesn't display properly. I assumed it would take care of text placement, etc., but it did not produce readable results. For example, removing underline characters and replacing them with "340007174" only displays "3400014"; "75-300mm" displays as "-300mm". Am I missing something or does it just not work? Does anyone have any experience with the open office oracle pdf import extension? I don't see it in the ports collection, and I am not sure whether to even try using the linux version. Thanks, Gary ___ 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: problems upgrading from 7.2-RELEASE-p8 to 7.4 or 9.0-RELEASE
Hi Greg, Thanks for the tips. I'll be able to retry the upgrade this weekend. - Stu On 10/11/2012 5:49 PM, Greg Larkin wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/11/12 2:43 PM, Stuart Matthews wrote: Hi everyone, I am including as much information in here as I think will be useful. Since I can do snapshots on VMWare, I am happy to try any solution or diagnostics. Steps I took to upgrade FreeBSD: Using freebsd-update, I upgraded from 7.2-RELEASE to 7.2-RELEASE-p8 Then, to upgrade to 9.0-RELEASE, I ran the following commands, using http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html as my guide: freebsd-update -r 9.0-RELEASE upgrade freebsd-update install reboot freebsd-update install portupgrade -f ruby rm /var/db/pkg/pkgdb.db portupgrade -f ruby18-bdb rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db portupgrade -af freebsd-update install reboot I noticed that lots of things weren't working, and specifically that I was getting lots of complaints about /libexec/ld-elf.so.1. I also noticed that when I ran freebsd-update IDS, it seemed to report that every single file had the wrong signature. So, this being a VMWare guest, I reluctantly reverted to a previous snapshot, putting me back at 7.2-RELEASE-p8. I decided to try this time to go from 7.2-RELEASE-p8 to 7.4-RELEASE to 8.0-RELEASE to 8.3-RELEASE. I only got to 7.4-RELEASE before I had the same issues as above. As a specific example of errors I would get, I try to run sudo and I get: [stuart@richelieu ~]$ sudo bash /libexec/ld-elf.so.1: sudo: invalid PT_PHDR This seems to be the most relevant thread to the problem I'm having: http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218443.html However, I'd be more comfortable using an official upgrade path, like freebsd-update, exclusively. That thread involves replacing a file from a FreeBSD liveCD. Also, with freebsd-update IDS reporting so many files with incorrect signatures, I feel like my problem is bigger than fixing one file. Right now I am back on 7.2-RELEASE-p8 eager to get my OS upgraded to something that is under current support by the security team. Optimally I'd like to be on 8.3 after looking at the EOL dates. Also, I did see one other post _somewhere_ mentioning a similar proble also on a VMWare guest. So I am suspicious that the problem might be related to VMWare. Thanks, everyone. - Stuart Matthews Hi Stuart, If you click the link in this mailing list article (http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218554.html), then follow the rest of the threaded messages, you should be able fix the problem once you upgrade to 7.4. The issue is that freebsd-update cannot update the ld-elf.so.1 binary on a running system, so after the upgrade to 7.4 (or higher), the system is not completely updated. This message (http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218884.html) has a fix, but it involves booting from a liveCD and replacing the binary manually. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (Darwin) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlB3aQ8ACgkQ0sRouByUApAj2QCgjZZKHLHa04PM3qhtKfwuzJpq D0MAn3uolwsr/ukwGSxLXK42410IfMt8 =JiOa -END PGP SIGNATURE- ___ 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"
MÁS DE 170 DISCOGRAFIAS COMPLETAS... ESPECTACULAR!!!
___ 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: portmaster options
Polytropon edvax.de> writes: > ... > But this? > > # portmaster -L --index | egrep '(ew|ort) version|total install' > /tmp/d-87852-index/INDEX-9.bz2100% of 1619 kB 125 kBps > 00m00s > Terminated > > This is with --index and _no_ ports collection in the default > location (example quoted from your message)... > The above (aborted ?) entry did not create any /tmp die files - this will be obvious below. I repeated the procedure once again, with extra tests. [root@localhost ~]# mv /usr/ports /usr/ports-saved [root@localhost ~]# ls -al /tmp/d d-49774-index/ dbus-VVS2cduIFg dbus-cgVqiePRiB dbus-pt6vB9UUJ6 dbus-4inUXwgfJ4 dbus-Y2iXdHF5tz dbus-fsMikdzeLa dbus-u5N9XsFQwT dbus-DoADJZr2PE dbus-ZGcPBBe763 dbus-o2yUi7puUT dbus-vT3uAQQB6U dbus-FEJgZRlX7B dbus-ZmBHPDrpWD dbus-oVPu6XWzrw dbus-zrcvtjVO62 dbus-KPYiGOw8UL dbus-c36HAD5e3q dbus-paXxX0f1fy [root@localhost ~]# ls -al /tmp/d-49774-index/ total 8 drwx-- 2 jbwheel 512 Oct 7 00:19 . drwxrwxrwt 23 root wheel 2048 Oct 12 15:35 .. [root@localhost ~]# find /tmp -name "*INDEX*" [root@localhost ~]# portmaster -L --index-only | egrep '(ew|ort) version|total install' /tmp/d-93752-index/INDEX-9.bz2100% of 1619 kB 185 kBps ===>>> New version available: smartmontools-5.43_1 ===>>> 618 total installed ports ===>>> 1 has a new version available # ls -al /tmp/d d-49774-index/ dbus-FEJgZRlX7B dbus-Y2iXdHF5tz dbus-c36HAD5e3q dbus-o2yUi7puUT dbus-pt6vB9UUJ6 dbus-zrcvtjVO62 dbus-4inUXwgfJ4 dbus-KPYiGOw8UL dbus-ZGcPBBe763 dbus-cgVqiePRiB dbus-oVPu6XWzrw dbus-u5N9XsFQwT dbus-DoADJZr2PE dbus-VVS2cduIFg dbus-ZmBHPDrpWD dbus-fsMikdzeLa dbus-paXxX0f1fy dbus-vT3uAQQB6U # ls -al /tmp/d-49774-index/ total 8 drwx-- 2 jbwheel 512 Oct 7 00:19 . drwxrwxrwt 23 root wheel 2048 Oct 12 16:00 .. [root@localhost ~]# find /tmp -name "*INDEX*" /tmp/INDEX-9 /tmp/INDEX-9.bz2 [root@localhost ~]# ls -al /tmp/*INDEX* -rw-r--r-- 1 root wheel 26715339 Oct 12 16:00 /tmp/INDEX-9 -rw-r--r-- 1 root wheel 1658547 Oct 12 12:01 /tmp/INDEX-9.bz2 [root@localhost ~]# portmaster -L --index | egrep '(ew|ort) version|total install' Terminated [root@localhost ~]# ls -al /tmp/d d-49774-index/ dbus-VVS2cduIFg dbus-cgVqiePRiB dbus-pt6vB9UUJ6 dbus-4inUXwgfJ4 dbus-Y2iXdHF5tz dbus-fsMikdzeLa dbus-u5N9XsFQwT dbus-DoADJZr2PE dbus-ZGcPBBe763 dbus-o2yUi7puUT dbus-vT3uAQQB6U dbus-FEJgZRlX7B dbus-ZmBHPDrpWD dbus-oVPu6XWzrw dbus-zrcvtjVO62 dbus-KPYiGOw8UL dbus-c36HAD5e3q dbus-paXxX0f1fy [root@localhost ~]# ls -al /tmp/d-49774-index/ total 8 drwx-- 2 jbwheel 512 Oct 7 00:19 . drwxrwxrwt 23 root wheel 2048 Oct 12 16:00 .. [root@localhost ~]# find /tmp -name "*INDEX*" /tmp/INDEX-9 /tmp/INDEX-9.bz2 [root@localhost ~]# ls -al /tmp/*INDEX* -rw-r--r-- 1 root wheel 26715339 Oct 12 16:00 /tmp/INDEX-9 -rw-r--r-- 1 root wheel 1658547 Oct 12 12:01 /tmp/INDEX-9.bz2 [root@localhost ~]# rm /tmp/INDEX* [root@localhost ~]# find /tmp -name "*INDEX*" [root@localhost ~]# # portmaster -L --index | egrep '(ew|ort) version|total install' Terminated [root@localhost ~]# [root@localhost ~]# find /tmp -name "*INDEX*" [root@localhost ~]# jb ___ 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: portmaster options
On Fri, 12 Oct 2012 13:42:10 + (UTC), jb wrote: > RW googlemail.com> writes: > > > > > On Fri, 12 Oct 2012 04:35:43 + (UTC) > > jb wrote: > > > > > Hi, > > > what is the diff between > > > --index > > > and > > > --index-only > > > > From a *very* quick look, it appears that --index-only means don't use > > the the port-directory at all, so that the index file is downloaded > > into /tmp, and some checks and optimizations are skipped or done > > less efficiently. > > ... > > # ls -al /usr/ports/ > ... > -rw-r--r-- 1 root wheel 26881412 Oct 12 07:47 INDEX-7 > -rw-r--r-- 1 root wheel 26765446 Oct 12 07:47 INDEX-8 > -rw-r--r-- 1 root wheel 26715339 Oct 12 13:28 INDEX-9 > -rw-r--r-- 1 root wheel 1658547 Oct 12 12:01 INDEX-9.bz2 > ... > # > > # find /tmp -name "*INDEX*" > > # portmaster -L --index-only | egrep '(ew|ort) version|total install' > ===>>> New version available: smartmontools-5.43_1 > ===>>> 618 total installed ports > ===>>> 1 has a new version available > > # find /tmp -name "*INDEX*" > > Nope :-) But this? # portmaster -L --index | egrep '(ew|ort) version|total install' /tmp/d-87852-index/INDEX-9.bz2100% of 1619 kB 125 kBps 00m00s Terminated This is with --index and _no_ ports collection in the default location (example quoted from your message)... -- 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"
Re: How does freebsd supports ipx?
YC Wang wrote: [snip] > syscall returns successfully. But I don't find any ipx module in > /boot/kernel/ on freebsd. > >So I wonder how does freebsd supports ipx? Is there any other work > I should do for this purpose? I believe what you read in Wikipedia may be out of date. Someone correct me if I'm wrong, but I seem to recall that IPX was dropped from FreeBSD and is no longer supported. The code went unmaintained for too long and succumbed to bit rot, so eventually it was pulled. What I am unclear about is exactly when this happened. It wasn't all that long ago. -Mike ___ 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: portmaster options
RW googlemail.com> writes: > > On Fri, 12 Oct 2012 04:35:43 + (UTC) > jb wrote: > > > Hi, > > what is the diff between > > --index > > and > > --index-only > > From a *very* quick look, it appears that --index-only means don't use > the the port-directory at all, so that the index file is downloaded > into /tmp, and some checks and optimizations are skipped or done > less efficiently. > ... # ls -al /usr/ports/ ... -rw-r--r-- 1 root wheel 26881412 Oct 12 07:47 INDEX-7 -rw-r--r-- 1 root wheel 26765446 Oct 12 07:47 INDEX-8 -rw-r--r-- 1 root wheel 26715339 Oct 12 13:28 INDEX-9 -rw-r--r-- 1 root wheel 1658547 Oct 12 12:01 INDEX-9.bz2 ... # # find /tmp -name "*INDEX*" # portmaster -L --index-only | egrep '(ew|ort) version|total install' ===>>> New version available: smartmontools-5.43_1 ===>>> 618 total installed ports ===>>> 1 has a new version available # find /tmp -name "*INDEX*" Nope :-) jb ___ 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: portmaster options
On Fri, 12 Oct 2012 04:35:43 + (UTC) jb wrote: > Hi, > what is the diff between > --index > and > --index-only >From a *very* quick look, it appears that --index-only means don't use the the port-directory at all, so that the index file is downloaded into /tmp, and some checks and optimizations are skipped or done less efficiently. ___ 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"
Sysctls and privacy
In my system I use separate user accounts for running untrusted programs at the moment. While many will probably argue that jails are a superior solution, in my specific case its the inverse. I know FreeBSD is not ready by default to have multiple untrusted users in the system, at least from a security viewpoint. I have done quite a bit of changes to make the situation better. However, there is something bugging me. Some sysctls apparently expose too much information about the system. Some examples: the number of context switches, the number of forks, the total used memory (at the byte level), the total used space for each file system (at the byte level) and even a graph of how my GEOM devices are organized! I know some programs like gkrellm need this information to function, but on the other hand, I feel pretty uncomfortable with the information presented by gkrellm being logged. It's at the very least a loss of privacy. So, I would like to ask for a way to disable user access to all sysctls that are not needed by basic user programs (shell, terminal, etc). Also, if possible, I would like to have a group of users to whom these sysctls are accessible as an exception (to run gkrellm). Thanks for your time. ___ 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: portmaster options
Polytropon edvax.de> writes: > ... > > Well, yes, BUT they seem to be redundant (that's why I asked). > > > > # portmaster -L --index-only | egrep '(ew|ort) version|total install' > > ===>>> New version available: smartmontools-5.43_1 > > ===>>> 618 total installed ports > > ===>>> 1 has a new version available > > > > # portmaster -L --index | egrep '(ew|ort) version|total install' > > ===>>> New version available: smartmontools-5.43_1 > > ===>>> 618 total installed ports > > ===>>> 1 has a new version available > > # > > Did you test this with or _without_ an actually installed ports > collection? If you don't have one installed, --index probably > won't work. > # mv /usr/ports /usr/ports-saved # portmaster -L --index-only | egrep '(ew|ort) version|total install' /tmp/d-85964-index/INDEX-9.bz2100% of 1619 kB 185 kBps ===>>> New version available: smartmontools-5.43_1 ===>>> 618 total installed ports ===>>> 1 has a new version available # portmaster -L --index | egrep '(ew|ort) version|total install' /tmp/d-87852-index/INDEX-9.bz2100% of 1619 kB 125 kBps 00m00s Terminated # Well, the second entry outcome (with --index option) looks like a bug to me. jb ___ 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: portmaster options
On Fri, 12 Oct 2012 11:34:17 + (UTC), jb wrote: > Polytropon edvax.de> writes: > > > > > On Fri, 12 Oct 2012 04:35:43 + (UTC), jb wrote: > > > Hi, > > > what is the diff between > > > --index > > > and > > > --index-only > > ... > > --index > > use INDEX-[7-9] exclusively to check if a port is up to date > > ... > > --index-only > > do not try to use /usr/ports. For updating ports when no > > /usr/ports > > directory is present the -PP|--packages-only option is required. > > See > > the ENVIRONMENT section below for additional requirements. > > > > This means --index-only is to be used when using portmaster for > > binary installs without an installed ports collection. > > > > Well, yes, BUT they seem to be redundant (that's why I asked). > > # portmaster -L --index-only | egrep '(ew|ort) version|total install' > ===>>> New version available: smartmontools-5.43_1 > ===>>> 618 total installed ports > ===>>> 1 has a new version available > > # portmaster -L --index | egrep '(ew|ort) version|total install' > ===>>> New version available: smartmontools-5.43_1 > ===>>> 618 total installed ports > ===>>> 1 has a new version available > # Did you test this with or _without_ an actually installed ports collection? If you don't have one installed, --index probably won't work. -- 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"
Re: portmaster options
On 10/12/2012 01:57 PM, jb wrote: > jb gmail.com> writes: > >> ... >>> --index-only >>> do not try to use /usr/ports. For updating ports when no >>> /usr/ports >>> directory is present the -PP|--packages-only option is required. >>> See the ENVIRONMENT section below for additional requirements. >>> >> ... > And -PP|--packages-only option implies "index only" entry behavior, so there > is redundancy here as well. > > Does anybody know where this --index-only option really matter ? > jb > Well /usr/local/sbin/portmaster is a _big_ shell script You could read through it to find the answer to your question This e-mail message, including any attachment(s), is intended solely for the addressee or addressees. Any views or opinions presented herein are solely those of the author and do not necessarily represent those of OSE. If you are not the intended recipient of this communication please return this e-mail message and the attachment(s) to the sender and delete and destroy all copies. ___ 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: portmaster options
jb gmail.com> writes: > ... > > --index-only > > do not try to use /usr/ports. For updating ports when no > > /usr/ports > > directory is present the -PP|--packages-only option is required. > > See the ENVIRONMENT section below for additional requirements. > > > ... And -PP|--packages-only option implies "index only" entry behavior, so there is redundancy here as well. Does anybody know where this --index-only option really matter ? jb ___ 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: portmaster options
Polytropon edvax.de> writes: > > On Fri, 12 Oct 2012 04:35:43 + (UTC), jb wrote: > > Hi, > > what is the diff between > > --index > > and > > --index-only > ... > --index > use INDEX-[7-9] exclusively to check if a port is up to date > ... > --index-only > do not try to use /usr/ports. For updating ports when no /usr/ports > directory is present the -PP|--packages-only option is required. See > the ENVIRONMENT section below for additional requirements. > > This means --index-only is to be used when using portmaster for > binary installs without an installed ports collection. > Well, yes, BUT they seem to be redundant (that's why I asked). # portmaster -L --index-only | egrep '(ew|ort) version|total install' ===>>> New version available: smartmontools-5.43_1 ===>>> 618 total installed ports ===>>> 1 has a new version available # portmaster -L --index | egrep '(ew|ort) version|total install' ===>>> New version available: smartmontools-5.43_1 ===>>> 618 total installed ports ===>>> 1 has a new version available # ___ 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: portmaster options
On Fri, 12 Oct 2012 04:35:43 + (UTC), jb wrote: > Hi, > what is the diff between > --index > and > --index-only According to "man portmaster" there are some options that control the behaviour regarding the use of INDEX: --no-index-fetch skip fetching the INDEX file --index use INDEX-[7-9] exclusively to check if a port is up to date --index-first use the INDEX for status, but double-check with the port --index-only do not try to use /usr/ports. For updating ports when no /usr/ports directory is present the -PP|--packages-only option is required. See the ENVIRONMENT section below for additional requirements. This means --index-only is to be used when using portmaster for binary installs without an installed ports collection. -- 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"
Re: problems upgrading from 7.2-RELEASE-p8 to 7.4 or 9.0-RELEASE
[ Bas Smeelen wrote on Fri 12.Oct'12 at 11:02:47 +0200 ] > On 10/12/2012 10:53 AM, Jamie Paul Griffin wrote: > > [ Greg Larkin wrote on Thu 11.Oct'12 at 20:49:19 -0400 ] > > > >> Hi Stuart, > >> > >> If you click the link in this mailing list article > >> (http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218554.html), > >> then follow the rest of the threaded messages, you should be able fix > >> the problem once you upgrade to 7.4. > >> > >> The issue is that freebsd-update cannot update the ld-elf.so.1 binary > >> on a running system, so after the upgrade to 7.4 (or higher), the > >> system is not completely updated. > >> > >> This message > >> (http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218884.html) > >> has a fix, but it involves booting from a liveCD and replacing the > >> binary manually. > > Would it be easier to do an update by building from source? I've never used > > freebsd-update myself so not had to troubleshoot these issues before. > > That's probably the best way. > > Bit I am wondering about this. > I upgraded several systems (physical and virtual machines) with > freebsd-update from 7.1 -> 7.3 -> 8.1 -> 8.3 and also one system from 7.1 -> > 7.4 (with custom kernels) and did not encounter this. Did I just get lucky > then? I couldn't comment on the freebsd-update(8) procedure as I've never used it. But I'd personally upgrade the system by building from source. You can then easily integrate your custom kernel and I would *imagine* you'd avoid the issues you've encountered so far. Make sure you read /usr/src/UPDATING thoroughly, and also check your customer kernel options. Some changes have been made to more recent versions of FreeBSD, such as the ata(4) driver. I believe in the past certain elements could be (and still can be) added in a modular fasion, explicitly setting each element. Now, you only need to have: device scbus, device ata and options ATA_CAM. Already present in the GENERIC kernel config now. See man 4 ata for details. I hope i've got that right, hopefully others will correct my comments if necessary but in any case, reading the appropriate files will provide all the information needed. For example: /usr/src/sys/conf/NOTES and /usr/src/sys/{i386,amd64}/NOTES have more information about kernel options that might be helpful and of interest to you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: How does freebsd supports ipx?
> I suppose you should add "options IPX" line to your kernel > configuration file and rebuild/reinstall the kernel. have a look at /usr/src/sys/conf/NOTES and/or /usr/src/sys/{amd64,i386}/conf/NOTES for more information about kernel options ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: How does freebsd supports ipx?
2012/10/12 YC Wang : > Hi,all: > > I read from wikipedia that freebsd supports ipx. But when I tried > to set ipx address on em0,it showed the following message: > > freebsd-yc# ifconfig em0 ipx (netnum.nodenum) > ifconfig: socket(family 23,SOCK_DGRAM: Protocol not supported > > And as I furher trussed the ifconfig process, I found this was > probably caused by the failure of the socket syscall: > > freebsd-yc# truss ifconfig em0 ipx netnum.nodenum > .. > socket(PF_IPX,SOCK_DGRAM,0) ERR#43 'Protocol not > supported' > .. > > > In contrast however, when calling "socket(PF_IPX,SOCK_DGRAM,0)" on > Linux, it will automatically load the ipx kernel module and the socket > syscall returns successfully. But I don't find any ipx module in > /boot/kernel/ on freebsd. > >So I wonder how does freebsd supports ipx? Is there any other work > I should do for this purpose? > >And if this isn't the most appropriate list for this question, > please let me know. > > Thanks > YC Wang > ___ > 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" I suppose you should add "options IPX" line to your kernel configuration file and rebuild/reinstall the kernel. -- ~~~ WBR, Vitaliy Turovets NOC Lead @TV-Net ISP NOC Lead @Service Outsourcing company +38(093)265-70-55 VITU-RIPE X-NCC-RegID: ua.tv ___ 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"
How does freebsd supports ipx?
Hi,all: I read from wikipedia that freebsd supports ipx. But when I tried to set ipx address on em0,it showed the following message: freebsd-yc# ifconfig em0 ipx (netnum.nodenum) ifconfig: socket(family 23,SOCK_DGRAM: Protocol not supported And as I furher trussed the ifconfig process, I found this was probably caused by the failure of the socket syscall: freebsd-yc# truss ifconfig em0 ipx netnum.nodenum .. socket(PF_IPX,SOCK_DGRAM,0) ERR#43 'Protocol not supported' .. In contrast however, when calling "socket(PF_IPX,SOCK_DGRAM,0)" on Linux, it will automatically load the ipx kernel module and the socket syscall returns successfully. But I don't find any ipx module in /boot/kernel/ on freebsd. So I wonder how does freebsd supports ipx? Is there any other work I should do for this purpose? And if this isn't the most appropriate list for this question, please let me know. Thanks YC Wang ___ 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: problems upgrading from 7.2-RELEASE-p8 to 7.4 or 9.0-RELEASE
On 10/12/2012 10:53 AM, Jamie Paul Griffin wrote: > [ Greg Larkin wrote on Thu 11.Oct'12 at 20:49:19 -0400 ] > >> Hi Stuart, >> >> If you click the link in this mailing list article >> (http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218554.html), >> then follow the rest of the threaded messages, you should be able fix >> the problem once you upgrade to 7.4. >> >> The issue is that freebsd-update cannot update the ld-elf.so.1 binary >> on a running system, so after the upgrade to 7.4 (or higher), the >> system is not completely updated. >> >> This message >> (http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218884.html) >> has a fix, but it involves booting from a liveCD and replacing the >> binary manually. > Would it be easier to do an update by building from source? I've never used > freebsd-update myself so not had to troubleshoot these issues before. That's probably the best way. Bit I am wondering about this. I upgraded several systems (physical and virtual machines) with freebsd-update from 7.1 -> 7.3 -> 8.1 -> 8.3 and also one system from 7.1 -> 7.4 (with custom kernels) and did not encounter this. Did I just get lucky then? This e-mail message, including any attachment(s), is intended solely for the addressee or addressees. Any views or opinions presented herein are solely those of the author and do not necessarily represent those of OSE. If you are not the intended recipient of this communication please return this e-mail message and the attachment(s) to the sender and delete and destroy all copies. ___ 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: problems upgrading from 7.2-RELEASE-p8 to 7.4 or 9.0-RELEASE
[ Greg Larkin wrote on Thu 11.Oct'12 at 20:49:19 -0400 ] > Hi Stuart, > > If you click the link in this mailing list article > (http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218554.html), > then follow the rest of the threaded messages, you should be able fix > the problem once you upgrade to 7.4. > > The issue is that freebsd-update cannot update the ld-elf.so.1 binary > on a running system, so after the upgrade to 7.4 (or higher), the > system is not completely updated. > > This message > (http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218884.html) > has a fix, but it involves booting from a liveCD and replacing the > binary manually. Would it be easier to do an update by building from source? I've never used freebsd-update myself so not had to troubleshoot these issues before. ___ 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"
RFQ--pcb
Dear Sirs, I'm Maria Weng coming from PEAK PCB LIMITED .We exporting PCB(printed circuit boards) with good quality for nearly 10 years in Shenzhen, China. We produce and sell the PCBs for many years. Our service include: 1. PCB production ex:sample and mass production. 2. PCB copy 3. Rigid PCB 4. Aluminum PCB. The boards include: single sided,double sided,2 layer,4 layer,6 layer. Fast delivery: Samples & small production: 4~5 days(urgent delivery 2~3 days) Mass production: 7~8 days. We are so glad to hear your news,your inquiry is our Goddess. We are waiting for your feedback. Have a nice day! Best regards, Maria Weng PEAK PCB LIMITED Tel: +86-0755-29100879 Fax :+86-0755-29109182 Email: sales4(at)peakpcb.com skype: peakpcbltd4 ___ 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"
Hire Website Designers or PHP Programmers
Hi Greetings with Creation Cubes…. Now you can hire Web Designers or PHP Programmers ( Wordpress / J Query / AJAX / PHP / HTML / CSS / ASP.net / E-Commerce / PayPal Integration). who will work on your projects for just after see your project description, I am able to decide my Bid Amount with Time Duration .I will provide you QUALITY WORK AT FARE PRICE and also provide you complete IT solution. The Web Designer or PHP Programmer would work 22 days a month (Excluding National Holidays) and 8 hours a day and 176 hours in month dedicatedly on your project/s. Founded in 2008, Creation Cubes has grown from a 3 people team to a 25 men army. The majority of clientele, who outsource IT services to Creation Cubes include companies from India. I have 5 years of experience. I have extensive knowledge with the following technologies: PHP, MySQL, HTML, CSS, jQuery, Javascript, AJAX, WordPress, E-commerce, osCommerce, Joomla. Why choose us? The answer is simple! We provide dedicated Web Designers or PHP Programmers at affordable cost. You can hire Web Designers or PHP Programmers working full time, 22 days a month (Excluding National Holidays ). Benefits of Hiring Web Designers or PHP Programmers: » It’s affordable with price low. » No Set-up Cost. » No Infrastructure Cost. » You can treat Web Designers or PHP Programmers as your own staff. » Web Designers or PHP Programmers will have more than 5 years of experience. » You can contact Web Designers or PHP Programmers through Email and IMs Top 10 Benefits of Our Service: 1.Working for more than 10 Web Development companies worldwide. 2. On Time Project Deliveries. 3. Web Designers or PHP Programmers will have more than 5 years of experience 4. Save thousands of dollars every year. 5. Hired Web Designers and PHP Programmers will work Full Time, 22 Days a month (Excluding National Holidays) 6. Daily, Monthly or Weekly reports available. 7. You can contact Web Designers and PHP Programmers via Instant Messengers and/or Emails. 8. We strictly work as per Non Disclosure Agreement (NDA) 9. We do not approach company’s clients directly. 10. Full transparency in the work. So please give me a chance work with you.We Provides excellent service and very professional. Highly recommended and has true expertise in Website design, Wordpress & Programming. Amazing Free Mock ups on design projects. We give individual attention and have same degree….. Do let me know your views and I would be happy to provide Further Details. Thank & Regards. Surendra Rao Business Development Executive, Creation Cubes Email: suren...@creationcubes.com Web. : creationcubes.com ___ 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"