Originally posted by jespr
This is my fstab
I can't write to the /video partiion with my normal user... how can I change that
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
/dev/devpts /dev/pts devpts gid=5,mode=620 0 0
/dev/shm /dev/shm tmpfs defaults 0 0
/dev/proc /proc proc defaults 0 0
/dev/sys /sys sysfs defaults 0 0
LABEL=/video /video jfs rw,auto,user,async 0 0
LABEL=SWAP-hdb3 swap swap defaults 0 0
/dev/hdd /media/cdrom auto pamconsole,exec,noauto,managed 0 0
Well I have to say, thats rather a curious looking fstab.
It looks, for all the world, like an fstab thats been written as a default, but where you're supposed to change stuff by hand. Or stuff that you've somehow managed to mix up.
I could easily be wrong, but the devices are listed incorrectly i.e. the system needs to know the device, then mount point, then the format etc etc
So it depends on what hdd you've got it all installed on, heres my fstab
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda1 /boot ext2 noatime 1 2
/dev/hda3 / ext3 noatime 0 1
/dev/hda2 none swap sw 0 0
/dev/hda4 /home ext3 noatime 0 1
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 auto,users 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
# NOTE: The next line is critical for boot!
proc /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
/dev/hdc /media/cdrecorder auto user,exec,noauto,managed 0 0
/dev/hdb /media/cdrecorder1 auto user,exec,noauto,managed 0 0
So if you look it identifies the device i.e. /dev/hda1 then the mount point, type etc etc.
But the device is telling the system where to find the partition, your's doesnt seem to do that unless theres another file linked to that that them tells the system where to find the stuff that you have "labelled".
Having labels like that is normally something that you'd find in the bootloader config file.
So the device nonclamenture depends on a few things, like the number of hard drives, what type they are (as I understand that some distros name things like SATA hdd's differently).
A single hdd system such as mine, the main hard drive is called /dev/hda, but the partitions, as you can see from my fstab are then suffixed as hda1, hda2, etc etc. shm and proc and the like are a little different (and distro dependant).
then the other removeable media stuff, well the naming conventions also seem to be distro dependant. (if you notice, my system see's the devices as additional hard drives - whereas on a multi hard drive system, hdb and hdc would be used for the extra hard drives).