Re: harddisk "Write Protect" bit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 13, 2008 at 9:34 AM, Mulyadi Santosa
<mulyadi.santosa@xxxxxxxxx> wrote:
> Hi...
>
>
>  On Mon, May 12, 2008 at 12:42 PM, Peter Teoh <htmldeveloper@xxxxxxxxx> wrote:
>  > This is really nerve-cracking.
>  >
>  >  In one PC, my USB drive's dmesg output is:
>  >
>  >  sd 2:0:0:0: [sdd] 312581808 512-byte hardware sectors (160042 MB)
>  >  sd 2:0:0:0: [sdd] Write Protect is off
>  >  sd 2:0:0:0: [sdd] Mode Sense: 00 00 00 00
>  >  sd 2:0:0:0: [sdd] Assuming drive cache: write through
>  >  sd 2:0:0:0: [sdd] 312581808 512-byte hardware sectors (160042 MB)
>  >  sd 2:0:0:0: [sdd] Write Protect is off
>  >  sd 2:0:0:0: [sdd] Mode Sense: 00 00 00 00
>  >  sd 2:0:0:0: [sdd] Assuming drive cache: write through
>  >   sdd: sdd1 sdd2 sdd3 < sdd5 > sdd4
>  >  sd 2:0:0:0: [sdd] Attached SCSI disk
>  >
>  >
>  >  But in another PC, the output is (just the relevant entry):
>  >
>  >  "Write Protect is on".
>
>  Does this USB pen drive have somekind of write protect mechanism? Like
>  a button you can switch on and off?
>
>  regards,
>
>  Mulyadi.
>

Don't have.   This is a 2.5" harddisk.   When disconnected from that
PC that detect it as "Write Protect On" and connect to another PC, it
is immediately detected as "Write Protect Off".   And in the past, the
same disk can be mount on both PC as read-write.

And seemingly it is repeatable and device specific - other thumbdrive all ok.

With this, fdisk cannot write to the partition table, mount read-write
cannot work etc.   And specifically just on this PC.

-- 
Regards,
Peter Teoh

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux