I need to restore a directory on a Linux (CentOS) file server from an external USB drive. It's the only copy, and I don't want to risk any of the data being altered on it by some mistake with rsync or whatever.
How can I mount an external USB drive on Linux in read-only, just for the temporary purposes of copying the files off of it?
This is how it looks normally in /etc/fstab:
/dev/usblaciexl1 /backup ext3 noauto,defaults 0 0
Best Answer
should be sufficient.
You can also do (do not confuse
if
andof
, readman dd
carefuly)