mounting CF read-only and read/write

Hello,

On my system I would like to mount CF read-only at boot time. Later, I would
like to remount it with read/write access. Is it possible? Should I use
mount -u (mount for update, remount)? If so, how? It doesn’t seem to work
for me.

Thanks,

Pavol Kycina

Pavol Kycina <kycina@microstep-hdo.sk> wrote:

On my system I would like to mount CF read-only at boot time. Later, I
would like to remount it with read/write access. Is it possible? Should
I use mount -u (mount for update, remount)? If so, how?

Yes, if the device is mounted at “/cf”, then “mount -uw /cf” is correct.

It doesn’t seem to work for me.

Support for changing the r/o <-> r/w attribute via “mount -u” was not
added until December, so very likely is not available in any released
version yet, sorry. If you have no open files on the CF (not likely,
I know :frowning: then you could umount and mount it again …

“John Garvey” <jgarvey@qnx.com> wrote in message
news:a5gpsd$1at$1@nntp.qnx.com

Pavol Kycina <> kycina@microstep-hdo.sk> > wrote:
On my system I would like to mount CF read-only at boot time. Later, I
would like to remount it with read/write access. Is it possible? Should
I use mount -u (mount for update, remount)? If so, how?

Yes, if the device is mounted at “/cf”, then “mount -uw /cf” is correct.

It doesn’t seem to work for me.

Support for changing the r/o <-> r/w attribute via “mount -u” was not
added until December, so very likely is not available in any released
version yet, sorry. If you have no open files on the CF (not likely,
I know > :frowning: > then you could umount and mount it again …

Thanks,

Pavol Kycina