-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Jul 17, 2018 at 02:44:02PM -0500, Martin McCormick wrote:
> The reason to do this is to protect data on thumb drives full of
> archives.
> 
>       When searching for information, most of the discussion
> was from people who had root file systems which had been
> corrupted so the mount process mounted them read-only.
> 
>       In this case, all is well and the drives being mounted
> contain archives which one doesn't want to lose so mounting them
> as read-only would be a good way to protect them.  

Yes, you can. Try

  sudo mount -oro /dev/<your usb drive partition> /mnt

(for a more concrete example, assuming your USB drive comes up as
/dev/sdc and has one partition, say /dev/sdc1):

  sudo mount -oro /dev/sdc1 /mnt

Now if you are using a desktop environment, it will most probably
mount things for you... but read/write.

You can remount it read-only like so

  sudo mount -oro,remount /dev/sdc1 /mnt

Perhaps your desktop environment has some knobs to do that. Here,
I'll have to defer to more DE knowledgeable folks here.

Cheers
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAltOSSQACgkQBcgs9XrR2kab+gCZAelUxR3R2+Lgj7C3WJCAoZjm
PJwAmwQh+2gEpFqqIGQhzovP25zQApi9
=funo
-----END PGP SIGNATURE-----

Reply via email to