Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #240145

Re: Lock tab on SD card?

Path csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!bofh.it!news.nic.it!robomod
From "Andrew M.A. Cater" <amacater@einval.com>
Newsgroups linux.debian.user
Subject Re: Lock tab on SD card?
Date Sun, 19 Sep 2021 14:00:01 +0200
Message-ID <CZ3Ed-6Li-7@gated-at.bofh.it> (permalink)
References <CYMtH-4KS-3@gated-at.bofh.it> <CYNSO-5HI-3@gated-at.bofh.it>
X-Original-To debian-user@lists.debian.org
X-Mailbox-Line From debian-user-request@lists.debian.org Sun Sep 19 11:59:16 2021
Old-Return-Path <amacater@einval.com>
X-Amavis-Spam-Status No, score=-9.3 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
X-Mailing-List <debian-user@lists.debian.org> archive/latest/780864
List-ID <debian-user.lists.debian.org>
List-URL <https://lists.debian.org/debian-user/>
List-Archive https://lists.debian.org/msgid-search/YUcmBMIfYAdYaqTv@einval.com
Approved robomod@news.nic.it
Lines 39
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sun, 19 Sep 2021 11:59:00 +0000
X-Original-Message-ID <YUcmBMIfYAdYaqTv@einval.com>
X-Original-References <20210918172826.2309.qmail@rahul.net> <20210918190614.jdyuich3ofkyze4q@randomstring.org>
Xref csiph.com linux.debian.user:240145

Show key headers only | View raw


On Sat, Sep 18, 2021 at 03:06:14PM -0400, Dan Ritter wrote:
> John Conover wrote: 
> > 
> > Mounting an SD card with the lock tab enabled mounts as read only.
> > 
> > But can Linux still write to the SD card, under any circumstances?
> 
> Under *any* circumstances? Yes.
> 
> Those circumstances include:
> 
> - a broken lock position sensor on the SD card reader
> 
> - the SD card is actually a microSD card in an adaptor; moving
>   it to a microSD reader or a different adaptor will work
> 
> - the reader has been altered away from spec
> 
> - the lock tab is moved
> 
> Note that Linux needs to remount a read-only filesystem to make
> it read-write.
> 
> Now, what is the problem you are actually trying to solve?
> 
> -dsr-
> 

I'll agree with all Dan has written: there's also the real annoyance and
difficulty that it is small and hard to see and invariably gets locked
when you least expect it and you're trying to work out why you can't copy
a file to an SD card to make it bootable :)

if you're worried about "Can Linux override a physical switch" - the answer
is no, in general terms.

All the very best, as ever,

Andy Cater

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Lock tab on SD card? conover@rahul.net (John Conover) - 2021-09-18 19:40 +0200
  Re: Lock tab on SD card? David Christensen <dpchrist@holgerdanske.com> - 2021-09-18 20:50 +0200
  Re: Lock tab on SD card? Dan Ritter <dsr@randomstring.org> - 2021-09-18 21:10 +0200
    Re: Lock tab on SD card? "Andrew M.A. Cater" <amacater@einval.com> - 2021-09-19 14:00 +0200

csiph-web