On Tuesday 13 April 2010 09:57:11 Oddball wrote:
Oddball schreef:
# modprobe -v ext4dev
# mount /dev/sd** /mnt (*Name*number)
These two have to be used on every boot if one wants to take a look at an ext4 partition, from my 11.1 install. Only root can mount such a partition, and using only the second command does not work over here. Also, i have to (re)start the filemanager to get it visual, but when mounted my user kan use the partition, and all filemanagers can be used. Not a big deal, but: Does anyone know a simple way to get this automated?
Again me :) Easy way is to put in /etc/init.d/boot.local modprobe ext4dev this will load driver on each boot. Then make directory sda11 in /mnt so that you can mount other stuff in /mnt not only one partition: mkdir /mnt/sda11 Then add line in /etc/fstab /dev/sda11 /mnt/sda11 etx4 noauto,defaults 0 0 That way it will not complain if driver fails, and with noauto it will not attempt to mount partition on boot. Adding line in fstab will make possible to mount partition with: mount /dev/sda11 or mount /mnt/sda11 The only benefit is that you don't have to type whole line: mount /dev/sda11 /mnt/sda11 every time you want to mount partition. There are other ways to load driver on boot, like to change file /etc/sysconfig/kernel . Find: MODULES_LOADED_ON_BOOT="" and add ext4dev to the list. Above is from 11.2 and variable is empty, so with ext4dev it will look like: MODULES_LOADED_ON_BOOT="ext4dev" The /etc/fstab will be the same as already mentioned. -- Regards Rajko, -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org