Changes
Jump to navigation
Jump to search
← Older edit
Linux command: mount
(view source)
Revision as of 15:17, 5 November 2019
423 bytes added
,
15:17, 5 November 2019
m
→Mount Luks5 Encrypted Drive
Line 9:
Line 9:
sudo mount -o remount,rw /
sudo mount -o remount,rw /
−
== Umount ==
+
==Umount==
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
sudo umount /mnt
sudo umount /mnt
</syntaxhighlight>
</syntaxhighlight>
−
=== Force umount ===
+
===Force umount===
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
sudo fuser -km /mnt
sudo fuser -km /mnt
sudo umount /mnt
sudo umount /mnt
+
</syntaxhighlight>
+
+
===Umount busy device===
+
<syntaxhighlight lang="bash">
+
umount -l /PATH/OF/BUSY-DEVICE
+
umount -f /PATH/OF/BUSY-NFS(NETWORK-FILE-SYSTEM)
+
</syntaxhighlight>
+
+
==Mount Luks5 Encrypted Drive==
+
<syntaxhighlight lang="bash">
+
sudo cryptsetup luksOpen /dev/sda1 Secrets
+
sudo mount /dev/mapper/Secrets /mnt
+
</syntaxhighlight>Umount Luks5<syntaxhighlight lang="bash">
+
sudo umount /mnt
+
sudo cryptsetup luksClose Secrets
</syntaxhighlight>
</syntaxhighlight>
Rafahsolis
Bureaucrats
,
Administrators
2,306
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version