Difference between revisions of "Linux-hda commands"

From Amahi Wiki
Jump to: navigation, search
Line 35: Line 35:
  
  
See [[Basics|Linux Basic Commands]] most users will need.
+
[[Basics|Linux Basic Commands]] most users will need.

Revision as of 17:31, 22 October 2010

General Linux/HDA Commands
service httpd start = restart web server
yum -y update = Automatically update fedora
rpm -Uvh http://dl.getdropbox.com/u/364883/Amahi/hda-platform-*.*-*.noarch.rpm = updates HDA
rpm -q hda-platform = check to see what version of HDA your running.
ps guax | grep yum = kills all yum process

ushare
service amahi-ushare restart = restart ushare after adding new content

VNCServer
vncserver = Starts the VNCServer
vncserver -kill :1 = Stops the VNCServer

mt-daapd
/etc/init.d/mt-daapd start
/etc/init.d/mt-daapd stop

greyhole
greyhole --daemon = Start the daemon
greyhole --fsck = Schedule a fsck
greyhole --balance = Balance available space on storage pool devices
greyhole --stats = Display statistics
greyhole --empty-attic = Empty attic
greyhole --debug <filename> = Debug file operations
greyhole --thaw = List frozen directories
greyhole --thaw <share/directory> = Thaw a frozen directory
greyhole --prerotate = Pre-rotate task
greyhole --postrotate = Post-rotate task

When <path>, one of your storage pool directories, is/will become unavailable:
greyhole --wait-for <path> = <path> will return soon
greyhole --gone <path> = <path> is gone for good
greyhole --going <path> = <path> will be gone for good


Linux Basic Commands most users will need.