Re: [PATCH] libblkid: Add initial support for BeFS detection

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

 



2010/1/22 Jeroen Oortwijn <oortwijn@xxxxxxxxx>:
> 2010/1/18 Karel Zak <kzak@xxxxxxxxxx>:
>> On Sun, Jan 17, 2010 at 08:12:49PM +0100, Jeroen Oortwijn wrote:
>>> Now, I think this should be fixed in libblkid and not in the befs
>>> module: when it encounters an extended partition, it should not probe
>>> for a file system on it as it couldn't contain one (it's only 1024
>>
>>  Yes, so small device should be ignored at all. I'll fix it.
>
> When I probe the extended partition using the latest blkid, it doesn't
> detect it as befs any longer (thanks!). But the default output doesn't
> contain a newline at the end, so the command prompt will be placed
> immediately after it:
>
> jeroen@Idefix:~/Builds/util-linux-ng$ sudo blkid -p /dev/sdb4
> /dev/sdb4: PTTYPE="dos" jeroen@Idefix:~/Builds/util-linux-ng$
>
> The output when probing normal partitions does contain a newline:
>
> jeroen@Idefix:~/Builds/util-linux-ng$ sudo blkid -p /dev/sdb1
> /dev/sdb1: LABEL="Haiku test" TYPE="befs" USAGE="filesystem"
> jeroen@Idefix:~/Builds/util-linux-ng$

Also noticed that the probing output of first extended partition
contains PTTYPE, while the output of the second one (and primary
partitions) doesn't:

jeroen@Idefix:~/Builds/util-linux-ng$ sudo blkid -p /dev/sdb5
/dev/sdb5: PTTYPE="dos" LABEL="Ubuntu"
UUID="1a89f653-e2da-4929-8b1e-444452817252" VERSION="1.0" TYPE="ext4"
USAGE="filesystem"
jeroen@Idefix:~/Builds/util-linux-ng$ sudo blkid -p /dev/sdb6
/dev/sdb6: UUID="af48bccd-d3c4-4159-a81a-97cf7c711f6e" VERSION="2"
TYPE="swap" USAGE="other"
jeroen@Idefix:~/Builds/util-linux-ng$

- Jeroen
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux