Path: csiph.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!feeds.phibee-telecom.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Newsgroups: linux.debian.user Subject: Re: slashes in filenames [was Re: Error while trying to install openssh-server on Buster] Date: Fri, 24 Jul 2020 15:30:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-user-request@lists.debian.org Fri Jul 24 13:23:02 2020 Old-Return-Path: X-Amavis-Spam-Status: No, score=-12.2 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -4.6 Dkim-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:Date; bh=U21To5ZODVuIShKMpQSIa6bJMrkaIqzbgLNUQ5gMjgM=; b=pQVZjBvfOgrS6JN2krPshwSLnutypvJt9szuH6eppJkmcEKqivyPsWo5Ff4glxDc/yTO8YwUVIjrlqMVQ74azn1EK7lFlTmdst7pPj90pnukFNT7UAenOFA9YhorEBTqLmVWuGGLAO1xTvVrrFZYaKBCEcyzIAJN/2uYK1frSImAsjc0YxicHzkBnkqBan6CS0ql56JM8wOJPlwaNaj42Ph9RvWPeR9/Aq5D02Oyy1jqyZOZnTl8z5T2UFeKun+k03IXG15u+J3tp3oQuajDXB4KWqeU+GtWsg2R7wijgTLsxTsSB96g7bOatedlbrRlxcGuSoORFoS37oW1Bwq6NQ==; MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Mailing-List: archive/latest/765513 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20200724132247.GA5154@tuxteam.de Approved: robomod@news.nic.it Lines: 43 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 24 Jul 2020 15:22:47 +0200 X-Original-Message-ID: <20200724132247.GA5154@tuxteam.de> X-Original-References: <5445829.3Tn0VsCLCc@s32> <20200722113854.GU22833@eeg.ccf.org> <20200722152624.dren37jvdpjuhi2q@qusp> <20200723102650.cof5usjjs2u3ordk@acr13.nuvreauspam> <5F1A1A36.2010204@fastmail.fm> <20200724114531.GG22833@eeg.ccf.org> <5F1ACAC6.3080207@fastmail.fm> <20200724115427.GH22833@eeg.ccf.org> Xref: csiph.com linux.debian.user:225187 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 24, 2020 at 07:54:27AM -0400, Greg Wooledge wrote: > On Fri, Jul 24, 2020 at 07:49:26AM -0400, The Wanderer wrote: > > Sounds like a case where directly editing the underlying device, to > > modify inode-or-equivalent contents such that the slash is no longer ^^^^^ Nitpick: the directory entry is the one carrying the name. > > there, might even be *advisable*. >=20 > Yeah, some sort of direct hex-edit on the unmounted file system's > device might be the only way to rename the file. If you have ext (for n>=3D2), you're lucky (actually, aren't we all, with so many high-quality file systems to choose from?). The file system check utility seems to take care of it (at least, the source code [1] suggests that). Cheers [1] https://sources.debian.org/src/e2fsprogs/1.45.6-1/e2fsck/pass2.c/?hl=3D= 494:503#L494 -- t --lrZ03NoBR/3+SXJZ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAl8a4KcACgkQBcgs9XrR2kZ9wgCeJIrExDy1AF1DAPwevn4pjwKh +CMAn25TplKI3WLs6hF5dkCV4GGS8K4A =I/0X -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ--