Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Nov 2012 04:43:47 -0800 (PST)
From:      =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= <laszlo_danielisz@yahoo.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Music streaming to iPhone
Message-ID:  <1353847427.28384.YahooMailNeo@web160503.mail.bf1.yahoo.com>

next in thread | raw e-mail | index | archive | help
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: <owner-freebsd-questions@FreeBSD.ORG>
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 <freebsd-questions@freebsd.org>; 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 <freebsd-questions@freebsd.org>; 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 <ralf.mardorf@rocketmail.com>
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 <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1353847427.28384.YahooMailNeo>