Re: USB flash drive opens read only -- how to fix?

2019-10-03 Thread tomas
On Thu, Oct 03, 2019 at 07:30:19AM +0200, Pascal Hambourg wrote: [...] > On the contrary. The usb-storage module has a parameter "quirks" > which allows to ignore the write-protect flag for a specific vid:pid > device (I do not remember the exact syntax). I was afraid that it > could be used to

Re: USB flash drive opens read only -- how to fix?

2019-10-02 Thread Pascal Hambourg
Le 03/10/2019 à 05:05, David Christensen a écrit : On 10/1/19 11:51 PM, to...@tuxteam.de wrote: Yep. Never forget -- there's a whole computer with its own OS in your flash drive. That "write protect" (sometimes) available as a physical switch is just communicated to your drivers via some

Re: USB flash drive opens read only -- how to fix?

2019-10-02 Thread David Christensen
On 10/1/19 11:51 PM, to...@tuxteam.de wrote: Yep. Never forget -- there's a whole computer with its own OS in your flash drive. That "write protect" (sometimes) available as a physical switch is just communicated to your drivers via some protocol over USB. I have two such drives, both old and

Re: USB flash drive opens read only -- how to fix?

2019-10-02 Thread David Wright
On Wed 02 Oct 2019 at 10:06:21 (-0400), Ken Heard wrote: > On 2019-10-01 11:03 p.m., David Christensen wrote: > > > I have read that some USB flash drives will revert to read-only > > mode when they detect an internal error. > > Makes sense I suppose, but in a negative way. I did not know that >

Re: USB flash drive opens read only -- how to fix?

2019-10-02 Thread Ken Heard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2019-10-02 2:51 a.m., to...@tuxteam.de wrote, in part: > Yep. Never forget -- there's a whole computer with its own OS in > your flash drive. That "write protect" (sometimes) available as a > physical switch is just communicated to your drivers

Re: USB flash drive opens read only -- how to fix?

2019-10-02 Thread Ken Heard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2019-10-01 11:03 p.m., David Christensen wrote: > I have read that some USB flash drives will revert to read-only > mode when they detect an internal error. Makes sense I suppose, but in a negative way. I did not know that flash drives (some?

Re: USB flash drive opens read only -- how to fix?

2019-10-02 Thread tomas
On Tue, Oct 01, 2019 at 08:03:50PM -0700, David Christensen wrote: [...] > >How could this drive be physically protected from writing to it when > >there is no switch on the drive itself to unable (or release) such > >physical protection? > > > >Regards, Ken > > I have read that some USB flash

Re: USB flash drive opens read only -- how to fix?

2019-10-01 Thread David Christensen
On 10/1/19 4:32 PM, Ken Heard wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2019-10-01 5:33 p.m., Pascal Hambourg wrote: Le 01/10/2019 à 23:09, Ken Heard a écrit : - - after unmounting and closing encryption running as root 'wipefs -a -f /dev/sdd' returns 'wipefs: error: /dev/sdd:

Re: USB flash drive opens read only -- how to fix?

2019-10-01 Thread Ken Heard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2019-10-01 5:33 p.m., Pascal Hambourg wrote: > Le 01/10/2019 à 23:09, Ken Heard a écrit : >> >> - - after unmounting and closing encryption running as root >> 'wipefs -a -f /dev/sdd' returns 'wipefs: error: /dev/sdd: probing >> initialization

Re: USB flash drive opens read only -- how to fix?

2019-10-01 Thread Pascal Hambourg
Le 01/10/2019 à 23:09, Ken Heard a écrit : - - after unmounting and closing encryption running as root 'wipefs -a -f /dev/sdd' returns 'wipefs: error: /dev/sdd: probing initialization failed: Read-only file system'. The USB flash drive is probably physically write-protected. Check the

USB flash drive opens read only -- how to fix?

2019-10-01 Thread Ken Heard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Messieurs et mesdames: Command 'mount' returns among other things the following two lines: /dev/mapper/fde on /media/fde type ext2\ (rw,nosuid,nodev,noexec,noatime,block_validity,barrier,user_xattr,acl) /dev/mapper/fdc on /media/fdc type ext2\