Out of curiosity I installed the SbS 7.5 deb package, just to see where
things are normally installed and to see the default file ownerships ans
startup script. It certainly is scattered about, isn't it?
Code:
--------------------
Program
- - - - - - - - - - - - - - - - - - - - - - - -
/usr/sbin/squeezeboxserver (owner: root)
/usr/sbin/squeezeboxserver_safe
/usr/sbin/squeezeboxserver-cleanup
/usr/sbin/squeezeboxserver-scanner
/usr/share/squeezeboxserver/ (owner: root)
/usr/share/squeezeboxserver/strings.txt
/usr/share/squeezeboxserver/bin
/usr/share/squeezeboxserver/CPAN
/usr/share/squeezeboxserver/Firmware
/usr/share/squeezeboxserver/Graphics
/usr/share/squeezeboxserver/HTML
/usr/share/squeezeboxserver/IR
/usr/share/squeezeboxserver/lib
/usr/share/squeezeboxserver/Plugins -> /var/lib/squeezeboxserver/Plugins
/usr/share/squeezeboxserver/MySQL
/usr/share/squeezeboxserver/SQL
Data and configuration (Cache, Prefs, Plugins)
- - - - - - - - - - - - - - - - - - - - - - - -
/var/lib/squeezeboxserver/ (owner: squeezeboxserver)
/var/lib/squeezeboxserver/cache
/var/lib/squeezeboxserver/Plugins
/var/lib/squeezeboxserver/prefs
convert.conf
- - - - - - - - - - - - - - - - - - - - - - - -
/etc/squeezeboxserver/ (owner: squeezeboxserver)
/etc/squeezeboxserver/convert.conf
Logs
- - - - - - - - - - - - - - - - - - - - - - - -
/var/log/squeezeboxserver/ (owner: squeezeboxserver)
--------------------
Questions:
Why is convert.conf given its own directory in /etc/?
What's the purpose of placing the four main executables in /usr/sbin/
and all the rest of the program's files in
/usr/share/squeezeboxserver/?
Why are slimserver.pl and scanner.pl renamed? I notice that /usr/sbin/
contains no subdirectories. Instead of placing the four SbS executables
in a /usr/sbin/squeezeboxserver/ subdirectory, /usr/sbin/ is all just
one flat directory. I suppose that might explain the renaming, as
'scanner' could be anything and creating a filename conflict would be
easy.
Obviously there are some philosophical aspects of all this that I
haven't fully grasped. :)
--
JJZolx
Jim
------------------------------------------------------------------------
JJZolx's Profile: http://forums.slimdevices.com/member.php?userid=10
View this thread: http://forums.slimdevices.com/showthread.php?t=73689
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix