Re: [RFC] patches to initscripts

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



Am 07.12.2010 14:30, schrieb Dieter Plaetinck:
>> The problem is: If blkid finds more than one valid signature, it will
>> not return anything, and we will mistakenly believe that there is no
>> file system (and happily overwrite the drive). This part of
>> initscripts is giving me a headache everytime I touch it.
>>
> 
> what do the util-linux-ng maintainers say about that?
> Isn't this something that should be fixed in the blkid source code?

No, that won't be fixed - at least not the way you think.

Older blkid-like tools used to report the first matched signature. That
resulted in (for example) using an ext3 file system that also happened
to have a valid swap header as swapspace, destroying the ext3 file
system. (There are tons of other examples like this, in particular, old
versions of cryptsetup and mkswap didn't wipe old existing file system
headers.) It was decided that blkid will refuse to report any ambiguous
match as a match.

I'm thinking about requesting a feature that allows to report any match,
ambiguous or not.

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux