Re: Write protect access on USB port
Amit a écrit :
> Pascal Hambourg <pascal <at> plouf.fr.eu.org> writes:
>
>> That's because the filesystem is on a partition, not on the whole disk,
>> an the partition block device is still read-write.
>> The read-only flag must be set on the disk and all its partitions. I
>> guess udev can do this.
>
> I did this for the block device and the partitions as well.
Are you sure ?
I set the partition read-only too. When I mounted the ext4 filesystem on
it, mount detected the flag and mounted the volume read-only. Then I
unmounted the volume. The md5sum remained the same at each step.
Reply to: