There are some things I just can't figure out.
1) How do I execute fstab without rebooting?
2) I'd like to mount /dev/hdb via uuid, because I have two reiserfs exchange drives, one of them should be mounted with write permission for root only. How do I get the uuid? I remember using lshal to get the uuid for my usb device, but that's it.
er.. well. that's it
I saw ubuntu added a umask=0222 - option of the ntfs disk I had in my box while installing. What does the fourth digit do? Is it vital for something? I kept using this for my other ntfs drives, since 444 didn't work (would make more sense to me, since I can't write to it anyway)
My fstab, just for fun:
# /etc/fstab: static file system information.
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
/dev/hda5 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdd /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/hde1 /mnt/hde1 ntfs umask=0222 0 0
/dev/hde5 /mnt/hde5 ntfs umask=0222 0 0
#/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/hdg1 /mnt/hdg1 ntfs umask=0222 0 0
/dev/hdg2 /mnt/hdg2 reiserfs defaults 0 2
/dev/hdb1 /mnt/hdb1 reiserfs defaults 0 2
/dev/sda1 /mnt/sda1 vfat defaults,umask=000 0 0
/dev/sda2 /mnt/sda2 vfat defaults,umask=000 0 0
/dev/sda3 /mnt/sda3 vfat defaults,umask=000 0 0
In my fstab file the code looks tidy... I use alot of <tab>
hdg1 and hdg2 are on two different drives. So it just fails to mount one and mounts the other, or mounts none if it isn't in there, depending on what drive is in there at the moment. I guess this is alright.