Re: Mixing different versions of PHP extensions
2010/5/11 Toomas Aas toomas@raad.tartu.ee Is it possible to rebuild just the php52-gd extension to a newer version of php52-gd-5.2.13 and have it working with existing php5-5.2.9 and all the existing extensions, or would it be asking for trouble? It is possible as a interim measure, but to have your ports in tip-top state and to not to have any troubles with dependencies, you have to have the same versions of php and all of it's extensions. -- Best regards, Antonio Kless, http://kless.spb.ru/ ___ 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: Very simple file sharing between FreeBSD server and windows client ?
Chip Camden sterl...@camdensoftware.com wrote: Does anyone have a recommendation for NAS that works well for both FreeBSD and Windows clients? IME, among commercial offerings, virtually all support SMB (via Samba) but only the high-end (large relatively costly) ones support NFS also. (A while back, the largest Buffalo that Fry's had -- 4TB IIRC -- claimed to support NFS; all other NAS of any brand mentioned only SMB and DELNI.) You can use an inexpensive SMB-only NAS with a FreeBSD client, but you'll need Samba on the client. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
freeBSD 8.0
Hello, I am trying to download freeBSD version 8.0 I would like to find out, for a complete installation of a freeBSD 8.0. how many disks does it contain? I mean does it have disk1, disk2, etc? After downloading in ISO image, how do I burn it on a Cd so that it can be installed as a bootable cd? Hoping to hear from you. God bless. ___ 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: freeBSD 8.0
Chohwora wrote: Hello, I am trying to download freeBSD version 8.0 I would like to find out, for a complete installation of a freeBSD 8.0. how many disks does it contain? I mean does it have disk1, disk2, etc? After downloading in ISO image, how do I burn it on a Cd so that it can be installed as a bootable cd? Hoping to hear from you. God bless. ___ 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 All your questions are answered in the handbook. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ ___ 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: freeBSD 8.0
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Various leading lights of the FreeBSD project dropped from the CC -- you really only need to ask on freebsd-questi...@... or even better, *read* the archives where your questions have certainly been answered already many times. On 11/05/2010 09:25:40, Chohwora wrote: I am trying to download freeBSD version 8.0 I would like to find out,for a complete installation of a freeBSD 8.0. how many disks does it contain? I mean does it have disk1, disk2, etc? You only need the disk1 CD .iso image to have everything you need to install FreeBSD. Or the DVD .iso image if you're using that medium. The contents of the various different .iso images are fairly self explanatory really. Lets look at the contents of ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/8.0/ File:8.0-RELEASE-amd64-bootonly.iso 46256 KB 22/11/2009 03:40:00 This is a bootable image containing little more than sysinstall -- it's designed for people who want to install from the net directly. File:8.0-RELEASE-amd64-disc1.iso 674050 KB 22/11/2009 03:41:00 This is everything you need to install a FreeBSD system using CD media File:8.0-RELEASE-amd64-dvd1.iso.gz 1892469 KB 22/11/2009 03:43:00 This is both a livefs disk and everything you need to install the system using DVD media File:8.0-RELEASE-amd64-livefs.iso 328748 KB 22/11/2009 03:43:00 This is a live filesystem image for use with CD media. Advanced users could install a working system using it, but the intention is more for testing system compatibility with FreeBSD and for fixing unbootable systems. File:8.0-RELEASE-amd64-memstick.img 1020240 KB 22/11/2009 04:32:00 This is both the livefs and system installer for a memory stick File:CHECKSUM.MD5 1 KB 22/11/2009 04:39:00 File:CHECKSUM.SHA256 1 KB 22/11/2009 04:39:00 These are the MD5 and SHA1 checksums respectively of the other files in this directory. Check that the hundreds of MB you just downloaded is actually correct before trying to burn a disk. After downloading in ISO image, how do I burn it on a Cd so that it can be installed as a bootable cd? Complete and clear instructions for just about everything you would need to know when trying to install FreeBSD are available in the Handbook. In this case look at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-diff-media.html and links therein which tell you exactly what to do to create bootable media on an already-installed FreeBSD machine. For instructions on what to do to create media on other OSes, search the web or ask again here, not forgetting to say /what/ OS you will be using. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvpIpgACgkQ8Mjk52CukIwZnACgiu97iOHy1lAokciX5lVN4hYb 2RIAnRoMZqaXNwqIZPJ8grTXIGBgSWbU =6zYN -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
Problem with Custom Kernel
Dear Sir, My name is Heshmat Ismail.The output of uname-a is:- FreeBSD 8.0-RELEASE FreeBSD 8.0-RELEASE #12: Tue May 11 11:05:22 UTC 2010 heshmat@:/usr/obj/usr/src/sys/MYKERNEL i386 After I have built and installed my custom kernel (MYKERNEL),i installed xorg and ran the command startx but i got: couldn't create cookie.What could be the problem with MYKERNEL? my kernel configuration file is attached with this message. Thanks, Heshmat Ismail MYKERNEL Description: Binary data ___ 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: Very simple file sharing between FreeBSD server and windows client ?
On Tue, May 11, 2010 at 2:00 AM, per...@pluto.rain.com wrote: Chip Camden sterl...@camdensoftware.com wrote: Does anyone have a recommendation for NAS that works well for both FreeBSD and Windows clients? IME, among commercial offerings, virtually all support SMB (via Samba) but only the high-end (large relatively costly) ones support NFS also. (A while back, the largest Buffalo that Fry's had -- 4TB IIRC -- claimed to support NFS; all other NAS of any brand mentioned only SMB and DELNI.) You can use an inexpensive SMB-only NAS with a FreeBSD client, but you'll need Samba on the client. Another item to consider in this discussion is sharity-light, an easy-to-use program that allows FreeBSD to mount Windows shares. Sharity-light is in the ports and Sharity is available as a commercial product: http://www.freshports.org/net/sharity-light http://www.obdev.at/products/sharity/index.html Andrew Gould ___ 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: md5(1) and cal(1)
Warren Block writes: 1. Why doesn't cal(1) hilight the current day? cal on FreeBSD 8 does highlight the current date. Confirmed for both xterm and whatever the console driver is using. Robert Huff ___ 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
rookie question about PACKAGESITE
Hello all, I started using FreeBSD about a week ago, and I really like the system. Have been using Linux for the last few years. One noob question though, according to the Handbook on Packages and Ports, I can use packages for either RELEASE, STABLE, or CURRENT. How exactly would this compare to Linux? Is it that CURRENT is like Fedora(bleeding-edge and somewhat unstable), and STABLE is like RedHat Enterprise Linux (older versions of software, but very stable)? Which one should I use? I am currently using RELEASE. I am not looking for bleeding edge. I'm after stability. Kind regards, Coert ___ 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: rookie question about PACKAGESITE
Hey hey Coert Nice to see another GLUG member on here. The link below will answer you're question. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html In general give the FreeBSD Handbook a read, in my concerted little opinion it is the gold standard in how any operating system should be documented. On Tue, May 11, 2010 at 1:42 PM, Coert lgro...@waagmeester.co.za wrote: Hello all, I started using FreeBSD about a week ago, and I really like the system. Have been using Linux for the last few years. One noob question though, according to the Handbook on Packages and Ports, I can use packages for either RELEASE, STABLE, or CURRENT. How exactly would this compare to Linux? Is it that CURRENT is like Fedora(bleeding-edge and somewhat unstable), and STABLE is like RedHat Enterprise Linux (older versions of software, but very stable)? Which one should I use? I am currently using RELEASE. I am not looking for bleeding edge. I'm after stability. Kind regards, Coert ___ 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 -- Opportunity is most often missed by people because it is dressed in overalls and looks like work. Thomas Alva Edison Inventor of 1093 patents, including: The light bulb, phonogram and motion pictures. ___ 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: rookie question about PACKAGESITE
On Tue, 11 May 2010 13:42:52 +0200 Coert lgro...@waagmeester.co.za wrote: Hello all, I started using FreeBSD about a week ago, and I really like the system. Have been using Linux for the last few years. One noob question though, according to the Handbook on Packages and Ports, I can use packages for either RELEASE, STABLE, or CURRENT. Current is bleeding edge, STABLE branches are stable development branches, but these all relate to the base system. As far as packages are concerned, they should be be built for the base system version you are using - you can mostly get away with using STABLE packages on releases, but it can cause problems. If you want to keep to keep packages up-to-date between releases, update via ports. ___ 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 do I align 4k drives?
Hello, I'm trying to install FreeBSD on a new 1TB WD10EARS drive which has the Advance Format deal and requires alignment but despite all of my efforts I've been unable to figure out. Help? ___ 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 do I align 4k drives?
On 05/11/10 07:58, Gabe wrote: Hello, I'm trying to install FreeBSD on a new 1TB WD10EARS drive which has the Advance Format deal and requires alignment but despite all of my efforts I've been unable to figure out. Help? Sysinstall does not make it easy. The Advanced fdisk function will only leave you scratching your head. Your best bet is to build the partition table on the drive using another freebsd system. I believe you'll simply want to start the first partition with an offset of 4096. ___ 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: Finding out when a child process forks or calls exec
Hi all, I have been experimenting with ptrace to determine when a child process forks or calls exec. Particularly, I have explored tracing every system call entry and exit similar to what the truss utility does, and for my case, the performance impact of tracing every system call is too great. Is there a more efficient way than tracing every system call entry and exit to determine when a child process forks, calls exec, or creates a new LWP? Thanks a lot for your help! -Dan On Mon, May 3, 2010 at 4:39 PM, Dan Nelson dnel...@allantgroup.com wrote: In the last episode (May 03), Dan McNulty said: I am trying to port a debugging tool that uses the ptrace interface from Linux to FreeBSD. From what I can tell, the ptrace interface on FreeBSD is pretty similar to the Linux interface; however, it doesn't appear that the FreeBSD interface generate events when the child process forks, calls exec, creates a new LWP, etc. My question then is: Does FreeBSD provide any way to determine from a parent/tracing process if a child process has called fork, exec, exit, or created a new LWP? /usr/bin/truss watches for syscalls named fork, rfork, and vfork, and when they return it forks another copy of itself to watch the child. See /usr/src/usr.bin/truss/i386-fbsd.c and main.c (search for in_fork). You can tell when a new lwp is created because lwpid changes. In setup.c the waitevent() function calls ptrace(PT_LWPINFO...) on every syscall entry/exit so it's easy to track; it then calls the find_thread() function which allocates a new helper struct every time a new lwp appears. -- Dan Nelson dnel...@allantgroup.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 ___ 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
is it safe to crossbuild 6.4 i386 on 7.3 amd64 box?
Hi, That's sort of for the record. I faced with issue where I wasn't able to boot a box w/ kernel built with subj scheme. On build box with 7.3-amd64 installed: 1. prepare world/kernel in an existing chrooted 6.4-S environment = doesn't work (see below) 2. prepare world/kernel just cd'ing to 6.4-S src change MAKEOBJDIRPREFIX = PROFIT! Both built with equal config and source. Next, what does not work in 1. System stops after printing point_to_point in /etc/rc.d/initrandom: # XXX temporary until we can improve the entropy # harvesting rate. # Entropy below is not great, but better than nothing. # This unblocks the generator at startup ( ps -fauxww; sysctl -a; date; df -ib; dmesg; ps -fauxww ) \ | dd of=/dev/random bs=8k 2/dev/null Here sysctl -a queries dev.cpu.0.freq - cpufreq_curr_sysctl@/kern/kern_cpu.c and locks up. As I understand, CPU doesn't return from sched_switch(). 118 ethernet 118 point_to_point KDB: enter: Line break on console db ps pid ppid pgrp uid state wmesg wchancmd 686651 0 R+ CPU 255 sysctl 666451 0 S+ wait 0xc82e6648 sh 655951 0 S+ piperd 0xc853f4c8 dd 645951 0 S+ wait 0xc82e6218 sh 595151 0 S+ wait 0xc82e6a78 sh 51 151 0 Ss+ wait 0xc852ec90 sh db bt 68 Tracing pid 68 tid 100076 td 0xc8551820 sched_switch(c8551820,0,1) at sched_switch+0x143 mi_switch(1,0,c8551980,0,c0adf560,...) at mi_switch+0x1ba sched_bind(c8551820,0) at sched_bind+0x52 cpu_est_clockrate(0,eebeead4,c84f3400,3,c84f3400,...) at cpu_est_clockrate+0xc1 cf_levels_method(c8214900,c85da000,eebeeb48) at cf_levels_method+0x303 cf_get_method(c8214900,c85cb000) at cf_get_method+0x12b cpufreq_curr_sysctl(c8218cc0,c81ea000,0,eebeec04,c8218cc0,...) at cpufreq_curr_s sysctl_root(0,eebeec74,4,eebeec04) at sysctl_root+0x107 userland_sysctl(c8551820,eebeec74,4,0,bfbfdbdc,0,0,0,eebeec70,0) at userland_sys __sysctl(c8551820,eebeed04) at __sysctl+0x93 syscall(3b,3b,3b,4,bfbfdbdc,...) at syscall+0x2bf Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (202, FreeBSD ELF32, __sysctl), eip = 0x2812650b, esp = 0xbfbfdb4c, -- wbr, pluknet ___ 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: glabel nor tunefs save my labels
Thanks for all your answers. mark...@melon ~ $ sudo tunefs -p /dev/ad0s1f tunefs: POSIX.1e ACLs: (-a)disabled tunefs: NFSv4 ACLs: (-N) disabled tunefs: MAC multilabel: (-l) disabled tunefs: soft updates: (-n) enabled tunefs: gjournal: (-J) disabled tunefs: maximum blocks per file in a cylinder group: (-e) 2048 tunefs: average file size: (-f)16384 tunefs: average number of files in a directory: (-s) 64 tunefs: minimum percentage of free space: (-m) 8% tunefs: optimization preference: (-o) time tunefs: volume label: (-L) usr It's weird, as you can see the label is set but nothing in /dev/label, /dev/ufs, /dev/vol ! About blanking the MBR, I will do it when 8.1-RELEASE will be released, I don't want to rewrite my partition table for the moment. It's not a serious problem. Cheers. ___ 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: md5(1) and cal(1)
From owner-freebsd-questi...@freebsd.org Mon May 10 22:25:31 2010 Date: Mon, 10 May 2010 17:35:45 -0800 From: David Allen the.real.david.al...@gmail.com To: freebsd-questions@freebsd.org Subject: md5(1) and cal(1) 1. Why doesn't cal(1) hilight the current day? Because we're waitng for *YOU* to submit the patches. *GRIN* ___ 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: glabel nor tunefs save my labels
On Tue, May 11, 2010 at 07:08:40PM +0200, David DEMELIER wrote: Thanks for all your answers. mark...@melon ~ $ sudo tunefs -p /dev/ad0s1f snip tunefs: volume label: (-L) usr It's weird, as you can see the label is set but nothing in /dev/label, /dev/ufs, /dev/vol ! The labels are removed when the partition is mounted somewhere! So, you will only see the labels of unmounted partitions/disks in devfs. See for yourself (commands run on my 8.0-RELEASE-p2 system): Checking that this partition is labeled; # tunefs -p /dev/ad6s1a ... tunefs: volume label: (-L) rootbk When it is mounted, # mount ... /dev/ad6s1a on /mnt/bk/root (ufs, local) there are no labels: # ls /dev/ufs/* /dev/ufsid/* ls: No match. After unmounting # umount /dev/ad6s1a # ls /dev/ufs/* /dev/ufsid/* /dev/ufs/rootbk /dev/ufsid/482e0880cf225c60 Both the label set with tunefs and the ufsid label appear! Mount it again and the labels disappear again; # mount /mnt/bk/root # ls /dev/ufs/* /dev/ufsid/* ls: No match. Hope this helps. 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) pgpMCV23mcMc6.pgp Description: PGP signature
Re: md5(1) and cal(1)
On Tue, May 11, 2010 at 12:26:35PM -0500, Robert Bonomi wrote: From owner-freebsd-questi...@freebsd.org Mon May 10 22:25:31 2010 Date: Mon, 10 May 2010 17:35:45 -0800 From: David Allen the.real.david.al...@gmail.com To: freebsd-questions@freebsd.org Subject: md5(1) and cal(1) 1. Why doesn't cal(1) hilight the current day? Because we're waitng for *YOU* to submit the patches. *GRIN* It _does_ highlight the current day on my system (8.0-RELEASE-p2), at least when run on urxvt (x11/rxvt-unicode). 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) pgpd1GA4g6ykH.pgp Description: PGP signature
Re: glabel nor tunefs save my labels
2010/5/11 Roland Smith rsm...@xs4all.nl: On Tue, May 11, 2010 at 07:08:40PM +0200, David DEMELIER wrote: Thanks for all your answers. mark...@melon ~ $ sudo tunefs -p /dev/ad0s1f snip tunefs: volume label: (-L) usr It's weird, as you can see the label is set but nothing in /dev/label, /dev/ufs, /dev/vol ! Aaah ! So I understand everything now ! Is this written somewhere ? -- Demelier David ___ 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: md5(1) and cal(1)
On Mon, 10 May 2010 17:35:45 -0800, David Allen the.real.david.al...@gmail.com said: D 1. Why doesn't cal(1) hilight the current day? I'm not sure, but it's easy enough to script. See below the signature. If you don't have /bin/ksh, change the first line to #!/bin/sh. You definitely need either the Linux compatibility stuff or a decent version of ncurses installed for this to work. The basic version of tput (/usr/bin/tput) will not do the trick. D 2. Why doesn't md5(1) have a check option? Seems to me requiring a D manual inspection is error-prone at best, and makes scripting D unecessarily complicated. Agreed. That's why I always install the GNU coreutils package, which includes the md5sum program. -- Karl Vogel I don't speak for the USAF or my company If men ruled the world #14: The 'Cops' program would be broadcast live so that you could phone in advice to the cops -- or crooks. --- #!/bin/ksh # # $Revision: 1.8 $ $Date: 2010-04-20 14:14:45-04 $ # $UUID: b604e100-38b2-33b6-8816-ab401a8fb12d $ # # NAME: #month # # DESCRIPTION: #Runs cal to get the current month, and uses the #terminal standout codes to highlight today's date. # # AUTHOR: #Found this in a Unix mag # # NOTES: #Include /usr/compat/linux/usr/bin in PATH on FreeBSD unless you've #installed a recent version of ncurses. PATH=/usr/local/bin:/bin:/usr/bin export PATH DAY=$(date +%d | sed 's/0\([123456789]\)/ \1/') SMSO=$(tput smso) RMSO=$(tput rmso) cal | sed -e 's/^/ /' -e 3,\$s/ ${DAY}/ ${SMSO}${DAY}${RMSO}/ exit 0 ___ 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: glabel nor tunefs save my labels
On Tue, May 11, 2010 at 07:46:57PM +0200, David DEMELIER wrote: 2010/5/11 Roland Smith rsm...@xs4all.nl: On Tue, May 11, 2010 at 07:08:40PM +0200, David DEMELIER wrote: Thanks for all your answers. mark...@melon ~ $ sudo tunefs -p /dev/ad0s1f snip tunefs: volume label: (-L) usr It's weird, as you can see the label is set but nothing in /dev/label, /dev/ufs, /dev/vol ! Aaah ! So I understand everything now ! Is this written somewhere ? See §19.6 (Labeling Disk Devices) in the FreeBSD Handbook. However, it is not mentioned there that labels are removed when the partition is mounted. Maybe that behavior is recent? 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) pgpF9O4SyvVPF.pgp Description: PGP signature
user friendliest gui
Hi all, I'm planning on setting up a workstation in our library for the SOLE purpose of scanning flash drives. My users are 100% windows users, and have never used anything else. In case you are curious, all usb ports are disabled on ALL windows machines. So the question is I want to make this is simple as possible for any user to put the flash drive into the bsd computer and scan the drive (if it can be automated that would be even greater but not required) TIA ___ 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: user friendliest gui
If that's all your doing on that system, maybe some restricted shell with automagical scan script would be fine? Just a thought. Avoid GUI's if you can! -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Jean-Paul Natola Sent: Tuesday, May 11, 2010 1:30 PM To: FreeBSD Mailing List Subject: user friendliest gui Hi all, I'm planning on setting up a workstation in our library for the SOLE purpose of scanning flash drives. My users are 100% windows users, and have never used anything else. In case you are curious, all usb ports are disabled on ALL windows machines. So the question is I want to make this is simple as possible for any user to put the flash drive into the bsd computer and scan the drive (if it can be automated that would be even greater but not required) TIA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: user friendliest gui
On Tue, 11 May 2010, Jean-Paul Natola wrote: I'm planning on setting up a workstation in our library for the SOLE purpose of scanning flash drives. What do you mean by scanning flash drives? Scanning for files, viruses, images, what? -Warren Block * Rapid City, South Dakota USA ___ 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: user friendliest gui
For virus/malware Sorry bout that -Original Message- From: Warren Block [mailto:wbl...@wonkity.com] Sent: Tuesday, May 11, 2010 2:49 PM To: Jean-Paul Natola Cc: FreeBSD Mailing List Subject: Re: user friendliest gui On Tue, 11 May 2010, Jean-Paul Natola wrote: I'm planning on setting up a workstation in our library for the SOLE purpose of scanning flash drives. What do you mean by scanning flash drives? Scanning for files, viruses, images, what? -Warren Block * Rapid City, South Dakota USA ___ 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: user friendliest gui
My users here, no gui = machine is broken From: Eitan Adler [mailto:li...@eitanadler.com] Sent: Tuesday, May 11, 2010 2:48 PM To: Gary Gatten Cc: Jean-Paul Natola; FreeBSD Mailing List Subject: Re: user friendliest gui On Tue, May 11, 2010 at 9:36 PM, Gary Gatten ggat...@waddell.commailto:ggat...@waddell.com wrote: If that's all your doing on that system, maybe some restricted shell with automagical scan script would be fine? Just a thought. Avoid GUI's if you can! Why? For most users GUIs are far easier to understand and use. ___ 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: user friendliest gui
Date: Tue, 11 May 2010 18:51:44 + Cc: FreeBSD Mailing List freebsd-questions@freebsd.org Subject: RE: user friendliest gui My users here, no gui = machine is broken From: Eitan Adler [mailto:li...@eitanadler.com] Sent: Tuesday, May 11, 2010 2:48 PM To: Gary Gatten Cc: Jean-Paul Natola; FreeBSD Mailing List Subject: Re: user friendliest gui On Tue, May 11, 2010 at 9:36 PM, Gary Gatten ggat...@waddell.com wrote: If that's all your doing on that system, maybe some restricted shell with automagical scan script would be fine? Just a thought. Avoid GUI's if you can! Why? For most users GUIs are far easier to understand and use. Why?? Because, In this case, the GUI is entirely -un-necessary-. The user doesn't have to do anything other than stick the flash drive in the USB port. The machine does everything else. *WITHOUT* any further user intervention required. Why bother with the GUI, when there is no inter-actiona required? ___ 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: user friendliest gui
On Tue, May 11, 2010 at 9:36 PM, Gary Gatten ggat...@waddell.com wrote: If that's all your doing on that system, maybe some restricted shell with automagical scan script would be fine? Just a thought. Avoid GUI's if you can! Why? For most users GUIs are far easier to understand and use. ___ 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: md5(1) and cal(1)
D 2. Why doesn't md5(1) have a check option? Seems to me requiring a D manual inspection is error-prone at best, and makes scripting D unecessarily complicated. Would something like the attached patch be good? It adds a -c option for a string to check against. It prints [failed] if the string does not match the files md5 unless in -q mode. It also returns 2 to indicate md5 match failure for use in scripts. md5-check.patch Description: Binary data ___ 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: user friendliest gui
Why?? Because, In this case, the GUI is entirely -un-necessary-. The user doesn't have to do anything other than stick the flash drive in the USB port. My users here, no gui = machine is broken makes it very necessary. Anyway if you want a really simple GUI try icewm or dwm. The former recently had a thread on its mailing list about how to lock it down for use as a kiosk and the latter has 5000 lines of code so it should be easy to modify to your liking if you know some C. Also look at devd(8) for running your script - The devd daemon provides a way to have userland programs run when certain kernel events happen. ___ 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: user friendliest gui
On Tue, 11 May 2010 14:07:10 -0500 (CDT), Robert Bonomi bon...@mail.r-bonomi.com wrote: Why?? Because, In this case, the GUI is entirely -un-necessary-. The user doesn't have to do anything other than stick the flash drive in the USB port. The machine does everything else. *WITHOUT* any further user intervention required. Why bother with the GUI, when there is no inter-actiona required? Valid point. No interaction - no need for GUI, because you can display needed information in a colorful text screen, too. In this case, I'd suggest to use CDK (Curses development kit) and an automated script. If you're keen on setting up a graphical environment, do it right: No window manager, no way to start programs. In your ~/.xinitrc nothing than the program to be run should be executed. For enriching a shell script with GUI controls, I would say that using Tcl/Tk is a good way. Finally, I imagine that you want something like this: +--+ | VIRUS MALWARE SCANNING STATION | | | | Insert your USB stick or thumb | | drive into the USB port and then | | press ENTER to start the scan. | | (OK)| +--+ Of course, users who want the complicated GUI way will now grab the mouse and click the OK button. +--+ |SCANNING IN PROGRESS | | | | The system is now scanning your | | files. DO NOT REMOVE the stick | | without being told so! | +--+ Additionally, files may be shown in a scrolling window as they are processed. From a quick df / du measurement, the percentage of the progress can be estimated. +--+ | NOTHING FOUND| | =| | You may now remove your stick. | | (OK) | +--+ or maybe +--+ | ALERT! MALWARE HAS BEEN FOUND! | | == | | Take your USB stick and do not | | insert it anywhere else. Your| | system administrator has been| | informed that your stick contai- | | ned a dangerous virus. Report to | | Mister Dillinger immedieately. | | (OK) | +--+ You can do this both in text mode and in X. If you really, REALLY want to use X for the sake of overcomplexity, you can do that, but be prepared: The more unneeded stuff you introduce, the more complicated the whole procedure gets, and the more security risks may occur. You have hereby been warned. :-) As I mentioned before: MY suggestion would be to try to avoid as many interaction as possible. Windows users usually aren't good at understanding interaction concepts, even if it comes in blue and red and shiny, or any other old-fashioned candy-like color theme they are told to be comfortable with. The most responsibility off them. Make a machine that exactly and purely does the job, and does it well. -- 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
Disk can't be found, boot stops at mountroot
System 7.2-RELEASE I made the first reboot after freebsd-update -r 8.0-RELEASE freebsd-update install and I'm now stuck at the mountroot prompt that says trying to mount from ufs:/dev/ad0s1a ROOT MOUNT ERROR The command ? to list valid boot devices gives List of GEOM managed disk devices: cd0 ufsid/452b81499eec5ac8 ad0a acd0 ad0 fd0 I've tried ufs:/dev/da0s1a and ufs:/dev/ad0s1a With no luck Any suggestions on how to get booted? Thanks ___ 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: user friendliest gui
On Tue, 11 May 2010 22:30:08 +0300, Eitan Adler li...@eitanadler.com wrote: My users here, no gui = machine is broken And they *do* use computers? :-) makes it very necessary. Sure. Anyway if you want a really simple GUI try icewm or dwm. The former recently had a thread on its mailing list about how to lock it down for use as a kiosk and the latter has 5000 lines of code so it should be easy to modify to your liking if you know some C. If this machine wil be dedicated to just scanning USB sticks, there is NO NEED for a window manager. A (maybe fullscreen) Tcl/Tk wrapper for the programs involved in the scanning process should be completely sufficient. If this machine should do other things, too, maybe it's useful to add xdm, and then be able to logout from the scanner account (of course involving a password, so the clever no gui = broken users cannot accidentally log out and break the machine. With another user account, something else could be done. Also look at devd(8) for running your script - The devd daemon provides a way to have userland programs run when certain kernel events happen. That's a very good advice - a way to automate the process. While the scanner application wrapper is waiting for a devd signal to start work, the machine can show dancing puppies, play music or show random window decorations (to indicate it's not broken). If the devd signal arrives, the scanning process starts, and the machine only shows the minimal informations (that the clever users can understand, like put in the stick or take out the stick, but not too complicated, so don't bother them with what kind of virus or malware has been found). Again, Tcl/Tk is an excellent means to implement this. And as a sidenote: As GUIs aren't user friendly in this specific situation (it's always specific, keep in mind), it should be reduced to the minimum to do the job. -- 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: user friendliest gui
On Tue, 11 May 2010 18:49:51 + Jean-Paul Natola jnat...@familycareintl.org wrote: For virus/malware Sorry bout that -Original Message- From: Warren Block [mailto:wbl...@wonkity.com] Sent: Tuesday, May 11, 2010 2:49 PM To: Jean-Paul Natola Cc: FreeBSD Mailing List Subject: Re: user friendliest gui On Tue, 11 May 2010, Jean-Paul Natola wrote: I'm planning on setting up a workstation in our library for the SOLE purpose of scanning flash drives. What do you mean by scanning flash drives? Scanning for files, viruses, images, what? To anser your question, I prefer Gnome. See http://www.freebsd.org/gnome/ as well as some of my notes at http://wiki.openslate.net/ Having said that, it sounds like your application does not require all that special gnomieness. Understand that installing and maintaining Gnome is a large project all it's own. If you don't need it, why bother? Consider just installing x.org and a nice window manager like sawfish or blackbox. See http://xwinman.org/ and poke around in /usr/ports/x11-wm on your FreeBSD system. If the world were perfect I would tell you to install Squeak and develop what you need in smalltalk. I love Squeak, but I cannot say how effective it would be at providing a GUI to whatever command line drive scanner you intend to use. You can easily customize the basic configuration (called an image) to eliminate what you do not require. http://www.squeak.org/ Another way to go would be my second most favorite language, tcl/tk. Easy to do the command line interface, but a lot more utilitarian than Squeak. http://www.tcl.tk/ What happens when a bug is detected? Do sirens go off? Steel doors slam down at all entrances? Gary Dunn Open Slate Project ___ 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: VirtualBox: no network
Okay, so it works with the stock kernel when I don't load the module and don't start the vboxnet service on boot, but just manually load the vboxnetflt module when the system is up. Then I start virtualbox and the network works fine. Unfortunately there is no indication what kernel modules are needed. I think it needs at least netgraph and ng_ether. But obviously that's not enough since network still doesn't work with my custom kernel. Oh, and then it regularly freezes my whole system after running for about 20 minutes and I have to do a hardware reset ... ;-) On 05/09/10 13:37, Anselm Strauss wrote: Hi, I'm running VirtualBox 3.1.6 on FreeBSD 8.0 amd64. I loaded the vboxdrv module on boot and started the vboxnet service. Then I set up an Ubuntu 10.04 amd64 guest and configured one bridged network interface. But I can't get an IP address from my DHCP server. When I check with tcpdump on all hosts, the traffic goes out from the Ubuntu guest over the FreeBSD host and arrives at my DHCP server. The replies come in on the host system but are then somehow not forwarded to the guest. I never see incoming traffic on the guest system. I tested this with the stock FreeBSD kernel and with both types bridged and NAT networking. There is no firewall on the host system. Any ideas? Thanks, Anselm ___ 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: user friendliest gui
Will it pop-up a message saying your drive is clean? If so then great -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Robert Bonomi Sent: Tuesday, May 11, 2010 3:07 PM To: freebsd-questions@freebsd.org Subject: RE: user friendliest gui Date: Tue, 11 May 2010 18:51:44 + Cc: FreeBSD Mailing List freebsd-questions@freebsd.org Subject: RE: user friendliest gui My users here, no gui = machine is broken From: Eitan Adler [mailto:li...@eitanadler.com] Sent: Tuesday, May 11, 2010 2:48 PM To: Gary Gatten Cc: Jean-Paul Natola; FreeBSD Mailing List Subject: Re: user friendliest gui On Tue, May 11, 2010 at 9:36 PM, Gary Gatten ggat...@waddell.com wrote: If that's all your doing on that system, maybe some restricted shell with automagical scan script would be fine? Just a thought. Avoid GUI's if you can! Why? For most users GUIs are far easier to understand and use. Why?? Because, In this case, the GUI is entirely -un-necessary-. The user doesn't have to do anything other than stick the flash drive in the USB port. The machine does everything else. *WITHOUT* any further user intervention required. Why bother with the GUI, when there is no inter-actiona required? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to force end-of-line in man page source
On Tue, May 11, 2010 at 01:36:20PM +0800, Fbsd1 wrote: I don't like the way some lines in the man page have the last word in the sentence broken in 2 and hyphenated. Is there some escape code I can put at the end of the line in the source code to suppress this? You can generally override the hyphenation mode with .hy 0 -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net pgpwsLwUovkwE.pgp Description: PGP signature
Re: Very simple file sharing between FreeBSD server and windows client ?
Thanks for all the replies. FreeNAS looks like the ticket. BTW, sharity-light is marked as broken in the ports -- does not compile. I'm on 8.0-STABLE amd64. On May 11 2010 06:43, Andrew Gould wrote: On Tue, May 11, 2010 at 2:00 AM, per...@pluto.rain.com wrote: Chip Camden sterl...@camdensoftware.com wrote: Does anyone have a recommendation for NAS that works well for both FreeBSD and Windows clients? IME, among commercial offerings, virtually all support SMB (via Samba) but only the high-end (large relatively costly) ones support NFS also. (A while back, the largest Buffalo that Fry's had -- 4TB IIRC -- claimed to support NFS; all other NAS of any brand mentioned only SMB and DELNI.) You can use an inexpensive SMB-only NAS with a FreeBSD client, but you'll need Samba on the client. Another item to consider in this discussion is sharity-light, an easy-to-use program that allows FreeBSD to mount Windows shares. Sharity-light is in the ports and Sharity is available as a commercial product: http://www.freshports.org/net/sharity-light http://www.obdev.at/products/sharity/index.html Andrew Gould ___ 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 -- Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.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
Re: user friendliest gui
On Tue, May 11, 2010 at 3:26 PM, Jean-Paul Natola jnat...@familycareintl.org wrote: Will it pop-up a message saying your drive is clean? If so then great -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Robert Bonomi Sent: Tuesday, May 11, 2010 3:07 PM To: freebsd-questions@freebsd.org Subject: RE: user friendliest gui Date: Tue, 11 May 2010 18:51:44 + Cc: FreeBSD Mailing List freebsd-questions@freebsd.org Subject: RE: user friendliest gui My users here, no gui = machine is broken From: Eitan Adler [mailto:li...@eitanadler.com] Sent: Tuesday, May 11, 2010 2:48 PM To: Gary Gatten Cc: Jean-Paul Natola; FreeBSD Mailing List Subject: Re: user friendliest gui On Tue, May 11, 2010 at 9:36 PM, Gary Gatten ggat...@waddell.com wrote: If that's all your doing on that system, maybe some restricted shell with automagical scan script would be fine? Just a thought. Avoid GUI's if you can! Why? For most users GUIs are far easier to understand and use. Why?? Because, In this case, the GUI is entirely -un-necessary-. The user doesn't have to do anything other than stick the flash drive in the USB port. The machine does everything else. *WITHOUT* any further user intervention required. Why bother with the GUI, when there is no inter-actiona required? I'm going to advocate for a GUI here due to the possibility of a false positive during malware detection. The user should be given a choice as to whether the infected file is cleaned, deleted or left alone. If the user chooses to keep the file, the user should also be able to store the scan log onto the usb drive. (Users should also be able to decide that no log will be written to the drive.) These things will require interaction with the user. There is also the possibility that the OP will want to add related, optional services later. One example might be the option to choose whether the usb drive is scanned or completely erased by overwriting the drive with zeros. Another good use for the GUI, as scanning an 8GB or 32GB usb drive may take some time, is to present a slideshow to the user about computer security or, perhaps, an introduction to the wonderful operating system that is running on the computer. Andrew ___ 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: Disk can't be found, boot stops at mountroot
On Tue, May 11, 2010 at 2:46 PM, Leslie Jensen les...@eskk.nu wrote: System 7.2-RELEASE I made the first reboot after freebsd-update -r 8.0-RELEASE freebsd-update install and I'm now stuck at the mountroot prompt that says trying to mount from ufs:/dev/ad0s1a ROOT MOUNT ERROR The command ? to list valid boot devices gives List of GEOM managed disk devices: cd0 ufsid/452b81499eec5ac8 ad0a acd0 ad0 fd0 I've tried ufs:/dev/da0s1a and ufs:/dev/ad0s1a With no luck Any suggestions on how to get booted? If you boot off a 7.2 cd, can you see the proper partitions? What are they? -- Adam Vande More ___ 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: Disk can't be found, boot stops at mountroot
On 2010-05-12 00:06, Adam Vande More wrote: On Tue, May 11, 2010 at 2:46 PM, Leslie Jensen les...@eskk.nu mailto:les...@eskk.nu wrote: System 7.2-RELEASE I made the first reboot after freebsd-update -r 8.0-RELEASE freebsd-update install and I'm now stuck at the mountroot prompt that says trying to mount from ufs:/dev/ad0s1a ROOT MOUNT ERROR The command ? to list valid boot devices gives List of GEOM managed disk devices: cd0 ufsid/452b81499eec5ac8 ad0a acd0 ad0 fd0 I've tried ufs:/dev/da0s1a and ufs:/dev/ad0s1a With no luck Any suggestions on how to get booted? If you boot off a 7.2 cd, can you see the proper partitions? What are they? -- Adam Vande More I used a 8.0 livefs CD and all I could find was ad0 and ad0a. Using sysinstall fdisk showed an empty disk! So I think I have some kind of hardware failure :-( /Leslie ___ 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: Disk can't be found, boot stops at mountroot
On Tue, May 11, 2010 at 5:38 PM, Leslie Jensen les...@eskk.nu wrote: On 2010-05-12 00:06, Adam Vande More wrote: On Tue, May 11, 2010 at 2:46 PM, Leslie Jensen les...@eskk.nu mailto:les...@eskk.nu wrote: System 7.2-RELEASE I made the first reboot after freebsd-update -r 8.0-RELEASE freebsd-update install and I'm now stuck at the mountroot prompt that says trying to mount from ufs:/dev/ad0s1a ROOT MOUNT ERROR The command ? to list valid boot devices gives List of GEOM managed disk devices: cd0 ufsid/452b81499eec5ac8 ad0a acd0 ad0 fd0 I've tried ufs:/dev/da0s1a and ufs:/dev/ad0s1a With no luck Any suggestions on how to get booted? If you boot off a 7.2 cd, can you see the proper partitions? What are they? -- Adam Vande More I used a 8.0 livefs CD and all I could find was ad0 and ad0a. Using sysinstall fdisk showed an empty disk! **If you boot off a 7.2 cd** So I think I have some kind of hardware failure :-( /Leslie -- Adam Vande More ___ 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
dumping a raid member with 'dd' for insurance...
A 3ware raid5 array I had died. It looks like the data is intact, and there are two good recovery methods: 1) a toolchain from 3ware that, if it doesn't work, will destroy the data. This method is free, and I can do it myself. 2) professional forensic services. Costs a lot. I'm going to start with #1, but before I do I want to image the individual drive members so that I can go to method #2 if necessary. I am planning on attaching each individual member of the raid5 array to a test FreeBSD system, and run: dd if=/dev/ad1 of=/data/disk/image.file Two questions: - is that a complete 'dd' command, or do I need to specify bs=xxx and count=xxx ? - is there any chance that simply booting with this drive attached to the system, and running a 'dd' like this, will somehow alter the contents or touch the array member in any way ? What I have described above appears to be a completely read-only process, but I'd like to make sure there aren't ANY bits that FreeBSD will write to this disk ... Thak 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: dumping a raid member with 'dd' for insurance...
Hi-- On May 11, 2010, at 3:35 PM, George Sanders wrote: [ ... ] I am planning on attaching each individual member of the raid5 array to a test FreeBSD system, and run: dd if=/dev/ad1 of=/data/disk/image.file Two questions: - is that a complete 'dd' command, or do I need to specify bs=xxx and count=xxx ? What you've suggested should work as-is. Adding the count option isn't useful, but specifying a bs of 64k or larger will considerably speed up the process of copying the data. Since you're dealing with a failed array and it's possible some of the disks might have errors when read, using conv=noerror might also be a good idea. - is there any chance that simply booting with this drive attached to the system, and running a 'dd' like this, will somehow alter the contents or touch the array member in any way ? What I have described above appears to be a completely read-only process, but I'd like to make sure there aren't ANY bits that FreeBSD will write to this disk ... Many disks have a write-protect jumper which you can use to make sure no changes get written. Regards, -- -Chuck ___ 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
replies from mpcustomer.com
Recently, when posting to this list, I've been getting replies to my messages like below: Any ideas what's going on? Hello, This is an automated response to inform you that your question has been entered into our system, and will be reviewed shortly. Your ticket has been submitted into the General Support department. We will respond to you as soon as possible. == Please keep this information, and use it when refering to your ticket: Ticket subject: Re: Disk can't be found, boot stops at mountroot Ticket number: 24492859 Ticket link: https://secure.mpcustomer.com/ticket.php?ticket=24492859 -- Adam Vande More ___ 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: user friendliest gui
From andrewlylego...@gmail.com Tue May 11 16:46:38 2010 Date: Tue, 11 May 2010 16:46:50 -0500 Subject: Re: user friendliest gui From: Andrew Gould andrewlylego...@gmail.com To: Jean-Paul Natola jnat...@familycareintl.org Cc: Robert Bonomi bon...@mail.r-bonomi.com, freebsd-questions@freebsd.org freebsd-questions@freebsd.org On Tue, May 11, 2010 at 3:26 PM, Jean-Paul Natola jnat...@familycareintl.org wrote: -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questions= @freebsd.org] On Behalf Of Robert Bonomi Sent: Tuesday, May 11, 2010 3:07 PM To: freebsd-questions@freebsd.org Subject: RE: user friendliest gui Date: Tue, 11 May 2010 18:51:44 + Cc: FreeBSD Mailing List freebsd-questions@freebsd.org Subject: RE: user friendliest gui My users here, =A0no gui =3D machine is broken From: Eitan Adler [mailto:li...@eitanadler.com] Sent: Tuesday, May 11, 2010 2:48 PM To: Gary Gatten Cc: Jean-Paul Natola; FreeBSD Mailing List Subject: Re: user friendliest gui On Tue, May 11, 2010 at 9:36 PM, Gary Gatten ggat...@waddell.com wrote= : If that's all your doing on that system, maybe some restricted shell wit= h automagical scan script would be fine? =A0Just a thought. =A0Avoid GUI's= if you can! Why? For most users GUIs are far easier to understand and use. Why?? =A0Because, In this case, the GUI is entirely -un-necessary-. =A0Th= e user doesn't have to do anything other than stick the flash drive in the USB p= ort. The machine does everything else. =A0*WITHOUT* any further user intervent= ion required. Why bother with the GUI, when there is no inter-actiona required? Will it pop-up a message saying your drive is clean? If so then great TRIVIALLY easy to do. This is a =dedicated=, single-function, machine, one can have an app *already*running* that looks for syslog messages for a USB insertion, mounts the indicated device on, say '/mnt', initiates a virus-scan, *displays* the results, and unmounts the device. I'm going to advocate for a GUI here due to the possibility of a false positive during malware detection. The user should be given a choice as to whether the infected file is cleaned, deleted or left alone. If the user chooses to keep the file, the user should also be able to store the scan log onto the usb drive. (Users should also be able to decide that no log will be written to the drive.) These things will require interaction with the user. I favor a 'receipt' printer -- one of the little ones that uses adding-machine size paper, like ATM machines have. Print the USB device ID, a timestamp, the status (clean vs. infected), and if infected, a simple summary of how many infections of what type(s) were detected. _maybe_ list the first few infected files. OP _did_ 'spec' that this was to be a malware DETECTION 'scanning' system, not a removal/repair installation. Reading between the lines, I gatther that this is to be a choke-point/ validation service, and *only* devices that pass through it as 'uninfected' will be allowed to be used on other machines on thepremises. That the function of this box is to protect the other internal boxes, _not_ to disinfect infected USB devices. There is also the possibility that the OP will want to add related, optional services later. One example might be the option to choose whether the usb drive is scanned or completely erased by overwriting the drive with zeros. I wouldn't want the *LIABILITY* for doing =that=. Another good use for the GUI, as scanning an 8GB or 32GB usb drive may take some time, is to present a slideshow to the user about computer security or, perhaps, an introduction to the wonderful operating system that is running on the computer. One can do _all_ of that without any need for a GUI. All it takes is a little creativity in the programming. In many ways, the 'ideal' UI _hardware_ for this kind of an application is a _touch_screen_. *IF*and*when* you want to add additional features that require interactivity. The application itself needs use nothing more than color 'curses' (or equivalent) to provide a sufficiently 'user-friendly' display. As for doing a 'slide show' or similar, while scanning is in progress, 'anything' that can (a) change console video mode(s), and (b) output an appropriate pattern/number of pixels, can do that. *without* the overhead of a full-blown GUI in the way. ___ 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: replies from mpcustomer.com
On Wednesday 12 May 2010 00:35:39 Adam Vande More wrote: Recently, when posting to this list, I've been getting replies to my messages like below: Any ideas what's going on? See http://lists.freebsd.org/pipermail/freebsd-questions/2010-May/216214.html . -- Bruce Cran ___ 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: replies from mpcustomer.com
Hi-- On May 11, 2010, at 4:35 PM, Adam Vande More wrote: Recently, when posting to this list, I've been getting replies to my messages like below: Any ideas what's going on? Yes. Some childish person presumably forged a subscription of this mpcustomer.com support address to the FreeBSD-questions mailing list, possibly via some alias or forwarding mechanism at some other domain. The folks at mpcustomer.com need to figure out what is going on by checking the Received: headers and unsubscribe, or fix their ticket system to not respond to email containing Precedence: list or Precedence: bulk...which they should already be doing per RFC-3834. Regards, -- -Chuck ___ 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: user friendliest gui
These tasks may be trivial to all members on this list, but to a novice like myself, seems a bit overwhelming to be honest. As far as the touchscreen goes , thats a nice thought, but not in our budget. I'd prefer to spend ~300 dollars on the reciept style printer. Can someone point me in the direction to get this started? From: owner-freebsd-questi...@freevialbsd.org [owner-freebsd-questi...@freebsd.org] on behalf of Robert Bonomi [bon...@mail.r-bonomi.com] Sent: Tuesday, May 11, 2010 7:39 PM To: freebsd-questions@freebsd.org Subject: Re: user friendliest gui From andrewlylego...@gmail.com Tue May 11 16:46:38 2010 Date: Tue, 11 May 2010 16:46:50 -0500 Subject: Re: user friendliest gui From: Andrew Gould andrewlylego...@gmail.com To: Jean-Paul Natola jnat...@familycareintl.org Cc: Robert Bonomi bon...@mail.r-bonomi.com, freebsd-questions@freebsd.org freebsd-questions@freebsd.org On Tue, May 11, 2010 at 3:26 PM, Jean-Paul Natola jnat...@familycareintl.org wrote: -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questions= @freebsd.org] On Behalf Of Robert Bonomi Sent: Tuesday, May 11, 2010 3:07 PM To: freebsd-questions@freebsd.org Subject: RE: user friendliest gui Date: Tue, 11 May 2010 18:51:44 + Cc: FreeBSD Mailing List freebsd-questions@freebsd.org Subject: RE: user friendliest gui My users here, =A0no gui =3D machine is broken From: Eitan Adler [mailto:li...@eitanadler.com] Sent: Tuesday, May 11, 2010 2:48 PM To: Gary Gatten Cc: Jean-Paul Natola; FreeBSD Mailing List Subject: Re: user friendliest gui On Tue, May 11, 2010 at 9:36 PM, Gary Gatten ggat...@waddell.com wrote= : If that's all your doing on that system, maybe some restricted shell wit= h automagical scan script would be fine? =A0Just a thought. =A0Avoid GUI's= if you can! Why? For most users GUIs are far easier to understand and use. Why?? =A0Because, In this case, the GUI is entirely -un-necessary-. =A0Th= e user doesn't have to do anything other than stick the flash drive in the USB p= ort. The machine does everything else. =A0*WITHOUT* any further user intervent= ion required. Why bother with the GUI, when there is no inter-actiona required? Will it pop-up a message saying your drive is clean? If so then great TRIVIALLY easy to do. This is a =dedicated=, single-function, machine, one can have an app *already*running* that looks for syslog messages for a USB insertion, mounts the indicated device on, say '/mnt', initiates a virus-scan, *displays* the results, and unmounts the device. I'm going to advocate for a GUI here due to the possibility of a false positive during malware detection. The user should be given a choice as to whether the infected file is cleaned, deleted or left alone. If the user chooses to keep the file, the user should also be able to store the scan log onto the usb drive. (Users should also be able to decide that no log will be written to the drive.) These things will require interaction with the user. I favor a 'receipt' printer -- one of the little ones that uses adding-machine size paper, like ATM machines have. Print the USB device ID, a timestamp, the status (clean vs. infected), and if infected, a simple summary of how many infections of what type(s) were detected. _maybe_ list the first few infected files. OP _did_ 'spec' that this was to be a malware DETECTION 'scanning' system, not a removal/repair installation. Reading between the lines, I gatther that this is to be a choke-point/ validation service, and *only* devices that pass through it as 'uninfected' will be allowed to be used on other machines on thepremises. That the function of this box is to protect the other internal boxes, _not_ to disinfect infected USB devices. There is also the possibility that the OP will want to add related, optional services later. One example might be the option to choose whether the usb drive is scanned or completely erased by overwriting the drive with zeros. I wouldn't want the *LIABILITY* for doing =that=. Another good use for the GUI, as scanning an 8GB or 32GB usb drive may take some time, is to present a slideshow to the user about computer security or, perhaps, an introduction to the wonderful operating system that is running on the computer. One can do _all_ of that without any need for a GUI. All it takes is a little creativity in the programming. In many ways, the 'ideal' UI _hardware_ for this kind of an application is a _touch_screen_. *IF*and*when* you want to add additional features that require interactivity. The application itself needs use nothing more than color 'curses' (or equivalent) to provide a sufficiently 'user-friendly'
RE: user friendliest gui
On Wed, 12 May 2010, Jean-Paul Natola wrote: These tasks may be trivial to all members on this list, but to a novice like myself, seems a bit overwhelming to be honest. As far as the touchscreen goes , thats a nice thought, but not in our budget. I'd prefer to spend ~300 dollars on the reciept style printer. Can someone point me in the direction to get this started? [Please, please stop top-posting and full-quoting. It makes replying to your posts more difficult.] What input do you need from the user? They connect the device, it scans and shows results, they disconnect. No need for a touchscreen, or even a normal mouse and keyboard. Do you need printed reports? If so, use a standard printer, possibly one that's already on your network. As for directions: Use your choice of programming language to write a program that will call file(1) to determine filesystem, mount the device, virus scan, and unmount the device. Display prompts and results with dialog(1). Print results if desired. Configure devd.conf(5) to detect USB mass storage device connect and run the program. References: file(1), dialog(1), devd.conf(5), mount_msdosfs(8), mount_ntfs(8), security/clamav[-devel] -Warren Block * Rapid City, South Dakota USA ___ 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: Problem with Custom Kernel
On 5/11/10, Heshmat Ismail real_precious_st...@yahoo.com wrote: Dear Sir, My name is Heshmat Ismail.The output of uname-a is:- FreeBSD 8.0-RELEASE FreeBSD 8.0-RELEASE #12: Tue May 11 11:05:22 UTC 2010 heshmat@:/usr/obj/usr/src/sys/MYKERNEL i386 After I have built and installed my custom kernel (MYKERNEL),i installed xorg and ran the command startx but i got: couldn't create cookie.What could be the problem with MYKERNEL? my kernel configuration file is attached with this message. Thanks, Heshmat Ismail An XORG cookie is dealing with X authority, not with a kernel config. Make sure all parts of xorg are installed. Give us the scenario on what you do after login with all your commands leading up to this error. ___ 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
Odd routing issue...
Running: FreeBSD caduceus.wingfoot.org 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #42: Fri May 7 19:22:48 EDT 2010 r...@caduceus.wingfoot.org:/usr/obj/usr/src/sys/SANDALS amd64 I'm getting a route added upon reboot with the hostname of the box, going to lo0. It's preventing things like, pinging itself. I can manually delete the route, but.. where is it being set to begin with?! Internet: DestinationGatewayFlagsRefs Use Netif Expire defaultip-66-80-251-65.ny UGS17 50 nfe0 66.80.251.64/26link#1 U 00 nfe0 caduceus link#1 UHS 07lo0 (much snippage) localhost link#2 UH 00lo0 Nothing's changed in my /etc/rc.conf from when I was running 7.2-RELEASE... This behavior didn't happen with 7.2. And, I don't see anything in /usr/src/UPDATING that seems relevant (unless, naturally, I'm missing something). My google-fu keeps bringing me to the handbook, but I don't see anything useful in there that might apply. If I restart netif, the mysterious caduceus route pops up again. If someone can point me in the right direction, I'd really appreciate it. Thanks in advance! Best, --Glenn ___ 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: Odd routing issue...
On Wednesday 12 of May 2010 06:07, Glenn Sieb wrote: I'm getting a route added upon reboot with the hostname of the box, going to lo0. It's preventing things like, pinging itself. I can manually delete the route, but.. where is it being set to begin with?! well, that behaviour is what i would expect. After all, the machine knows that to ping its own ip, it has to use the lo0 interface. It just resolves your ip with the hostname of the machine. So as far as i see, this is the intended behaviour. (You can use netstat -rn to see the actual ip and not hostnames.) If you can't ping localhost, i'd say that the problem lies elsewere. (firewalls probably) You can check with tcpdump to see what happens and your pings don't get a reply. -- Real programmers don't document. If it was hard to write, it should be hard to understand. signature.asc Description: This is a digitally signed message part.