From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hugo Mills Subject: Re: Bug in mkfs.btrfs?! Date: Mon, 24 Jan 2011 17:00:24 +0000 Message-ID: <20110124170023.GA7576@carfax.org.uk> References: <20110122155612.GA3664@scooter> <20110123181827.GF29985@carfax.org.uk> <4D3CA568.7050506@libero.it> <20110124130104.GA7354@scooter> <20110124131341.GA3403@carfax.org.uk> <20110124135305.GB7354@scooter> <20110124142936.GB3403@carfax.org.uk> <20110124143448.GC3403@carfax.org.uk> <20110124144414.GD7354@scooter> <20110124165258.GA2562@scooter> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr" Cc: linux-btrfs@vger.kernel.org To: Felix Blanke Return-path: In-Reply-To: <20110124165258.GA2562@scooter> List-ID: --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jan 24, 2011 at 05:52:58PM +0100, Felix Blanke wrote: > util-linux-2.18-r1 and still no symlink following. > > I'll ask for that at the kernel mailing list in the next days. If your (Hugo) > util-linux doesn't include any kind of patches that behaviour is really strange. Just for reference: Package description page: http://packages.debian.org/squeeze/util-linux Original upstream sources Debian are using: http://ftp.de.debian.org/debian/pool/main/u/util-linux/util-linux_2.17.2.orig.tar.gz Debian patches on top of that source (mostly to the build system): http://ftp.de.debian.org/debian/pool/main/u/util-linux/util-linux_2.17.2-5.diff.gz Hugo. > > Felix > > On 24. January 2011 - 15:44, Felix Blanke wrote: > > Date: Mon, 24 Jan 2011 15:44:14 +0100 > > From: Felix Blanke > > To: Hugo Mills > > Cc: kreijack@inwind.it, linux-btrfs@vger.kernel.org > > Subject: Re: Bug in mkfs.btrfs?! > > > > > On Mon, Jan 24, 2011 at 02:29:36PM +0000, Hugo Mills wrote: > > > > If, instead, the initial losetup call tracked the symlinks back to > > > > the original device node (i.e. something like "/dev/sdb3", or > > > > "/dev/mapper/ruthven-btest" in my example), then the name that's > > > > stored in the kernel would be shorter, and we'd be less likely to see > > > > the truncation. This is what my copy of losetup seems to be doing. I > > > > can't see any distribution-specific patches in the source for > > > > util-linux that would do this, though. > > > > > > Hmm... Just had a thought: is > > > /dev/disk/by-id/ata-INTEL_SSDSA2M160G2GC_CVPO939201JX160AGN-part3 on > > > your system a symlink or a device node? What does ls -l say? > > > > It is a symlink created by udev: > > > > ls -l /dev/disk/by-id/ata-INTEL_SSDSA2M160G2GC_CVPO939201JX160AGN-part3 > > lrwxrwxrwx 1 root root 10 Jan 23 23:39 > > /dev/disk/by-id/ata-INTEL_SSDSA2M160G2GC_CVPO939201JX160AGN-part3 -> ../../sdb3 > > > > Following that link should work :) > > > > > > Felix > > > > > > > > Hugo. > > > -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Turning, pages turning in the widening bath, / The spine --- cannot bear the humidity. / Books fall apart; the binding cannot hold. / Page 129 is loosed upon the world. --liOOAslEiF7prFVr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFNPbAnIKyzvlFcI40RAtPOAJ0dGMNB9I6Nbgy38Fmmvj3euWJ7DACdGWEi HsVmIZCflMXjFLHHk87FLUM= =icpF -----END PGP SIGNATURE----- --liOOAslEiF7prFVr--