On Wed, Nov 13, 2024 at 03:44:33PM +0100, Dan wrote:
> 
> If you try with my Musicing:
> https://code.5mode.com/par7133/Musicing/
> 
> ( my own instance: https://music.mydeeds.org )
> 
> Data folder path is customizable. But for the constraints said above
> under OpenBSD (chroot and www size) I suggest you to make a soft link
> from a good path to Private/data.

I don't think you can use symbolic links to jump outside a chroot, but
someone will correct me if I'm wrong.  But you can achieve something
similar by either (1) having a dedicated partition for the media files,
and mount it inside the chroot or (2) use NFS to export the directory
with the media files, wherever it is, and then mount it inside the
chroot.

> 
> Under /home/YourUser is usually a good place to have your own folders.
> As /home is usually well sized for a normal station.
> 
> Dan
> 
> ------
> Nuggetsman.com - Repo: https://code.5mode.com
> 
> Please reply to the mailing-list, leveraging technical stuff.
> 
> Nov 13, 2024 13:36:21 Zé Loff <zel...@zeloff.org>:
> 
> > On Wed, Nov 13, 2024 at 05:34:31AM +0000, Richard Bostrom wrote:
> >> Which folder is best practices keeping my music in, if building a music 
> >> server?
> >> 
> >> Thanks.
> > 
> > One with enough space.
> > 
> > More seriously, it's almost impossible to answer, without knowing what
> > kind of software you are planning on running.  With the exception of
> > web-based stuff that runs chrooted, you probably can point your "music
> > server" software to whichever directory(ies) you want.
> > 
> > On a side note, if its a large partition, and if most files in it will
> > also be large, I'd advise you to tune some of the newfs options, to
> > reduce the density of inodes in the file system, which in turn makes
> > fsck much much faster, in case it isn't cleanly unmounted (e.g. power
> > failures).
> 

-- 
 

Reply via email to