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

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

 



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$

- 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