Adding ogg player to /etc/fstab
Daniel Saunders
daniel.saunders at gmail.com
Tue Nov 23 00:58:59 UTC 2004
On Mon, 22 Nov 2004 07:53:38 -0800, Dirk Ouellette <hapibeli at comcast.net> wrote:
> Thanks volvoguy. Sorry, it IS usb and I don't have an sda number, just
> sda. I could do;
> /dev/sdaX /media/usb vfat defaults 0 2
> if I had an sda # ?
>
> # dmesg | grep sd
> SCSI device sda: 39069984 512-byte hdwr sectors (20004 MB)
> sda: test WP failed, assume Write Enabled
> sda: assuming drive cache: write through
> Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
>
> root # mount
> /dev/hda1 on / type ext3 (rw,errors=remount-ro)
> proc on /proc type proc (rw)
> sysfs on /sys type sysfs (rw)
> devpts on /dev/pts type devpts (rw,gid=5,mode=620)
> tmpfs on /dev/shm type tmpfs (rw)
> usbfs on /proc/bus/usb type usbfs (rw)
I assume you're not using Gnome or for some reason your
gnome-volume-manager isn't working?
The number you want is the same as the numbering system for IDE hard
disks. If you want to mount the first partition on your ogg player
you'll want to mount /dev/sda1.
I think the only problem that occurs with using your fstab for this
kind of thing is that depending on what has occured previously on your
USB system, you may want to mount sda1, sdb1, sdc1 etc.
Daniel
More information about the ubuntu-users
mailing list