Quote:
Originally Posted by nasser
was able to make it work by running the mkdir and cp commands by hand in kterm..
those 3 tiny buttons now have unclipped characters..
but something weird happening..
i had earlier followed some post here to change home from /tmp/root to /home/root
now running or still gives as the output..
but.. doing a or a is not affecting /tmp/root.. it's affecting /home/root..
so.. i did: -
-
Code:
mkdir -p /home/root/.config/galculator
-
Code:
cp /mnt/us/extensions/galculator/.config/galculator/galculator.conf /home/root/.config/galculator/galculator.conf
which works.. but should i leave root fs in rw mode..
would like our experts' explanation for above behaviour.. 
|
Code:
[root@kindle root]# ls -la / | grep tmp
lrwxrwxrwx 1 root root 8 Jan 2 1970 tmp -> /var/tmp
[root@kindle root]# mount
rootfs on / type rootfs (rw)
/dev/root on / type ext3 (ro,noatime,nodiratime,data=writeback)
none on /proc type proc (rw,nosuid,nodev,noexec,relatime)
none on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
tmpfs on /dev/shm type tmpfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /var type tmpfs (rw,relatime,size=32768k)
/dev/loop/2 on /lib/firmware/cyttsp type cramfs (ro,noatime,nodiratime)
/dev/loop/3 on /usr/share/X11/xkb type cramfs (ro,noatime,nodiratime)
/dev/loop/4 on /usr/java/lib/fonts type cramfs (ro,noatime,nodiratime)
/dev/loop/5 on /etc/kdb.src type cramfs (ro,noatime,nodiratime)
/dev/loop/6 on /usr/lib/locale type cramfs (ro,noatime,nodiratime)
/dev/loop/7 on /usr/share/keyboard type cramfs (ro,noatime,nodiratime)
/dev/mmcblk0p3 on /var/local type ext3 (rw,relatime,errors=continue,data=writeback)
/dev/loop/0 on /mnt/base-us type vfat (rw,noexec,noatime,nodiratime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
fsp on /mnt/us type fuse.fsp (rw,nosuid,nodev,noatime,user_id=0,group_id=0)
The answer to all your questions lies above, namely in what is mounted where. /tmp is just a symlink to /var/tmp, and /var is a tmpfs, so it will disappear after shutdown.
/home would be on the root partition, and thus read-only in normal use. And yes, I agree that it's a bad idea to leave root mounted rw for normal use.
You have two options here: use a home directory on the USB partition (/mnt/us), or in /var/local. The advantage of the former is that you can edit files via USB, the advantage of the latter is that it's a real filesystem, not FAT32. I suggest to go for /var/local/home/root, or /var/local/root, or whatever you please.