BertoldVdb / sdtool

A small tool for managing the write protection flag of SD cards.

Home Page:https://bertold.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RCA not found.

A-Akhil opened this issue · comments

┌─[akhil@akhil] - [~] - [Thu Jul 11, 14:32]
└─[$] <> ls -la /sys/bus/mmc/devices/
total 0
drwxr-xr-x 2 root root 0 Jul 11 14:31 .
drwxr-xr-x 4 root root 0 Jul 11 14:31 ..

└─[$] <> lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 345.6G 0 part
├─sda2 8:2 0 195.3G 0 part
├─sda3 8:3 0 195.3G 0 part
├─sda4 8:4 0 98.5G 0 part
└─sda5 8:5 0 96.9G 0 part
sdb 8:16 1 119.1G 0 disk
└─sdb1 8:17 1 119.1G 0 part
zram0 254:0 0 3.7G 0 disk [SWAP]
nvme0n1 259:0 0 238.5G 0 disk
├─nvme0n1p1 259:1 0 1G 0 part /boot
└─nvme0n1p2 259:2 0 237.5G 0 part /home
/var/log
/var/cache/pacman/pkg
/.snapshots
/

└─[$] <> sudo hdparm -r0 /dev/sdb1
[sudo] password for akhil:

/dev/sdb1:
setting readonly to 0 (off)
readonly = 0 (off)

The disk to be formatted is sdb1

Thanks in advance