CarTechnoloGY
QNX EVO : How to Mount Data as Read/Write from Read Only? - Printable Version

+- CarTechnoloGY (https://cartechnology.co.uk)
+-- Forum: Discussions All about Software and Hardware (https://cartechnology.co.uk/forumdisplay.php?fid=310)
+--- Forum: Automotive Help & Discussions / Software and Hardware (https://cartechnology.co.uk/forumdisplay.php?fid=40)
+---- Forum: BMW - Mini - Rolls Royce (https://cartechnology.co.uk/forumdisplay.php?fid=61)
+---- Thread: QNX EVO : How to Mount Data as Read/Write from Read Only? (/showthread.php?tid=40420)



QNX EVO : How to Mount Data as Read/Write from Read Only? - bmwcoder75 - 04-10-2018

As the title says

Trying to mount the HDD as write so I can write and delete things
HDD is mounted as READ ONLY per default

CHMOD no use here, the whole file system is Read-Only

Thanks


RE: QNX EVO : How to Mount Data as Read/Write from Read Only? - pshoey - 04-10-2018

general form of mount command:

mount -uw <file_system>

mount -ur <file_system>

first is RW, second is RO

not sure you really mean HDD - as main filesystem is in flash.

/fs/sda0 is the device for the main filesystem in flash.

BR


RE: QNX EVO : How to Mount Data as Read/Write from Read Only? - bmwcoder75 - 04-10-2018

(04-10-2018, 21:59 PM)pshoey Wrote:  general form of mount command:

mount -uw <file_system>

mount -ur <file_system>

first is RW, second is RO

not sure you really mean HDD - as main filesystem is in flash.

/fs/sda0 is the device for the main filesystem in flash.

BR

Thanks, I want to modify files here : /mnt/data
This is read only

Is there a command to commit the changes, save the files, before rebooting so changes are saved, like there was on the CIC before I think?

Thanks


RE: QNX EVO : How to Mount Data as Read/Write from Read Only? - psya - 05-10-2018

mount -o remount rw /fs/sda0