From owner-freebsd-questions@FreeBSD.ORG Sun Nov 25 12:43:53 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BD3E330F for ; Sun, 25 Nov 2012 12:43:53 +0000 (UTC) (envelope-from laszlo_danielisz@yahoo.com) Received: from nm34-vm3.bullet.mail.bf1.yahoo.com (nm34-vm3.bullet.mail.bf1.yahoo.com [72.30.239.75]) by mx1.freebsd.org (Postfix) with ESMTP id 67AFC8FC13 for ; Sun, 25 Nov 2012 12:43:53 +0000 (UTC) Received: from [98.139.214.32] by nm34.bullet.mail.bf1.yahoo.com with NNFMP; 25 Nov 2012 12:43:47 -0000 Received: from [98.139.212.197] by tm15.bullet.mail.bf1.yahoo.com with NNFMP; 25 Nov 2012 12:43:47 -0000 Received: from [127.0.0.1] by omp1006.mail.bf1.yahoo.com with NNFMP; 25 Nov 2012 12:43:47 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 312333.44227.bm@omp1006.mail.bf1.yahoo.com Received: (qmail 30061 invoked by uid 60001); 25 Nov 2012 12:43:47 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1353847427; bh=EzrXjKAxfSuws8iNmbwTOLBsJVipBSXzWPf0Eaz++DQ=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=HZ15msSfcXqkoWNwZzsVVeNsVX6vmcUG/DLiwfckHV89maIk2LehRa1g47ZCzjQ7ZBJv3tW5LE0CSQAHj1kEgExQ1/KHYEcP5rMKqwV/zQ107wxD/6joS2Fj96ITRqICWxrcR45iap2sXcLE/Dt+EOiorrxcaD6qMag+pGf7SyA= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=Ha1qJDXMkyrPDIC1a1f17GDtmlZdpG/rcE0D6s9tpOfrGKurp3IQ7dfsIaehfaEHcMTeoFS9ni0/cBt0yDhMNisVguHbFB+OxkcP/K2qW3pK5mBOPz0wAXDAuz/BCIIN5suJE754CThSBtzrSF29iKQXb8lbpRCsKcg4skqUfTE=; X-YMail-OSG: Y.Wp7ccVM1mE3.1nPTV0oBJbkuZbQHg.9sPXRwdliPXZSel i0DUDK9IOV6bdS1A5RyaftvJZ9WLiu.BLJhz1SRCr2V3fB9sT370f_NAoifr IMfI8OHWDvFA958tCvtnq7i17C4AfYZV2QdTJsNUe6X4ggRUMtQX3MG53cr9 6ZL8LglaT3.QOS6JPEuimyIeD1o9LSbwTVBpd56OqiELjYt.xZxu0BdX3e2b W6uanX_PonIV5B5wd3e_edNgNKSaNp8jO9lctlCu_VZfANb9bFgeQg1mNJhG huIriX.QpS77DsNzExqqeHN7GUUTEqaSnhV0hW3hdeytNZ81J5su_QvMnzkI 9U0.kPRwfpihSz1LygxDO2vu1OadNtceBfp_yN8fTH.LfAlBPGLlMvUgTuMq gtYtV5JmeJWXhFQ_pLqZTj_WS.798MB9Lgc4uyyyREYx3ZReo7n1hrbQtV4I Nj6MVb5bxZI9VaYnUOInjdyciY5O62mCLhwXLtrIDfiorQSmaEXs- Received: from [89.133.21.244] by web160503.mail.bf1.yahoo.com via HTTP; Sun, 25 Nov 2012 04:43:47 PST X-Rocket-MIMEInfo: 001.001, SGkgRXZlcnlib2R5LAoKSSBoYXZlIGFsbCBvZiBteSBtdXNpYyBvbiBteSBCU0Qgc2VydmVyIGF0IGhvbWUsIGFuZCBJIHdvdWxkIGxpa2UgdG8gbGlzdGVuIHRoYXQgbXVzaWMgb24gbXkgaVBob25lLCB3aGVuIEknbSBob21lLgpBbnkgaWRlYXM_CgpUaHghCkxhc3psbwEwAQEBAQ-- X-Mailer: YahooMailWebService/0.8.123.460 Message-ID: <1353847427.28384.YahooMailNeo@web160503.mail.bf1.yahoo.com> Date: Sun, 25 Nov 2012 04:43:47 -0800 (PST) From: =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= Subject: Music streaming to iPhone To: "freebsd-questions@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Nov 2012 12:43:53 -0000 Hi Everybody,=0A=0AI have all of my music on my BSD server at home, and I w= ould like to listen that music on my iPhone, when I'm home.=0AAny ideas?=0A= =0AThx!=0ALaszlo From owner-freebsd-questions@FreeBSD.ORG Sun Nov 25 12:43:53 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BF9F4310 for ; Sun, 25 Nov 2012 12:43:53 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm14-vm0.bullet.mail.ird.yahoo.com (nm14-vm0.bullet.mail.ird.yahoo.com [77.238.189.193]) by mx1.freebsd.org (Postfix) with ESMTP id E52218FC12 for ; Sun, 25 Nov 2012 12:43:52 +0000 (UTC) Received: from [77.238.189.49] by nm14.bullet.mail.ird.yahoo.com with NNFMP; 25 Nov 2012 12:43:46 -0000 Received: from [217.146.188.166] by tm2.bullet.mail.ird.yahoo.com with NNFMP; 25 Nov 2012 12:43:46 -0000 Received: from [127.0.0.1] by smtp134.mail.ird.yahoo.com with NNFMP; 25 Nov 2012 12:43:46 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1353847426; bh=AqnyecnIq4/CWXFPHjfzORzgefhvLyvhUXUblSCqpQw=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:X-Mailer:Mime-Version:Content-Transfer-Encoding; b=ISl7EqbsmwOJW6QNv18kBiNmOhjczDrz3gAqOLmhrSD4BOCDq6K3j/9sfd5g6Fhw3YGOgsWOYYSJoxH1AWLrRCzRXytpcwWRhGB2BATPRuZ8w0EWgckQqAtG8UnD0evG9sRYWG2SsetVyknZToWs1aRvHvnOett0HIXBOhxt6es= X-Yahoo-Newman-Id: 216550.90487.bm@smtp134.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: CfGDJ8oVM1mRKCr61uVi4pyxwLnAjX6gPFeFk_740WW4pBw 0bNGmDZa.F4Dla54ncvEljil29_xzrt_IkqaYCXtacKLGRdvjLJ0KABXc_wf OK4GOi8K.Wx93FGp9zH7VmH8pFfX9Bv8rg10XUGcbgyUt8mJoJwaarMxDhdg LWq6h0YdxTKYyqF81.bAj1No3yFpgoAvIUAvfqCZoZI1pVBYWAtvSBb9kFTI ZpTi.p4PjQ4byi_oeUW_Icgzg1tr6.IAKKy_1_eX.S8dw7KX1xtJO06XExE2 egbidr8B_NT_eKfpyjpf4kYFJ0xpgFlefpYFAYvUl4EsARvlbyW58EHmktrh RYLXCfecv97.2mE4WEghSC8hCJXDmJtHQ0bi65a2reIW.JCHJkcm5KAxo0Kj CXWqYXXSvgU5_6Ooc3hnz.N8KXS9UaPgMz6bK2PDZkuICRranh7W8kkvp0IM NMz9cE2i9HcL7CceOh9f7DescVkZAYe11.hy.HxRrJMpCBwZern07wQqgPmL 0sZvInebrCUYIoHoPb3Ll5lk- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [85.182.22.141] (ralf.mardorf@85.182.22.141 with login) by smtp134.mail.ird.yahoo.com with SMTP; 25 Nov 2012 04:43:46 -0800 PST Message-ID: <1353847426.2508.35.camel@q> Subject: Re: [Bulk] Re: Manually partitioning using gpart From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Sun, 25 Nov 2012 13:43:46 +0100 In-Reply-To: <20121125132930.3a417be5.freebsd@edvax.de> References: <1353842774.2508.18.camel@q> <20121125132930.3a417be5.freebsd@edvax.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.0-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Nov 2012 12:43:53 -0000 On Sun, 2012-11-25 at 13:29 +0100, Polytropon wrote: > On Sun, 25 Nov 2012 12:26:14 +0100, Ralf Mardorf wrote: > > This is what I've got: > > > > # gpart show ada0 > > => 63 625142385 ada0 MBR (298G) > > 63 121274683 - free - (57G) > > [snip] > > > > IIUC I now have to do: > > > > # gpart add -s 64k -t freebsd-boot -l boot0 ada0 > > # gpart add -s 8G -t freebsd-swap -l swap0 ada0 > > # gpart add -t freebsd-ufs -a 256k -l root0 ada0 > > > > Here I already don't understand how large the swap should be. Really 2 * > > size of the RAM? > > Won't be wrong; my understanding of the rule was "2 * size of > _possible_ RAM in the machine". But disk space is cheap, so > 8 G should be fine. But again, the requirement for the swap > partition depends on what you're doing with the machine and > what you're expecting (e. g. will you want to save kernel dumps > to the swap partition?). > > You can find an example here: > > http://www.wonkity.com/~wblock/docs/html/disksetup.html > > Also see "man newfs" for options. I'll read this. I want to test what's possible and/or impossible regarding to MIDI and audio productions using FreeBSD. > > I also don't know if 256k is a sane alignment value, I just copied this > > from a howto. > > Modern disks work faster when everything is aligned to 4k. > But they _work_ with any other alignment. I'll use 4k. > > How to continue after this is done? > > You will have new partitions /dev/ada0pN. You need to format > them with newfs. If I see this correctly, you have created > one big / partition (for everything); this is _valid_ and > possible, but may be less optimum for a couple of reasons. Until now I haven't done anything. It's still free. > Doing "functional partitioning" requires at least an idea > of how much disk space will be needed per functional part, > and this can differ from use as server or desktop, or what > kind of software you run. On Linux I only use /. So I don't have to think about how much space what directory might need and I never run into issues, when the file system hierarchy does change. Off cause I've got special partitions for audio productions mounted with noatime and a own partition for emails, but anything else, including /home is inside /. > The advantage is that you can > backup data partition-wise (using dump + restore) and have > a functional base system on / in case there's a severe > disk corruption. The disadvantage is that if finally one > partition is "too full", you cannot easily resize them > (even though this is possible). On Linux I can backup partition-wise too, but it's also possible to backup directory-wise ;). Btw. I never sync backups, I always keep several backups of the system, since setting up a hard real-time jitter free DAW is a special task for modern computers. In the 80s hard real-time really was hard real-time (C64, Atari ST), nowadays it is hard work to get something similar. > When done, add them to your /etc/fstab. You can use the > labels for that instead of the device names. > > I want to use GRUB from my Linux installs, this is the Linux menu.lst: > > > > timeout 8 > > default 0 > > color light-blue/black light-cyan/blue > > > > title FreeBSD 9.0 > > root (hd0,a) > > kernel /boot/loader > > My Linux multiboot experience is limited, but this looks okay. > You will delegate boot control to the loader, hd0a = sda1 = adap1, > the partition of "freebsd-boot" type. Thank you. Regards, Ralf