Skip to contentSkip to conversation

software read-only flag for rw partition or disk ?

DISCUSSION Yakov Lerner 2 participants 2 messages Jan 29, 2007 – Jan 30, 2007

lore
Share & tools
lore
#0 lore raw

Does /proc have any entries to flip the "software read-only flag" for a partition or disk (which are physically read-write) ? Yakov

#1 lore raw
Quoted 2 lines · Yakov Lerner

Does /proc have any entries to flip the "software read-only flag" for a partition or disk (which are physically read-write) ?

No, but you can use blockdev --setro /dev/hdXX

Phil.