Re: [Bug 197311] Re: In order to support ext4, util-linux must use blkid (and not vol_id)
On Thu, 2009-09-03 at 14:45 +, mistrynitesh wrote: > On Wed, Sep 2, 2009 at 4:03 PM, Scott James Remnant > wrote: > > > > > This is a very large and invasive change, and is not one that we would > > backport to a stable release. > > > > I guess we are talking of the patch that Tso wrote to make 8.04 see the ext4 > partitions, right? Correct me if I am wrong. > No. We are talking about move from using libvolume-id from udev in some places, and libblkid from e2fsprogs in other places, to a newly combined library from util-linux in all places. Scott -- Scott James Remnant sc...@canonical.com -- In order to support ext4, util-linux must use blkid (and not vol_id) https://bugs.launchpad.net/bugs/197311 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 197311] Re: In order to support ext4, util-linux must use blkid (and not vol_id)
On Wed, Sep 2, 2009 at 4:03 PM, Scott James Remnant wrote: > > This is a very large and invasive change, and is not one that we would > backport to a stable release. > I guess we are talking of the patch that Tso wrote to make 8.04 see the ext4 partitions, right? Correct me if I am wrong. -- Nitesh http://techformyself.blogspot.com -BEGIN GEEK CODE BLOCK- Version: 3.12 GB/J/IT/O>TW d+(-) s+:+>: a- C+ UL>+++ P? L++>+++ E? W++ N? o? K? w--- O? M-- V? PS+() PE(++)(-) Y+ PGP+ t 5? X- R tv+ b+ DI D G e+++> h-- !r y? --END GEEK CODE BLOCK-- -- In order to support ext4, util-linux must use blkid (and not vol_id) https://bugs.launchpad.net/bugs/197311 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 197311] Re: In order to support ext4, util-linux must use blkid (and not vol_id)
On Tue, 2009-09-01 at 16:00 +, mistrynitesh wrote: > Should I be waiting for the patch to be updated in 8.04 repos? > This is a very large and invasive change, and is not one that we would backport to a stable release. Scott -- Scott James Remnant sc...@canonical.com -- In order to support ext4, util-linux must use blkid (and not vol_id) https://bugs.launchpad.net/bugs/197311 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 197311] Re: In order to support ext4, util-linux must use blkid (and not vol_id)
I would say no at this time---It's not very long until 10.04 when ext4 will be the standard, which will render the point moot. I'm currently with 9.10 & have used ext4 from it's early release. It has matured very well & looks ready for wide deployment with the next LTS. -- In order to support ext4, util-linux must use blkid (and not vol_id) https://bugs.launchpad.net/bugs/197311 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 197311] Re: In order to support ext4, util-linux must use blkid (and not vol_id)
Should I be waiting for the patch to be updated in 8.04 repos? -- In order to support ext4, util-linux must use blkid (and not vol_id) https://bugs.launchpad.net/bugs/197311 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 197311] Re: In order to support ext4, util-linux must use blkid (and not vol_id)
** Changed in: util-linux (Ubuntu) Status: Confirmed => Fix Released -- In order to support ext4, util-linux must use blkid (and not vol_id) https://bugs.launchpad.net/bugs/197311 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 197311] Re: In order to support ext4, util-linux must use blkid (and not vol_id)
On Sat, 2009-04-18 at 06:07 +, svaens wrote: > > So the optimum future is to merge libblkid and libvolume_id; we only > > need one library. > > Has someone already created an issue in launchpad for this, so we can all > track its progress? > I would like to see that this topic is not forgotten. Can't have Ubuntu > regressing to a more windows like state of operations ;) > There are several bugs that reference it, however the work is already done - we're simply waiting for the e2fsprogs upstream (Theodore Ts'o, who has commented on this bug) to merge the patches into his tree and put out an e2fsprogs release that can use an external libblkid Scott -- Scott James Remnant sc...@canonical.com -- In order to support ext4, util-linux must use blkid (and not vol_id) https://bugs.launchpad.net/bugs/197311 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 197311] Re: In order to support ext4, util-linux must use blkid (and not vol_id)
> So the optimum future is to merge libblkid and libvolume_id; we only > need one library. Has someone already created an issue in launchpad for this, so we can all track its progress? I would like to see that this topic is not forgotten. Can't have Ubuntu regressing to a more windows like state of operations ;) -- In order to support ext4, util-linux must use blkid (and not vol_id) https://bugs.launchpad.net/bugs/197311 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 197311] Re: In order to support ext4, util-linux must use blkid (and not vol_id)
Hopefully a merge between libblkid and libvolume_id wont be too far away. Sounds like the best option. -- In order to support ext4, util-linux must use blkid (and not vol_id) https://bugs.launchpad.net/bugs/197311 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 197311] Re: In order to support ext4, util-linux must use blkid (and not vol_id)
Thank you Scott-- That explains in a way that makes sense to me--As of right now, having EXT4 work with the system in it's present form is far better that not having it working at all.I do look forward to the day that both libraries are "blended" together to avoid the "reboot to see change" stupidity :) On a side note--looking at bootchart--I see a measurable difference in grub to gdm--with the same kernel, there is a 3 sec difference using EXT4. I can send you runs to look at if you wish...my system loads quite a bit & with the current kernel went from 42sec to 39sec. I know that 3sec isn't earth-shaking, but with the push to shave boot time it is 3sec quicker just by changing filesystem---So another plus in EXT4's column.. -- In order to support ext4, util-linux must use blkid (and not vol_id) https://bugs.launchpad.net/bugs/197311 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 197311] Re: In order to support ext4, util-linux must use blkid (and not vol_id)
On Fri, 2009-01-09 at 01:41 +, Dean Loros wrote: > Yes--Thank you Colin---I look forward to test EXT4. As for the question > of vol_id vs blkid, I would really like to know why it was changed from > Debian in the first place..As Theo noted: "I assume there was *some* > reason that util-linux decided to break from Debian and use the vol_id > library instead of blkid, but I believe that was an incorrect decision." > libvolume_id and libblkid sometimes give different answers as to the content of the same block device. This can lead to different opinions as to which block device has a given UUID. libblkid was used by the base tools such as mount and swapon which mount from /etc/fstab. But libvolume_id was used by the higher level tools such as udev and HAL which mount hotpluggable devices. That didn't cause too many problems. But then we switched to UUID-based mounting; our initramfs is udev based, so that means we use libvolume_id to mount the root filesystem by UUID. It also means we use libvolume_id to resume from hibernate, which is stored in the swap partition. Having mount and the initramfs disagree about which was your root partition, and having swapon and the initramfs disagree about which is your swap device... Bad Things Happened. So to solve the problem, we standardised on one library. Since SuSE had already written the patches, and util-linux was going through the util-linux -> util-linux-ng hiatus, libvolume_id was the one we picked. If the winds had been blowing from the opposite direction that day, we'd be having the same argument about breaking from Debian and patching hal, udev, initramfs, grub, etc. to use libblkid instead of libvolume_id. I can't please everyone ;-) The real problem is that we have two different libraries for doing the same thing. Actually, that's not entirely true. All libvolume_id contains are block device probing functions; you start off with a known block device (/dev/sdc1, for example) and ask it what it contains. libblkid is a bit more intelligent, it has a cache of known block devices and you can ask it for known UUIDs. If it doesn't know, it might scan new block devices; and if it does know, it double-checks to make sure it doesn't return you the wrong data. SuSE's patches (which we inherited) to util-linux get around the fact that libvolume_id doesn't behave this way by actually not using it at all. Instead they map UUID= and LABEL= mounts into /dev/disk/by-uuid and /dev/disk/by-label paths. These are maintained by udev based on its own probing calls with libvolume_id. Obviously because they're maintained by udev, there's a big drawback - it doesn't know if the filesystem changes. And that's why you have to reboot (or write the word "change" to the uevent file of the block device). That sucks. So the optimum future is to merge libblkid and libvolume_id; we only need one library. The final library should have a superset of both functionality. You should be able to ask it for information about an individual block device (and have as wide a range of support as libvolume_id does now), and you should be able to ask it for a UUID or LABEL using its cache. Ted, Kay and I have talked about this at various points since Plumbers' - I think we all agreed, but nobody's writing it quite yet Scott -- Scott James Remnant sc...@canonical.com -- In order to support ext4, util-linux must use blkid (and not vol_id) https://bugs.launchpad.net/bugs/197311 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 197311] Re: In order to support ext4, util-linux must use blkid (and not vol_id)
Thanks Theadore, got the curiosity of me too. Ext4 seems to be working well none the less. -- In order to support ext4, util-linux must use blkid (and not vol_id) https://bugs.launchpad.net/bugs/197311 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 197311] Re: In order to support ext4, util-linux must use blkid (and not vol_id)
Thank You---Well said. -- In order to support ext4, util-linux must use blkid (and not vol_id) https://bugs.launchpad.net/bugs/197311 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 197311] Re: In order to support ext4, util-linux must use blkid (and not vol_id)
At the time when I made the statement in the EXT4 HOWTO, vol_id didn't understand difference between ext4dev and ext4 filesystems. The bigger problem which is a major issue for people like me who are creating plenty of test filesystems is that vol_id patches to mount has the Windows-like property that newly created filesystems won't work until after you reboot. Personally, if you are willing to accept Windows- like flaws, you should use Windows. I am constantly creating and destroying filesystems, and the blkid libraries will detect and be able to resolve LABEL= and UUID= arguments right away. The vol_id patches to mount will fail to resolve LABEL= and UUID= parameters for newly created filesystems until you reboot, or give some magic command to force the vol_id subsystem to recreate and reprobe the /dev/disk/by-uuid and /dev/disk/by-label directories. Personally, I can never remember the magic command, and arguably, you shouldn't have to remember said magic command, especially when it's easier to recompile and replace util-linux with one that is compiled to use blkid. After all, if I was willing to deal with systems that require reboots before they function correctly, I'd be using Windows. :-) -- In order to support ext4, util-linux must use blkid (and not vol_id) https://bugs.launchpad.net/bugs/197311 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 197311] Re: In order to support ext4, util-linux must use blkid (and not vol_id)
Yes--Thank you Colin---I look forward to test EXT4. As for the question of vol_id vs blkid, I would really like to know why it was changed from Debian in the first place..As Theo noted: "I assume there was *some* reason that util-linux decided to break from Debian and use the vol_id library instead of blkid, but I believe that was an incorrect decision." -- In order to support ext4, util-linux must use blkid (and not vol_id) https://bugs.launchpad.net/bugs/197311 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 197311] Re: In order to support ext4, util-linux must use blkid (and not vol_id)
Thanks Colin, That is good news! I guess with the testing of Ext4 from tomorrow we'll know better for vol_id and blkid. -- In order to support ext4, util-linux must use blkid (and not vol_id) https://bugs.launchpad.net/bugs/197311 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 197311] Re: In order to support ext4, util-linux must use blkid (and not vol_id)
Is there discussion about the reasoning in breaking from all the upstream for vol_id? There must be some reason yet googleing and review of mailing lists has provided me with nothing except a empty blueprint. Is there some legacy code we are trying to support? I see in Colin's post that there is a difference in option but so far I can't find any opinions besides Ts'o's. -- In order to support ext4, util-linux must use blkid (and not vol_id) https://bugs.launchpad.net/bugs/197311 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 197311] Re: In order to support ext4, util-linux must use blkid (and not vol_id)
Tomorrow's daily builds of Jaunty should support ext4 installation and booting. I'm aware that there is a difference of opinion about vol_id vs. blkid but don't want to get into that myself; it at least doesn't seem to immediately impede the ability to install and boot. -- In order to support ext4, util-linux must use blkid (and not vol_id) https://bugs.launchpad.net/bugs/197311 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 197311] Re: In order to support ext4, util-linux must use blkid (and not vol_id)
I believe the current version of e2fsprogs within Jaunty is the latest or at least what is required for Ext4. Grub2 also working well for me. -- In order to support ext4, util-linux must use blkid (and not vol_id) https://bugs.launchpad.net/bugs/197311 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 197311] Re: In order to support ext4, util-linux must use blkid (and not vol_id)
please disregard the above comments, I wanted to put that one on the tracking bug of ext4. Sorry. -- In order to support ext4, util-linux must use blkid (and not vol_id) https://bugs.launchpad.net/bugs/197311 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 197311] Re: In order to support ext4, util-linux must use blkid (and not vol_id)
An update With grub giving us an update https://lists.ubuntu.com/archives/jaunty- changes/2009-January/002558.html grub (0.97-29ubuntu47) jaunty; urgency=low [ Colin King ] * New patch, ext4_support now allows grub to boot from ext4 partitions. This patch orginated from Quentin Godfroy util-linux util-linux (2.14-1ubuntu3) jaunty; urgency=low https://lists.ubuntu.com/archives/jaunty- changes/2009-January/002608.html * debian/rules: Install rules into /lib/udev/rules.d instead * debian/util-linux.dirs: Create new location, don't create old. * debian/util-linux.preinst: Remove the old rules if unmodified. and kernel 2.6.28 which is there since last week of december The only things remaining are e2fsprogs and ubiquity I guess. -- In order to support ext4, util-linux must use blkid (and not vol_id) https://bugs.launchpad.net/bugs/197311 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 197311] Re: In order to support ext4, util-linux must use blkid (and not vol_id)
So we have the 2.6.28 Kernel with Ext4 support now. Just waiting for it to appear in the installer. Have also filed a bug against the version of Grub2 within Jaunty and a wishlist for an Alternate install ISO with Grub2 being default. Please see bug #312310. -- In order to support ext4, util-linux must use blkid (and not vol_id) https://bugs.launchpad.net/bugs/197311 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 197311] Re: In order to support ext4, util-linux must use blkid (and not vol_id)
I have confirmed this & I also request we start testing GRUB2 so we can boot EXT4 as the / partition without creating a separate /boot partition. -- In order to support ext4, util-linux must use blkid (and not vol_id) https://bugs.launchpad.net/bugs/197311 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 197311] Re: In order to support ext4, util-linux must use blkid (and not vol_id)
** Changed in: util-linux (Ubuntu) Status: New => Confirmed -- In order to support ext4, util-linux must use blkid (and not vol_id) https://bugs.launchpad.net/bugs/197311 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 197311] Re: In order to support ext4, util-linux must use blkid (and not vol_id)
Isn't anyone going to confirm this? -- In order to support ext4, util-linux must use blkid (and not vol_id) https://bugs.launchpad.net/bugs/197311 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 197311] Re: In order to support ext4, util-linux must use blkid (and not vol_id)
I have to agree that now would be a perfect time to bring in Kernel 2.6.28 and introduce Ext4 to the dev cycle. At least by option. F-10 has already included it, it has already been 'deemed' stable so i don't see any point in waiting. I cannot confirm but i have read somewhere that it is now bootable with Grub legacy too. -- In order to support ext4, util-linux must use blkid (and not vol_id) https://bugs.launchpad.net/bugs/197311 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 197311] Re: In order to support ext4, util-linux must use blkid (and not vol_id)
Ver 2.14.1 is out upstream http://www.kernel.org/pub/linux/utils/util-linux-ng/v2.14/v2.14.1-ReleaseNotes Debian Experimental at RC2 For proper testing a 2.6.28 kernel should be used. -- In order to support ext4, util-linux must use blkid (and not vol_id) https://bugs.launchpad.net/bugs/197311 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 197311] Re: In order to support ext4, util-linux must use blkid (and not vol_id)
As we are now getting into Jaunty development, I will ask that this be reviewed...Jaunty would be a ideal time to do testing of the EXT4 filesystem---plenty of time before the next LTS to shake all of the bugs out. There is a thread in Jaunty development about this..http://ubuntuforums.org/showthread.php?t=965879 The poll is mostly positive & I think that the time is right to move forward with EXT4 -- In order to support ext4, util-linux must use blkid (and not vol_id) https://bugs.launchpad.net/bugs/197311 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 197311] Re: In order to support ext4, util-linux must use blkid (and not vol_id)
I was of the undertsanding that work was in progress to merge the various filesystem detection libraries into util-linux upstream... is that still the case? lamont -- In order to support ext4, util-linux must use blkid (and not vol_id) https://bugs.launchpad.net/bugs/197311 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 197311] Re: In order to support ext4, util-linux must use blkid (and not vol_id)
** Attachment added: "Patch to use blkid instead of vol_id" http://launchpadlibrarian.net/12341340/patch -- In order to support ext4, util-linux must use blkid (and not vol_id) https://bugs.launchpad.net/bugs/197311 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs