View Single Post
Posts: 1,432 | Thanked: 2,630 times | Joined on Jan 2011 @ Touring
#74
peterleinchen, just to verify
change the entry
Code:
/dev/mmcblk0p1 /home/user/MyDocs vfat defaults 0 2
to
Code:
/dev/mmcblk0p1 /home/user/MyDocs vfat noauto,nodev,noexec,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0133,rodir 0 0
the key being rodir 0 0 and not rodir 0 2 ?

then sudo umount /home/user/MyDocs and finally sudo mount -a ?

I think the /etc/fstab is only generated at boot so it should stay rodir 0 0

BTW I never really knew what those numbers(or dont remember knowing) at the tail end were back in the 90's where hacking /etc/fstab and /etc/xfree86 was way to normal to be fun

going to wait for a reply before breaking something
(edit)
and for what it is worth my /etc/fstab on the 'bad' N900 is identical to that on my 'good' N900 except I have a swap on a SD card entry there.

Good
Code:
# This file was generated by script /etc/event.d/rcS-late
# !!! Do not edit this file. It will be overwritten in next device startup !!!
# If you want static /etc/fstab add genfstab="0" to file /etc/default/mount-opts-overwrite
rootfs / rootfs rw 0 0
ubi0:rootfs / ubifs rw,bulk_read,no_chk_data_crc 0 0
/dev/mmcblk0p2 /home ext3 defaults 0 2
/home/opt /opt none bind 0 0
/dev/mmcblk0p1 /home/user/MyDocs vfat defaults 0 2
/dev/mmcblk1p2 none swap sw 0 0
/dev/mmcblk0p3 none swap sw 0 0

BAD(ok not bad just not properly RW for non-sudo user, c'mon it has inductive Touchstone charging!!)

Code:
# This file was generated by script /etc/event.d/rcS-late
# !!! Do not edit this file. It will be overwritten in next device startup !!!
# If you want static /etc/fstab add genfstab="0" to file /etc/default/mount-opts-overwrite
rootfs / rootfs rw 0 0
ubi0:rootfs / ubifs rw,bulk_read,no_chk_data_crc 0 0
/dev/mmcblk0p2 /home ext3 defaults 0 2
/home/opt /opt none bind 0 0
/dev/mmcblk0p1 /home/user/MyDocs vfat defaults 0 2
/dev/mmcblk0p3 none swap sw 0 0

Last edited by biketool; 2013-07-13 at 19:34.