Re: anoncvs password

2012-07-08 Thread Matthias Apitz
El día Sunday, July 08, 2012 a las 02:59:24AM -0700, per...@pluto.rain.com escribió: What is one supposed to enter when anoncvs prompts for a password? I have tried: * my email address, as I would use for anon FTP * ftp, as was once conventionally used for anon FTP * cvs (same idea, but

df(1) and missing space in partition /dev/ada0p2

2012-07-08 Thread Matthias Apitz
Hello, I hace setup a fresh 10.0-CURRENT, this time using gpart(8) and I do not understand why the sum of Used and Avail does not equal to the full space of /dev/ada0p2: $ uname -a FreeBSD aurora-clone.Sisis.de 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r235646M: Thu Jul 5 09:38:00 UTC 2012

Re: df(1) and missing space in partition /dev/ada0p2

2012-07-08 Thread Robert Bonomi
From owner-freebsd-questi...@freebsd.org Sun Jul 8 01:46:23 2012 Date: Sun, 8 Jul 2012 08:44:51 +0200 From: Matthias Apitz g...@unixarea.de To: freebsd-questions@freebsd.org Subject: df(1) and missing space in partition /dev/ada0p2 Hello, I hace setup a fresh 10.0-CURRENT, this time

Re: df(1) and missing space in partition /dev/ada0p2

2012-07-08 Thread Matthias Apitz
El día Sunday, July 08, 2012 a las 02:30:40AM -0500, Robert Bonomi escribió: Hello, I hace setup a fresh 10.0-CURRENT, this time using gpart(8) and I do not understand why the sum of Used and Avail does not equal to the full space of /dev/ada0p2: A traditional UFS filesstem

Re: df(1) and missing space in partition /dev/ada0p2

2012-07-08 Thread Wojciech Puchar
FreeBSD aurora-clone.Sisis.de 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r235646M: Thu Jul 5 09:38:00 UTC 2012 r...@aurora-clone.sisis.de:/usr/obj/usr/src/sys/GENERIC i386 $ df -k Filesystem 1024-blocks UsedAvail Capacity Mounted on /dev/ada0p274130588 25389436 4281070837%/

Re: Format a USB flash drive using gpart

2012-07-08 Thread Wojciech Puchar
Magdeburg, Germany I have used gpart to partition a USB flash drive into FreeBSD boot partition, root partition and swap partition. making swap partition on USB pendrive is at least stupid. if you won't swap at all - wasted space. If you will it would be so slow and wear USB pendrive so

Re: df(1) and missing space in partition /dev/ada0p2

2012-07-08 Thread Matthias Apitz
El día Sunday, July 08, 2012 a las 09:47:33AM +0200, Wojciech Puchar escribió: FreeBSD aurora-clone.Sisis.de 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r235646M: Thu Jul 5 09:38:00 UTC 2012 r...@aurora-clone.sisis.de:/usr/obj/usr/src/sys/GENERIC i386 $ df -k Filesystem 1024-blocks

Re: Format a USB flash drive using gpart

2012-07-08 Thread Polytropon
On Sat, 07 Jul 2012 17:45:17 -0400, Thomas Mueller wrote: Does a USB flash drive also work as a giant floppy, no partitions? Can you make a flash drive bootable when nonpartitioned and formatted that way? Yes, that's exactly what my advice was aiming to, but let's try to keep the terminology

Re: Format a USB flash drive using gpart

2012-07-08 Thread Polytropon
On Sun, 8 Jul 2012 09:49:30 +0200 (CEST), Wojciech Puchar wrote: Magdeburg, Germany I have used gpart to partition a USB flash drive into FreeBSD boot partition, root partition and swap partition. making swap partition on USB pendrive is at least stupid. if you won't swap at all -

Re: Format a USB flash drive using gpart

2012-07-08 Thread Carmel
On Sat, 7 Jul 2012 20:36:36 -0600 (MDT) Warren Block articulated: On Sat, 7 Jul 2012, Carmel wrote: This is probably a dumb question, but does gpart even work on a USB flash drive? I have not been able to figure out how to do it. I want to erase the entire drive and format it for a

Re: Format a USB flash drive using gpart

2012-07-08 Thread Polytropon
On Sun, 8 Jul 2012 07:41:59 -0400, Carmel wrote: Perhaps, and I know that this will offend some purists, but a nice GUI that would do what your instructions detail above would be helpful. There is no way that I am going to remember all of those instructions in six months time. Just my 2¢. Why

Re: Format a USB flash drive using gpart

2012-07-08 Thread Warren Block
On Sun, 8 Jul 2012, Carmel wrote: Yes, gpart will work with pretty much any storage device. If you want the drive to be bootable, it needs boot blocks. This is easier with GPT than MBR. For an 8G drive: # gpart create -s gpt da0 # gpart add -t freebsd-boot -s 512k da0 # gpart bootcode -b

Re: Format a USB flash drive using gpart

2012-07-08 Thread Wojciech Puchar
Interestingly enough, I searched through the man pages and FreeBSD help but never came across anything that specifically addressed flash drive. because there is no need to. For freebsd it is just a storage device. for FreeBSD only i recommend using bsdlabel, not gpart, for multiOS using

Re: Format a USB flash drive using gpart

2012-07-08 Thread Wojciech Puchar
with using the commands provided by Warren, you will be fine every time. If you practice them regularly, you will remember them, and if you do so, you'll surely write a script that after doing man gpart he will understand it, so remembering is easy.

Working openvpn/pf configuration broken on upgrade from 8.3 to 9.0

2012-07-08 Thread Jeff Hedges
Hi. I'm running a small VPN for ~10 office users. Upon upgrading the machine from 8.3 to 9.0 yesterday, it became impossible for users to connect to the VPN. I've tried everything I can think of to track down the problem and it seems (although I may be mistaken) to be something to do with pf

Re: Format a USB flash drive using gpart

2012-07-08 Thread Polytropon
On Sun, 8 Jul 2012 14:16:31 +0200 (CEST), Wojciech Puchar wrote: Perhaps, and I know that this will offend some purists, but a nice GUI not about purism but (lack of) usability. GUI interfaces never helps, only hides real things and prevent understanding anything. You maybe understand

Re: Format a USB flash drive using gpart

2012-07-08 Thread Bruce Cran
On 08/07/2012 13:30, Polytropon wrote: With few routine, tasks are performed more natural using the desired CLI tools. You don't go Now I have to remember which command to format the disk, you just format the disk, which means spaking to newfs. The more often you do it, the more obvious the

Re: Format a USB flash drive using gpart

2012-07-08 Thread Polytropon
On Sun, 08 Jul 2012 14:27:05 +0100, Bruce Cran wrote: On 08/07/2012 13:30, Polytropon wrote: With few routine, tasks are performed more natural using the desired CLI tools. You don't go Now I have to remember which command to format the disk, you just format the disk, which means spaking

Re: Format a USB flash drive using gpart

2012-07-08 Thread Ian Smith
In freebsd-questions Digest, Vol 422, Issue 10, Message: 29 On Sun, 8 Jul 2012 07:41:59 -0400 Carmel carmel...@hotmail.com wrote: On Sat, 7 Jul 2012 20:36:36 -0600 (MDT) Warren Block articulated: On Sat, 7 Jul 2012, Carmel wrote: This is probably a dumb question, but does gpart

nanobsd: UsbDevice broken?

2012-07-08 Thread Reinhard Haller
Hi, I'm trying to get nanobsd working on an USB-stick. Encountered the following problem in _.di (tail): Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/md0s1a947643 236357 63547527%4712 1176864% /usr/obj/nanobsd.NANOBSD/_.mnt Generating

Re: anoncvs password

2012-07-08 Thread perryh
Matthias Apitz g...@unixarea.de wrote: ... one should use today better svn, not cvs; Does svn work for (parts of) the ports collection, and is there a writeup somewhere on how to use it? It doesn't seem to have found its way into http://www.freebsd.org/doc/handbook/mirrors.html

for loops with /bin/sh on command line.

2012-07-08 Thread Vincent Hoffman
I'm sure I'm being dim, but why cant I do a for loop on the command line using /bin/sh ? am I suffering from too much use of bash and as such shouldnt expect it to work? banshee# for foo in 1 2 3 ; do echo $foo ; done for: Command not found. foo: Undefined variable. banshee# echo 'for foo in 1 2

Re: for loops with /bin/sh on command line.

2012-07-08 Thread Wojciech Puchar
am I suffering from too much use of bash and as such shouldnt expect it to work? maybe. i actually use bash for script. banshee# for foo in 1 2 3 ; do echo $foo ; done for: Command not found. foo: Undefined variable. banshee# echo 'for foo in 1 2 3; do echo $foo ; done' bahh.sh banshee# sh

Re: for loops with /bin/sh on command line.

2012-07-08 Thread Wojciech Puchar
banshee# for foo in 1 2 3 ; do echo $foo ; done for: Command not found. foo: Undefined variable. banshee# echo 'for foo in 1 2 3; do echo $foo ; done' bahh.sh banshee# sh bahh.sh 1 2 3 banshee# echo $SHELL is it /bin/sh really? ___

Re: Format a USB flash drive using gpart

2012-07-08 Thread Wojciech Puchar
I know your question specified gpart, but the easiest way I know of to put UFS filesystems on flash drives is to use sade(8), incorporating the the easiest way to put UFS filesystem on flash drives is to ... put UFS filesystem using newfs command. You DO NOT NEED any partitioning.

Re: for loops with /bin/sh on command line.

2012-07-08 Thread Vincent Hoffman
On 08/07/2012 17:51, Wojciech Puchar wrote: banshee# for foo in 1 2 3 ; do echo $foo ; done for: Command not found. foo: Undefined variable. banshee# echo 'for foo in 1 2 3; do echo $foo ; done' bahh.sh banshee# sh bahh.sh 1 2 3 banshee# echo $SHELL is it /bin/sh really? Doh, yes

Re: anoncvs password

2012-07-08 Thread Matthias Apitz
El día Sunday, July 08, 2012 a las 09:21:53AM -0700, per...@pluto.rain.com escribió: Matthias Apitz g...@unixarea.de wrote: ... one should use today better svn, not cvs; Does svn work for (parts of) the ports collection, As far as I know, the ports will move to SVN soon; there was a

Re: for loops with /bin/sh on command line.

2012-07-08 Thread Wojciech Puchar
3 banshee# echo $SHELL is it /bin/sh really? Doh, yes that was it. Cant believe I forgot to check. I was running csh for no good reason. the reason is that it is default. ___ freebsd-questions@freebsd.org mailing list

Re: Format a USB flash drive using gpart

2012-07-08 Thread Bruce Cran
On 08/07/2012 16:06, Ian Smith wrote: In general they're not distinct in usage from any other type of disk. The more expensive disks of course support TRIM so you'd want to pass -t to newfs to enable it. -- Bruce Cran ___

Re: Format a USB flash drive using gpart

2012-07-08 Thread Wojciech Puchar
In general they're not distinct in usage from any other type of disk. The more expensive disks of course support TRIM so you'd want to pass -t to newfs to enable it. can you give me an example of pendrive that supports TRIM? ___

YASSDQ

2012-07-08 Thread Graham Bentley
Hi I have put together a little experimental FreebSD 9.0 box which comprises of ; http://www.cartft.com/catalog/il/934 http://www.overclockers.co.uk/showproduct.php?prodid=HS-023-ZA 2GB RAM and a Sandisk SDSA3BD-054G 8GB SSD The idea is a silent system I can tinker on - nothing serious. I

Re: Format a USB flash drive using gpart

2012-07-08 Thread Bruce Cran
On 08/07/2012 21:51, Wojciech Puchar wrote: can you give me an example of pendrive that supports TRIM? LaCie FastKey (http://www.tomshardware.co.uk/usb-3.0-thumb-drive-flash-drive,review-32174-5.html). -- Bruce Cran ___

Re: qbittorrent freezes, ioctl sign-extension ioctl ffffffff8004667e

2012-07-08 Thread RW
On Sat, 7 Jul 2012 20:52:50 +0200 Jens Schweikhardt wrote: hello, world\n is anybody else seeing this? On a fresh 9-STABLE/amd64 as of July 7, with all ports compiled from scratch. Qbittorrent (2.9.11) freezes after about 10 to 20 seconds, reacts to mouse clicks only after a minute or so;

Re: qbittorrent freezes, ioctl sign-extension ioctl ffffffff8004667e

2012-07-08 Thread Wojciech Puchar
On Sun, 8 Jul 2012, RW wrote: On Sat, 7 Jul 2012 20:52:50 +0200 Jens Schweikhardt wrote: hello, world\n is anybody else seeing this? On a fresh 9-STABLE/amd64 as of July 7, with all ports compiled from scratch. Qbittorrent (2.9.11) freezes after about 10 to 20 seconds, reacts to mouse

Re: Format a USB flash drive using gpart

2012-07-08 Thread Wojciech Puchar
seems like SSD style controller+USB 3.0 bridge. sizes suggest this. thanks. On Sun, 8 Jul 2012, Bruce Cran wrote: On 08/07/2012 21:51, Wojciech Puchar wrote: can you give me an example of pendrive that supports TRIM? LaCie FastKey

power failure, boot, and fsck

2012-07-08 Thread Patrick Donnelly
Hi, After a power failure at home, my FreeBSD server automatically starts again but fails to mount my UFS /boot disk because it was not properly unmounted. Here is my fstab: $ cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/da0s1a /boot-disk ufs

Re: Format a USB flash drive using gpart

2012-07-08 Thread Thomas Mueller
On Sat, 07 Jul 2012 17:45:17 -0400, Thomas Mueller wrote: Does a USB flash drive also work as a giant floppy, no partitions? Can you make a flash drive bootable when nonpartitioned and formatted that way? Polytropon responded: Yes, that's exactly what my advice was aiming to, but let's try

Re: YASSDQ

2012-07-08 Thread Warren Block
On Sun, 8 Jul 2012, Graham Bentley wrote: Hi I have put together a little experimental FreebSD 9.0 box which comprises of ; http://www.cartft.com/catalog/il/934 http://www.overclockers.co.uk/showproduct.php?prodid=HS-023-ZA 2GB RAM and a Sandisk SDSA3BD-054G 8GB SSD The idea is a silent

Re: Format a USB flash drive using gpart

2012-07-08 Thread Jerry McAllister
On Sun, Jul 08, 2012 at 02:27:05PM +0100, Bruce Cran wrote: On 08/07/2012 13:30, Polytropon wrote: With few routine, tasks are performed more natural using the desired CLI tools. You don't go Now I have to remember which command to format the disk, you just format the disk, which means

Re: Format a USB flash drive using gpart

2012-07-08 Thread Wojciech Puchar
You don't. You wipe the FAT32 with fdisk and make a FreeBSD slice on it. Then you can bsdlabel it with one partition and newfs it. Or you can repeat 100 times more that you have to make fdisk and bsdlabel. you don't, and it doesn't make sense ___

Re: Format a USB flash drive using gpart

2012-07-08 Thread Wojciech Puchar
file system (as you said without partitions, and I'll take that literally): You can use tar, the universal file system that isn't a file system to write data to the USB stick. which is best in USB pendrive wear and speed point of view. pendrive's flash translation layers are just awful, only