Re: gdisk-created Bios Boot Partition created with NO fs, reports fs TYPE=ext4. Bug/why?

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

 



On Sun, Feb 15, 2015 at 10:38:56AM -0800, grantksupport@xxxxxxxxxxxxx wrote:
> I'm not entirely sure this is the right list for this question, but it IS ext4 'involved'.  So ...
> 
> I create a GPT Bios Boot Partition on a clean disk
> 
> 	sgdisk -z /dev/sdc
> 	sgdisk -o /dev/sdc
> 	sgdisk -n 1:2048:+1M    -t 1:ef02  -c 1:"BIOS Boot"           /dev/sdc
> 
> IIUC, at this point, the partition should exist with NO filesystem.
> 
> But, if I check with blkid
> 
> 	blkid /dev/sdc1
> 		/dev/sdc1: LABEL="RAID_BOOT" UUID="8a828baa-f315-4456-88d2-ff14849eb705" TYPE="ext4" PARTLABEL="BIOS Boot" PARTUUID="2b3b10b1-a458-481e-872c-bada7d244b13" 
> 
> Note that it IDs the filesystem type as
> 
> 	TYPE="ext4"
> 
> Why?

Wiping the partition table doesn't erase filesystem superblocks, so if there
previously was an sdc1 with an ext4 partition and the new sdc1 starts at the
same offset, the old fs is still accessible.

> Bios Boot Partition should have NO filesystem.
> 
> Is blkid correct?  Is there, or isn't there a fs on that partition?
> 
> if there isn't, what's causint the 'false' report?
> 
> If there IS, how do I make sure there isn't?

wipefs.

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




[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux