Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

SD Clean/Linux: Difference between revisions

From Hacks Guide Wiki
m more assorted fixes, because i only ever notice issues one at a time for some reason
m actually have reader insert SD card
Line 9: Line 9:
{{warning|The commands in this guide are case-sensitive. Enter them exactly as written, or there may be unintended consequences.}}
{{warning|The commands in this guide are case-sensitive. Enter them exactly as written, or there may be unintended consequences.}}


# Make sure your SD card is '''not''' inserted
# Make sure your SD card is '''not''' inserted.
# Open a terminal window and type <code>watch lsblk</code>.
# Open a terminal window and type <code>watch lsblk</code>.
## Observe the output. It should match something like this: {{#tag:syntaxhighlight|
# Insert the SD card and watch for a new device appearing in lsblk.
## Observe the output for the new device. It should match something like this: {{#tag:syntaxhighlight|
NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
mmcblk0    179:0    0  3,8G  0 disk
mmcblk0    179:0    0  3,8G  0 disk
└─mmcblk0p1 179:1    0  3,7G  0 part /run/media/user/FFFF-FFFF
└─mmcblk0p1 179:1    0  3,7G  0 part /run/media/user/FFFF-FFFF
|lang=text}}
|lang=text}}
# Take note of the device name. In our example above, it was <code>mmcblk0p1</code>.
# Take note of the name of the device that now appears. In our example above, it was <code>mmcblk0p1</code>.
#* If <code>RO</code> is set to 1, make sure the lock switch is not slid down.
#* If <code>RO</code> is set to 1, make sure the lock switch is not slid down.
# Hit CTRL + C to exit the menu.
# Hit CTRL + C to exit the menu.