I have a setup very similar to yours in that I keep my audio files on a
NTFS formatted drive in a fedora box.  Although there are many ways to
do this, this is what I do:

(..and if I step wrong here, hopefully one of you linux jocks will
correct what I have to say..)

Open a terminal and become the superuser via the # su command.  You'll
be prompted for root's password.

Create a directory to which you'll mount the drive:

# mkdir /mnt/media

Change the permissions on the directory:

# chmod 0777 /mnt/media

Edit the /etc/fstab file...this is the file that the OS reads on boot
up and contains the mounting instructions.

# nano /etc/fstab

Once the nano editor is open, add a line below the other entries:

Code:
--------------------
    
  /dev/sdb1    /mnt/media      ntfs-3g rw,defaults,noatime,umask=0000 0 0
  
--------------------

Save the file...in nano, this would be ctrl-o & enter.  Quit nano:
ctrl-x.

Now try to mount the disk:

# umount /dev/sdb1

# mount -a

Finally, see if you can see your disk:

# ls /mnt/media -l

This ought to show you the root folder of the disk.  You should now be
able to configure squeezecenter, pointing the music folder setting to
/mnt/media/Music or whatever you've got on that disk.

I use NTFS drives for my music drives on my squeezecenter servers for a
couple of reasons:

1).  NTFS is more space effecient than ext2/3 unless you really know
what you're doing (which I don't) when you mkfs a partition to ext2/3.

2).  My music ripping setup is all windows based.  It's a lot easier
and quicker for me to cone 1T of audio data from 1 NTFS disk to another
in the windows machine than it is to try to push all that data over the
network to a ext2 drive.

Bruce:  not withstanding point #2, above, if the mounting steps worked
for you, then the next step will be to setup samba (windows file
sharing) on the fedora box so that you can push new audio files over the
network to the NTFS drive.  Let me know if you'd like help with that.

Also, you'll want to pick up a couple of freeware tools so that you can
administer this machine remotely from windows clients on your network:
PuTTY and WinSCP.  These tools will allow you to run your server in text
mode without the GUI (saves CPU horsepower) and to run it headless (no
keyboard, mouse or monitor) stuck in a closet somewhere.


-- 
gharris999
------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=66800

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to