|
2013-07-13
, 19:09
|
Posts: 1,424 |
Thanked: 2,623 times |
Joined on Jan 2011
@ Touring
|
#72
|
# !!! Do not edit this file. It can be overwritten in next update !!! # !!! Instead create and edit file /etc/default/mount-opts-overwrite !!! # Options for mounting all filesystems common_opts="noatime,nodiratime" # Options for mounting root's filesystems (/, /home) root_opts="errors=continue,commit=1,data=writeback" # Options for mounting user's filesystems (MyDocs, SD cards, ...) user_opts="noauto,nodev,exec,nosuid" # Options for different filesystems vfat_opts="utf8,uid=29999,shortname=mixed,dmask=000,fmask=0000,rodir" ntfs_opts="nls=utf8,uid=29999,umask=0000" # Renerate fstab at boot time in /etc/event.d/rcS-late genfstab="1" # When generating fstab add also swap partitions from SD card (if exists) swap_sd="0" # Call fsck.<fstype> -p for /home at boot time in /etc/event.d/rcS-late home_fsck="0" # Call fsck.<fstype> -p for user's partitions (MyDocs, SD cards, ...) user_fsck="0" # Include overwrite file if [ -f /etc/default/mount-opts-overwrite ]; then . /etc/default/mount-opts-overwrite fi
# !!! Do not edit this file. It can be overwritten in next update !!! # !!! Instead create and edit file /etc/default/mount-opts-overwrite !!! # Options for mounting all filesystems common_opts="noatime,nodiratime" # Options for mounting root's filesystems (/, /home) root_opts="errors=continue,commit=1,data=writeback" # Options for mounting user's filesystems (MyDocs, SD cards, ...) user_opts="noauto,nodev,exec,nosuid" # Options for different filesystems vfat_opts="utf8,uid=29999,shortname=mixed,dmask=000,fmask=0000,rodir" ntfs_opts="nls=utf8,uid=29999,umask=0000" # Renerate fstab at boot time in /etc/event.d/rcS-late genfstab="1" # When generating fstab add also swap partitions from SD card (if exists) swap_sd="0" # Call fsck.<fstype> -p for /home at boot time in /etc/event.d/rcS-late home_fsck="0" # Call fsck.<fstype> -p for user's partitions (MyDocs, SD cards, ...) user_fsck="0" # Include overwrite file if [ -f /etc/default/mount-opts-overwrite ]; then . /etc/default/mount-opts-overwrite fi
|
2013-07-13
, 19:17
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#73
|
The Following User Says Thank You to peterleinchen For This Useful Post: | ||
|
2013-07-13
, 19:26
|
Posts: 1,424 |
Thanked: 2,623 times |
Joined on Jan 2011
@ Touring
|
#74
|
/dev/mmcblk0p1 /home/user/MyDocs vfat defaults 0 2
/dev/mmcblk0p1 /home/user/MyDocs vfat noauto,nodev,noexec,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0133,rodir 0 0
# 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
# 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
|
2013-07-13
, 20:14
|
Posts: 1,424 |
Thanked: 2,623 times |
Joined on Jan 2011
@ Touring
|
#75
|
# /home/user/MyDocs echo "$mydocs /home/user/MyDocs $mydocs_type $mydocs_opts 0 2" >> $tmp_fstab
# /home/user/MyDocs echo "$mydocs /home/user/MyDocs $mydocs_type $mydocs_opts 0 0" >> $tmp_fstab
/dev/mmcblk0p1 /home/user/MyDocs vfat noauto,nodev,noexec,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0133,rodir 0 0
/dev/mmcblk0p1 /home/user/MyDocs vfat defaults 0 2
fat_opts="noauto,nodev,noexec,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0133,rodir"
# Options for mounting all filesystems common_opts="noatime,nodiratime" # Options for mounting root's filesystems (/, /home) root_opts="errors=continue,commit=1,data=writeback" # Options for mounting user's filesystems (MyDocs, SD cards, ...) user_opts="noauto,nodev,exec,nosuid" # Options for different filesystems vfat_opts="utf8,uid=29999,shortname=mixed,dmask=000,fmask=0000,rodir" ntfs_opts="nls=utf8,uid=29999,umask=0000"
~ $ sudo mount -o rw /dev/mmcblk0p1 /home/user/MyDocs
|
2013-07-13
, 20:34
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#76
|
|
2013-07-14
, 13:04
|
Posts: 1,424 |
Thanked: 2,623 times |
Joined on Jan 2011
@ Touring
|
#77
|
|
2013-07-15
, 09:39
|
Posts: 1,424 |
Thanked: 2,623 times |
Joined on Jan 2011
@ Touring
|
#78
|
|
2013-07-24
, 14:14
|
Posts: 14 |
Thanked: 0 times |
Joined on Jan 2011
|
#79
|
|
2013-07-24
, 14:33
|
Posts: 1,424 |
Thanked: 2,623 times |
Joined on Jan 2011
@ Touring
|
#80
|
/etc/default/mount-opts-overwrite ?
Especially for genfstab entry.
But this seems as it is going into CSSU world, so maybe I am not the best one to give advice...
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!
Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257
editsignature, http://talk.maemo.org/profile.php?do=editsignature