Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo mount /dev/sda[Partition Number] /media/[Any existing folder name]
- #Mounts Windows
- if [ $? -eq 14 ]
- then
- echo "Windows is sleeping, I'm mounting as read-only"
- sudo mount -o ro /dev/sda[Partition Number] /media/[Any existing folder name]
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement