Hi Animal,

Don't PANIC :) I started with Linux a year or two ago, and I'm just
starting to feel comfortable with it, and I did spend a long time
wondering why I bothered; but it really does beat windows hands down
once you get your head round it, and always to happy to help out where I
can.

It sounds like you're doing all the right things, I also use two
external usb's (under OpenSuse, but its effectively the same) and here
are the lines I have in my /etc/fstab to mount them:

/dev/sdc1 /media/disk1/ ext3 rw,user,auto 0 0
/dev/sdd1 /media/disk2/ ext3 rw,user,auto 0 0

>From left to right this means:
mount at bootup (because this is in fstab) the device which has the
address /dev/sdc1;
mount the contents into the directory /media/disk1/;
mount this using the filesystem 'ext3' (I think yours is vfat? and the
other is fuseblk - sorry I don't know what these filesystems are or what
they are like);
mount them both readable and writeable (rw);
enable a normal user to mount/unmount it (user);
can be mounted using the 'mount -a' command (auto);
the two separate zeros at the end have something to do with backup
which I can't remember the details of right now, but I always have them
both as zero and backup using a different method anyway.

There are loads of other options available to you which you can read
all about in the 'man mount' page, but to be honest I hate those
'manual' pages; they only ever make sense to me after I have done the
thing but I don't understand how. :)

About the filesystems (ext3 / vfat / fuseblk) - you can set your disks
to anything you want, it depends on how you want to use the external
drive. If its only ever going to be connected to the linux box then its
safe (and better) to format it as ext3 (or 4), if you're going to
connect it to Windows in the future, then fat32 is ok. NTFS, the default
windows format, is shitty in that it doesn't naturally work under Linux
(whereas ext3/4 don't naturally work under windows), in that its
readable not writeable by default. There are now drivers to support it I
think, but I don't use it ('cos it sucks anyway').

One thing I had to meddle with was the ownership of the 'playlist'
directory, I had to give one directory called '/media/disk1/playlists'
to the user 'squeezeboxserver'...the command to do this is:

sudo chown squeezeboxserver:users /media/disk1/playlists

This makes the linux box think that the user called 'squeezeboxserver'
created the directory and owns it, and its also owned by the GROUP
called 'users' (the default one in Suse - I'm guessing the same in
Ubuntu?). So, when you point the playlists directory in basic settings
in SBS, it will write to it and save your playlists nicely. (make
sense?)

There might be a more elegant way of doing this, but this worked for
me!

Once you have the drives mounted tidily, as either Fat32 or ext3/4,
then you could also set up a samba server so you can browse to it from
your windows boxes, save to it, read from it etc etc..:) :D

Good luck with the Linux adventure, its infuriating at times, but well
worth it. I hope this helps a bit.

Cheers
Jim


-- 
squeezyjim
------------------------------------------------------------------------
squeezyjim's Profile: http://forums.slimdevices.com/member.php?userid=34525
View this thread: http://forums.slimdevices.com/showthread.php?t=71640

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

Reply via email to