Re: Copying memstick image to a USB (flash/thumb) drive
In message 5153a2fd.8020...@sneakertech.com, you wrote: Why exactly is the bs=10240 is there? Wouldn't the default of 512 do just as well? Modern systems can read and write far more than 512 bytes per operation. Sticking with 512 would work perfectly fine, but you'd be imposing an unnecessary bottleneck and the copy would be a lot slower overall. Whether 10K is optimal or not depends on the exact hardware you're messing with (it looks pretty low to me, I'd suggest more like 1M). I agree. And 10 kibibytes is probably quite a bit less than optimal. I have filed the following PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=177431 Thank you for your reply. Regards, rfg ___ 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: Copying memstick image to a USB (flash/thumb) drive
I have filed the following PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=177431 Er, don't take my word for law: I have *no* idea if 1M is a good idea for most systems, I'm not even sure if it's optimal for mine. I did a single test with three random values at different orders of magnitude and picked the fastest. I do think that 10k is probably way under the right value, but someone should do proper testing on a variety of hardware before changing all the docs. As for the conv=sync option, I'm not convinced it's necessary either way. I've dd'd zillions of images to various media over the years and have never specified a conv parameter and I've never had problems. I don't think modern systems really care what the end is padded with (provided nothing is corrupt of course). Someone with more experience would need to chime in on this. __ it has a certain smooth-brained appeal ___ 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: gettext problem in FreeBSD 8.3 system hosed
On Tue, Mar 26, 2013 at 06:53:11AM -0500, Antonio Olivares typed: Dear Sir, As bapt@ hints: try rebuilding binutils without NLS. -- -- I have binutils installed without NLS. I ran make deinstall reinstall inside /usr/ports/devel/binutils/ and it deinstalls and it fails to reinstall because it depends on gettext :( Now I guess I am really in trouble. Don't do make deinstall reinstall! Run make deinstall, than make config, disable the NLS option and then run make install. Ruben ___ 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: Copying memstick image to a USB (flash/thumb) drive
On Thu, 28 Mar 2013 04:27:43 -0400 Quartz qua...@sneakertech.com wrote: I have filed the following PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=177431 Er, don't take my word for law: I have *no* idea if 1M is a good idea for most systems, I'm not even sure if it's optimal for mine. I did a single test with three random values at different orders of magnitude and picked the fastest. I do think that 10k is probably way under the right value, but someone should do proper testing on a variety of hardware before changing all the docs. The 1M will work fine, it's way bigger than any physical write. In theory the performance should max out when the block size matches the maximum physical write size of the controller (often 64K), but that assumes zero read latency on the data feed so in practice larger block sizes help, but except for things like tape they don't help much once you pass the device/controller max write block size. -- Steve O'Hara-Smith st...@sohara.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: Copying memstick image to a USB (flash/thumb) drive
In message 5153feff.4090...@sneakertech.com, you wrote: I have filed the following PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=177431 Er, don't take my word for law: I didn't. I won't. I have *no* idea if 1M is a good idea Any size which is an exact multiple of the physical block size for the target device should provide performance which is as good as it gets. I googled around and read various comments. Some of these kinds of devices have a physical block size of 64KiB. Some have 128KiB. Some have 256KiB. Some have 1MiB. For all of these devices, seting blocksize to 1MiB will provide optimal performance with at worst only a _relatively_ tiny waste of space. As for the conv=sync option, I'm not convinced it's necessary either way. Neither am I, but I would rather have it there, than not and take chances. It won't hurt anything, and it appears that it _may_ perhaps help. I don't think modern systems really care what the end is padded with That wasn't my concern. My concern is that I personally do not know what the officially defined semantics are in cases where dd is asked to copy data in a specific input block size _and_ the actual data available from the input device doesn't perfectly fill up that last block. It is possible, I would guess, that dd may notice the EOF occuring before it has filled up an entire input buffer, and then just quit at that point, _without_ writing the partial last block to the output device. It seems to me that conv=sync is cheap insurance against this possibility. I have always been a belt and suspenders kind of guy. Regards, rfg ___ 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
gettext-0.18.1.1_1 fails to build under jail
this port upgrades fine on the host system but not under a jail.. FreeBSD 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 config.status: executing depfiles commands sed: 2: s/^include inclu ...: unterminated substitute pattern sed: 1: s/$(DEPDIR)/.deps .deps/g : unescaped newline inside substitute pattern snip ./localename.c: In function '_nl_locale_name_thread_unsafe': ./localename.c:2607: error: 'locale_t' undeclared (first use in this function) ./localename.c:2607: error: (Each undeclared identifier is reported only once ./localename.c:2607: error: for each function it appears in.) ./localename.c:2607: error: expected ';' before 'thread_locale' ./localename.c:2608: error: 'thread_locale' undeclared (first use in this function) ./localename.c:2608: error: 'LC_GLOBAL_LOCALE' undeclared (first use in this function) *** Error code 1 Stop in /var/ports/basejail/usr/ports/devel/gettext/work/gettext-0.18.1.1/gettext-runtime/intl. *** Error code 1 Stop in /var/ports/basejail/usr/ports/devel/gettext/work/gettext-0.18.1.1/gettext-runtime. *** Error code 1 Stop in /var/ports/basejail/usr/ports/devel/gettext/work/gettext-0.18.1.1/gettext-runtime. *** Error code 1 Stop in /var/ports/basejail/usr/ports/devel/gettext/work/gettext-0.18.1.1. *** Error code 1 Stop in /basejail/usr/ports/devel/gettext. -- - Paul Macdonald IFDNRG Ltd Web and video hosting - t: 0131 5548070 m: 07970339546 e: p...@ifdnrg.com w: http://www.ifdnrg.com - IFDNRG 40 Maritime Street Edinburgh EH6 6SA High Specification Dedicated Servers from £100.00pm ___ 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: Upgrade devel/py-setuptools
On 27/03/2013 17:43, Volodymyr Kostyrko wrote: 2013-03-27 18:37, Loic Capdeville wrote: import sys; sys.__plen = len(sys.path) ../setuptools-0.6c11-py2.7.egg import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new) Looks like py-distribute is not installed at all. what was the outcome of portupgrade -fo devel/py-distribute devel/py-setuptools? Can you try running that again? It hasn't printed anything since the first time I tried to run it... and still print nothing. So here is a main problem. If it prints nothing it doesn't work. Do you have portupgrade or portmaster installed? Did it yield at least one line? Some errors? If it doesn't that's surely a sign that something is going wrong. I use portupgrade regularly to upgrade my ports, and usually everything goes right. If fails only with that particular operation (or these portupgrade options) Do I have to install devel/py-distribute separately, or should the portupgrade -fo command do everything itself (uninstall py-setuptools and install py-distribute) ? This command should forcefully deintsall second package and replace it with first one. I'm not using portupgrade, I switched to portmaster long time ago so I can't help you with it. If you want to make the switch by hand I think you should: pkg_delete -f py27-setuptools-0.6c11_3 # now write down the whole list of dependent packages cd /usr/ports/devel/py-distribute ; make install clean portupgrade -f ..list of packages that require setuptools.. If finally did it by hand. Note: upgrading packages that require setuptools isn't necessary, since py-distribute is backward compatible with py-setuptools. Thanks for your help. Loic ___ 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: Copying memstick image to a USB (flash/thumb) drive
On 03/28/13 10:32, Ronald F. Guilmette wrote: In message 5153feff.4090...@sneakertech.com, you wrote: I have filed the following PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=177431 Er, don't take my word for law: I didn't. I won't. I have *no* idea if 1M is a good idea Any size which is an exact multiple of the physical block size for the target device should provide performance which is as good as it gets. I googled around and read various comments. Some of these kinds of devices have a physical block size of 64KiB. Some have 128KiB. Some have 256KiB. Some have 1MiB. For all of these devices, seting blocksize to 1MiB will provide optimal performance with at worst only a _relatively_ tiny waste of space. As for the conv=sync option, I'm not convinced it's necessary either way. Neither am I, but I would rather have it there, than not and take chances. It won't hurt anything, and it appears that it _may_ perhaps help. I don't think modern systems really care what the end is padded with That wasn't my concern. My concern is that I personally do not know what the officially defined semantics are in cases where dd is asked to copy data in a specific input block size _and_ the actual data available from the input device doesn't perfectly fill up that last block. It is possible, I would guess, that dd may notice the EOF occuring before it has filled up an entire input buffer, and then just quit at that point, _without_ writing the partial last block to the output device. It will attempt to write a short block. E.g. arthur@fileserver[2] ls -l t.pdf -rw-rw-r-- 1 arthur arthur 233812 Feb 18 12:26 t.pdf arthur@fileserver[2] dd if=t.pdf of=/dev/null bs=1k 228+1 records in 228+1 records out 233812 bytes transferred in 0.036731 secs (6365521 bytes/sec) Those +1 records are the final short block. It seems to me that conv=sync is cheap insurance against this possibility. It's used as an insurance against output devices which have a fixed (or in the case of tape, a minimum) block size. If the short block is not an exact integer multiple of the device block size then the final write will fail. conv=sync and a bs (or obs) that's a strict multiple of block size prevents the problem. That's exactly your use case. I have always been a belt and suspenders kind of guy. Show me the experienced sysadmin who isn't. Invariably learnt the hard 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
databases/mysql55 to databases/mariadb
Hello list, Is there a make.conf option that I can use to replace mysql55-[server,client] with mariadb55-[server,client] or i need to use for example pkg set -o databases/mysql55-client:databases/mariadb55-client? What happens if I want to use one port with mysql dependency and another one with mariadb as dependency? This is just a theoretical question, I don't have such a requirement, yet. All this is on 9.1-RELEASE but I think applies to different versions too. Thank you, Andrei Brezan ___ 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: gettext-0.18.1.1_1 fails to build under jail
Paul Macdonald wrote on 28.03.2013 11:46: this port upgrades fine on the host system but not under a jail.. FreeBSD 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 config.status: executing depfiles commands sed: 2: s/^include inclu ...: unterminated substitute pattern sed: 1: s/$(DEPDIR)/.deps .deps/g : unescaped newline inside substitute pattern snip I've been getting this message, also. For quite a while, iirc, in jails and on hosts. ./localename.c: In function '_nl_locale_name_thread_unsafe': ./localename.c:2607: error: 'locale_t' undeclared (first use in this function) ./localename.c:2607: error: (Each undeclared identifier is reported only once ./localename.c:2607: error: for each function it appears in.) ./localename.c:2607: error: expected ';' before 'thread_locale' ./localename.c:2608: error: 'thread_locale' undeclared (first use in this function) ./localename.c:2608: error: 'LC_GLOBAL_LOCALE' undeclared (first use in this function) *** Error code 1 Stop in /var/ports/basejail/usr/ports/devel/gettext/work/gettext-0.18.1.1/gettext-runtime/intl. *** Error code 1 Stop in /var/ports/basejail/usr/ports/devel/gettext/work/gettext-0.18.1.1/gettext-runtime. *** Error code 1 Stop in /var/ports/basejail/usr/ports/devel/gettext/work/gettext-0.18.1.1/gettext-runtime. *** Error code 1 Stop in /var/ports/basejail/usr/ports/devel/gettext/work/gettext-0.18.1.1. *** Error code 1 Stop in /basejail/usr/ports/devel/gettext. I didn't run into this, but seeing, that you're also using ezjail, maybe this thread in the FreeBSD forums can provide hints: http://forums.freebsd.org/showthread.php?t=38558 MfG CoCo ___ 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: Release 9.1 and 3G usb Modem
Well, after trying so many things with no luck, i will give a try on ubuntu. I must say all the support that give to me Odhiambo was excellent. Thanks to all of you, thanks Odhiambo for all your effort. Lets see what happen. Saludos / Regards Leonardo Santagostini http://ar.linkedin.com/in/santagostini 2013/3/27 Matthias Apitz g...@unixarea.de El día Wednesday, March 27, 2013 a las 05:09:22PM -0300, Leonardo Santagostini escribió: Hello Odhiambo . The 3G model is Huawei E173 with Movistar Argentina. Ive tried but i cant see in windows de USB port to have a serial link :( Saludos / Regards Leonardo Santagostini Hi, Pls check if this E173 card is supported by the /sys/dev/usb/serial/u3g.c driver; figure out the vendorID and productID of this card and check if it is in the driver to attach to; I own an E220 and an E1750 Huawei card, both are just working fine without any tricks. matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: g...@unixarea.de | - Never being an iSlave WWW: http://www.unixarea.de/ | - No proprietary attachments, no HTML/RTF in E-mail phone: +49-170-4527211 | - Respect for open standards ___ 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: software support
On 26-03-2013, Tue [10:10:46], Oblitey, Edmund wrote: I am trying to install FreeBSD on a E7520/6300ESB chipset. Program freezes during probing devices. It always restart when it gets to the atkbd0. Want to know if u can help me on it. Sometimes it helps to disable ACPI support in the loader menu, and enable debugging. You could also try to reset your system's BIOS settings, if you know what you're doing of course. ;) -- Dmitry Sarkisov -\ Powered by ---o -/ FreeBSD ___ 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: databases/mysql55 to databases/mariadb
Andrei Brezan wrote: Hello list, Is there a make.conf option that I can use to replace mysql55-[server,client] with mariadb55-[server,client] or i need to use for example pkg set -o databases/mysql55-client:databases/mariadb55-client? What happens if I want to use one port with mysql dependency and another one with mariadb as dependency? This is just a theoretical question, I don't have such a requirement, yet. All this is on 9.1-RELEASE but I think applies to different versions too. Look at: /usr/ports/Mk/bsd.database.mk I only perused it briefly, but I think you want something such as MYSQL_VER=55m. The 'm', or 'p' suffix switches to either MariaDB or PostgreSQL if I understand correctly. At any rate, this is the file that controls this. If it doesn't work (possibly I've got it wrong), I'd suggest a PR to get it added in. -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
FreeBSD on VMware ESXi with PCI Pass Through enabled
Just curious if anyone has any good recommendations of settings for running FreeBSD under VMware ESXi 5.1 with PCI(e) pass through enabled. I have been doing some initial testing with a new motherboard processor and RAM. That I am hoping to be able to run 3 Servers on. The intended virtual machines for the setup. 1.) A FreeBSD system to run Bacula, which will require PCI pass through for an eSATA drive dock so backups volumes can be Rotated. 2.) A FreeBSD system to host my web/email server, no pass through required. 3.) A FreeNAS box host SMB shares and iSCSI, will use a PCI pass through to allow direct access to 4 Hard drives, attached to a separate SATA controller. Current Hardware Information: eSATA Controller for backups: Koutech IO-PESA111 PCI Express SATA II (3.0Gb/s) - uses Silicon Image 3132 Chipset System Board: ASUS F2A85-M PRO FM2 AMD A85X (Hudson D4) CPU: AMD A10-5800K Trinity 3.8GHz (4.2GHz Turbo) Socket FM2 100W Quad-Core Desktop APU (CPU + GPU) RAM: CORSAIR Vengeance 16GB (4 x 4GB) 240-Pin DDR3 SDRAM DDR3 1600 (PC3 12800) I still need to add an additional controller SATA controller for the FreeNAS VM, but so far testing with a new machine built for the Bacula install has only been consistently able to trigger a complete core dump and crash of the ESXi host machine, sometimes at boot of the VM with PCI pass through, sometimes not until a load has been applied to the external hard drive on the Pass through SATA controller. I have tried the following things to fix this that I have come across while searching for help. Added the following to /boot/loader.conf: hw.pci.enable_msi=0 hw.pci.enable_msix=0 Added the following to the Vmware Virtual Machine Configuration: pciPassthru0.msiEnabled = FALSE -- Thanks, Dean E. Weimer http://www.dweimer.net/ ___ 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
[no subject]
I have a new computer with windows 8, which I hate with a passion. I don't play music and I don't do a lot of pictures. Basically I only search, some EBay and games. Can I replace win8 with BSD? ___ 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:
On 28 March 2013 18:03, Jeff Belyea jbely...@gmail.com wrote: I have a new computer with windows 8, which I hate with a passion. I don't play music and I don't do a lot of pictures. Basically I only search, some EBay and games. Can I replace win8 with BSD? Games? -- -- ___ 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:
I have a new computer with windows 8, which I hate with a passion. I don't play music and I don't do a lot of pictures. Basically I only search, some EBay and games. Can I replace win8 with BSD? [pc/free]bsd *can* be used as a desktop system, but it's really aimed more at servers... a lot of common desktopy things aren't covered well. Based on the wording of your question it sounds like you're new to non-windows systems. I'd suggest you look into some flavor of linux instead (eg; ubuntu or mint): they'll be geared more towards what you'd be looking for I think. __ it has a certain smooth-brained appeal ___ 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
Straw_Pellets
R A P S O O D I A OU Reg Nr.11460101, Tel +372 56 617 695 , Fax +372 6070148 , i...@rapsoodia.ee Suur-Sojamae poik 9 , Tallinn , 11415 , Estonia --- Gentlemen, Our company Rapsoodia OU from Estonia sells a straw pellets in the 1000 kg big-bag and 16 kg plastic bags . If you are interested in cooperation with us , please report on the your wishes and quantities . The price-135 EUR /per tonne in 1000 kg bags on the our warehouse in Tallinn. 145 EUR /per tonne in 16 kg plastic bags . Also is possible the organisation of delivery to the buyer . We hope to hear from you soon. The best regards, Sergey Bogomolov Sales Manager of Rapsoodia OU ___ 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:
I have a new computer with windows 8, which I hate with a passion. I don't play music and I don't do a lot of pictures. Basically I only search, some EBay and games. Can I replace win8 with BSD? [pc/free]bsd *can* be used as a desktop system, but it's really aimed more at servers... a lot of common desktopy things aren't covered well. Based on the wording of your question it sounds like you're new to non-windows systems. I'd suggest you look into some flavor of linux instead (eg; ubuntu or mint): they'll be geared more towards what you'd be looking for I think. ~~~ Why not PC-BSD? Easy to install and has a great looking and functional desktop. http://www.pcbsd.org/ Best regards, James ___ 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:
On 3/28/13 7:20 PM, ill...@gmail.com wrote: On 28 March 2013 18:03, Jeff Belyea jbely...@gmail.com wrote: I have a new computer with windows 8, which I hate with a passion. I don't play music and I don't do a lot of pictures. Basically I only search, some EBay and games. Can I replace win8 with BSD? Games? Games? Over 1100 of 'em!: http://www.freshports.org/games/ :-) P ___ 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:
Waitman Gobble San Jose California USA On Mar 28, 2013 3:03 PM, Jeff Belyea jbely...@gmail.com wrote: I have a new computer with windows 8, which I hate with a passion. I don't play music and I don't do a lot of pictures. Basically I only search, some EBay and games. Can I replace win8 with BSD? yes, but first snoop around bios admin screens for uefi settings (might not actually say uefi but something else, and might be in the back 40 so the motherboard manual might help). also might be good to figure out if someone could possibly decide that your machine qualifies as a mobile device, disrupting its planned operation could cause an issue) Waitman Gobble San Jose California ___ 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: Copying memstick image to a USB (flash/thumb) drive
In message 51543b7a.4030...@qeng-ho.org, Arthur Chance free...@qeng-ho.org wrote: On 03/28/13 10:32, Ronald F. Guilmette wrote: It is possible, I would guess, that dd may notice the EOF occuring before it has filled up an entire input buffer, and then just quit at that point, _without_ writing the partial last block to the output device. It will attempt to write a short block. E.g. arthur@fileserver[2] ls -l t.pdf -rw-rw-r-- 1 arthur arthur 233812 Feb 18 12:26 t.pdf arthur@fileserver[2] dd if=t.pdf of=/dev/null bs=1k 228+1 records in 228+1 records out 233812 bytes transferred in 0.036731 secs (6365521 bytes/sec) Those +1 records are the final short block. OK. Thanks. That's definitely good to know. I wonder if this behavior is documented in the man page. (It certainly should be, if it isn't already.) It seems to me that conv=sync is cheap insurance against this possibility. It's used as an insurance against output devices which have a fixed (or in the case of tape, a minimum) block size. If the short block is not an exact integer multiple of the device block size then the final write will fail. Right. I understand. conv=sync and a bs (or obs) that's a strict multiple of block size prevents the problem. That's exactly your use case. Right. Regards, rfg ___ 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
Where's the metadata?
So, um, I downloaded the memstick.img file for FreeBSD 9.1-RELEASE and then I dd'ed that to my 16GB ADATA USB flash thingy. After that, it worked just fine, and as expected. No problems. I could boot FreeBSD from it. Now however, I need to use that USB stick for something else, and I want to reformat the thing as a single NTFS file system using, one of my Windows systems to do that (re-)format. The problem is that now, the Windows system seems to think that the size of the thing is only something like 24.2 Megabytes... *not* the actual size, which is vastly larger (16GB). So I take the thing back and plug it in again to my FreeBSD system and I'm just about ready to simply dd a whole bunch of /dev/zero to the thing... figuring that this will probably cure it of its current drain bamage... but then at the last second I hesitate and decide to actually try to _understand_ what's going on here, really, for a change. So now I'm reading the man page for glabel(8) and I figure that this may help me to understand how the heck a 16GB USB flash thing magically becomes a (much smaller) 24.4 MB flash thingy. And I immediately spot the dump option. naturally, based on the name and the (rather terse) description in the man page, and I figure that this has got to be be useful. So I try it: # glabel dump da0 Can't read metadata from da0: Invalid argument. glabel: Not fully done. # glabel dump /dev/da0 Can't read metadata from /dev/da0: Invalid argument. glabel: Not fully done. Now, I say to you all, WTF? Why don't this work? Why don't it show me anything useful? Also, what exactly is this fully done gibberish? Is this like a souffle? If I come back in an hour, will it be fully done? Regards, rfg P.S. Yes, I _did_ plug the thing in firmly. It's there alright. # ls -l /dev/da* crw-r- 1 root operator0, 169 Mar 28 15:59 /dev/da0 crw-r- 1 root operator0, 170 Mar 28 15:59 /dev/da0a P.P.S. So what _is_ the best tool for just simply taking some sort of drive... like a USB flash drive, or any other kind of drive for that matter... and returning it to it's actual size? ___ 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: Where's the metadata?
On 29/03/2013 12:29 PM, Ronald F. Guilmette wrote: So what_is_ the best tool for just simply taking some sort of drive... like a USB flash drive, or any other kind of drive for that matter... and returning it to it's actual size? Did you try using fdisk? It is probably a standard MBR boot record, not a GEOM one. Just a thought... Danny ___ 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: Where's the metadata?
The problem is that now, the Windows system seems to think that the size of the thing is only something like 24.2 Megabytes... *not* the actual size, which is vastly larger (16GB). but then at the last second I hesitate and decide to actually try to _understand_ what's going on here, really, for a change. By default, when looking with disks in explorer, windows will only mess with partitions (slices). In this case, your usb drive has a single partition just big enough to hold the installer, with the remainder of the drive being dead space. You need to delete this partition and create a new one that spans the entire size of the drive. Unfortunately, windows doesn't make this as easy as it should be. You'll need to open your control panel - administrative tools - computer management - disk management So now I'm reading the man page for glabel(8) glabel is totally not related to your problem at all. glabel is for when you want to refer to disks via a user created identifier string when you can't rely on the device id. P.P.S. So what _is_ the best tool for just simply taking some sort of drive... like a USB flash drive, or any other kind of drive for that matter... and returning it to it's actual size? Use a real partitioning program as opposed to the crap built into the windows right-click menu. On freebsd, this would be 'gpart'. __ it has a certain smooth-brained appeal ___ 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: Where's the metadata?
Did you try using fdisk? Don't use fdisk, it's waay out of date, doesn't work with a lot of modern large drives, and has horribly arcane syntax. Modern versions of gpart support MBR, so there's basically no reason to suffer through fdisk anymore. __ it has a certain smooth-brained appeal ___ 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:
On 3/28/13 8:01 PM, James D. Parra wrote: I have a new computer with windows 8, which I hate with a passion. I don't play music and I don't do a lot of pictures. Basically I only search, some EBay and games. Can I replace win8 with BSD? [pc/free]bsd *can* be used as a desktop system, but it's really aimed more at servers... a lot of common desktopy things aren't covered well. Based on the wording of your question it sounds like you're new to non-windows systems. I'd suggest you look into some flavor of linux instead (eg; ubuntu or mint): they'll be geared more towards what you'd be looking for I think. ~~~ Why not PC-BSD? Easy to install and has a great looking and functional desktop. http://www.pcbsd.org/ Best regards, James ___ 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 +1 for PCBSD. I put together a PCBSD system for my sister who is not very technical and she likes it. It does everything she needs. She even prefers the version of Open Office to the MS version she uses at work. P ___ 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
external hdd
Hi there, If I'm sharing an external 1TB HDD with FreeBSD and OS-X (I wan to use Time Machine), what is the best file system to use? thx! Laszlo ___ 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: Where's the metadata?
use newfs_msdos in FreeBSD,then format it to NTFS in windows. I used this command solve the same problem. 2013/3/29 Ronald F. Guilmette r...@tristatelogic.com So, um, I downloaded the memstick.img file for FreeBSD 9.1-RELEASE and then I dd'ed that to my 16GB ADATA USB flash thingy. After that, it worked just fine, and as expected. No problems. I could boot FreeBSD from it. Now however, I need to use that USB stick for something else, and I want to reformat the thing as a single NTFS file system using, one of my Windows systems to do that (re-)format. The problem is that now, the Windows system seems to think that the size of the thing is only something like 24.2 Megabytes... *not* the actual size, which is vastly larger (16GB). So I take the thing back and plug it in again to my FreeBSD system and I'm just about ready to simply dd a whole bunch of /dev/zero to the thing... figuring that this will probably cure it of its current drain bamage... but then at the last second I hesitate and decide to actually try to _understand_ what's going on here, really, for a change. So now I'm reading the man page for glabel(8) and I figure that this may help me to understand how the heck a 16GB USB flash thing magically becomes a (much smaller) 24.4 MB flash thingy. And I immediately spot the dump option. naturally, based on the name and the (rather terse) description in the man page, and I figure that this has got to be be useful. So I try it: # glabel dump da0 Can't read metadata from da0: Invalid argument. glabel: Not fully done. # glabel dump /dev/da0 Can't read metadata from /dev/da0: Invalid argument. glabel: Not fully done. Now, I say to you all, WTF? Why don't this work? Why don't it show me anything useful? Also, what exactly is this fully done gibberish? Is this like a souffle? If I come back in an hour, will it be fully done? Regards, rfg P.S. Yes, I _did_ plug the thing in firmly. It's there alright. # ls -l /dev/da* crw-r- 1 root operator0, 169 Mar 28 15:59 /dev/da0 crw-r- 1 root operator0, 170 Mar 28 15:59 /dev/da0a P.P.S. So what _is_ the best tool for just simply taking some sort of drive... like a USB flash drive, or any other kind of drive for that matter... and returning it to it's actual size? ___ 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 -- Jov blog: http:amutu.com/blog http://amutu.com/blog ___ 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: Where's the metadata?
use newfs_msdos /dev/da0 in FreeBSD,then format it to NTFS in windows. I used this command solve the same problem. 2013/3/29 Ronald F. Guilmette r...@tristatelogic.com So, um, I downloaded the memstick.img file for FreeBSD 9.1-RELEASE and then I dd'ed that to my 16GB ADATA USB flash thingy. After that, it worked just fine, and as expected. No problems. I could boot FreeBSD from it. Now however, I need to use that USB stick for something else, and I want to reformat the thing as a single NTFS file system using, one of my Windows systems to do that (re-)format. The problem is that now, the Windows system seems to think that the size of the thing is only something like 24.2 Megabytes... *not* the actual size, which is vastly larger (16GB). So I take the thing back and plug it in again to my FreeBSD system and I'm just about ready to simply dd a whole bunch of /dev/zero to the thing... figuring that this will probably cure it of its current drain bamage... but then at the last second I hesitate and decide to actually try to _understand_ what's going on here, really, for a change. So now I'm reading the man page for glabel(8) and I figure that this may help me to understand how the heck a 16GB USB flash thing magically becomes a (much smaller) 24.4 MB flash thingy. And I immediately spot the dump option. naturally, based on the name and the (rather terse) description in the man page, and I figure that this has got to be be useful. So I try it: # glabel dump da0 Can't read metadata from da0: Invalid argument. glabel: Not fully done. # glabel dump /dev/da0 Can't read metadata from /dev/da0: Invalid argument. glabel: Not fully done. Now, I say to you all, WTF? Why don't this work? Why don't it show me anything useful? Also, what exactly is this fully done gibberish? Is this like a souffle? If I come back in an hour, will it be fully done? Regards, rfg P.S. Yes, I _did_ plug the thing in firmly. It's there alright. # ls -l /dev/da* crw-r- 1 root operator0, 169 Mar 28 15:59 /dev/da0 crw-r- 1 root operator0, 170 Mar 28 15:59 /dev/da0a P.P.S. So what _is_ the best tool for just simply taking some sort of drive... like a USB flash drive, or any other kind of drive for that matter... and returning it to it's actual size? ___ 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 -- Jov blog: http:amutu.com/blog http://amutu.com/blog ___ 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