Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #225189

Re: slashes in filenames [was Re: Error while trying to install openssh-server on Buster]

From The Wanderer <wanderer@fastmail.fm>
Newsgroups linux.debian.user
Subject Re: slashes in filenames [was Re: Error while trying to install openssh-server on Buster]
Date 2020-07-24 15:50 +0200
Message-ID <Aw6ff-7W6-3@gated-at.bofh.it> (permalink)
References (4 earlier) <AvSFk-82V-7@gated-at.bofh.it> <Aw4n8-6Oy-1@gated-at.bofh.it> <Aw4wO-6RD-5@gated-at.bofh.it> <Aw4wO-6RD-3@gated-at.bofh.it> <Aw5VT-7Ps-3@gated-at.bofh.it>
Organization This space intentionally left blank.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 2020-07-24 at 09:22, tomas@tuxteam.de wrote:

> 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.

I had the impression that even a directory is stored in/as something
that is at least analogous to an inode. Is there a different term that's
more appropriate for the on-disk structure which holds a directory, vs.
'inode' for the one that holds a file?

>>> there, might even be *advisable*.
>> 
>> 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<n> (for n>=2), 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).

> [1] https://sources.debian.org/src/e2fsprogs/1.45.6-1/e2fsck/pass2.c/?hl=494:503#L494

It does seem to suggest that, but when I run

$ /sbin/e2fsck /tmp/testfs

on the tiny filesystem created as in my previous mail, it doesn't report
finding any problems and seem to change anything.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Error while trying to install openssh-server on Buster rhkramer <rhkramer.s32@gmail.com> - 2020-07-22 04:10 +0200
  Re: Error while trying to install openssh-server on Buster Andrew Cater <amacater@gmail.com> - 2020-07-22 13:10 +0200
    Resolved (without understanding ;-) (was: Re: Error while trying to install openssh-server on Buster) rhkramer <rhkramer.s32@gmail.com> - 2020-07-22 20:40 +0200
      Re: Resolved (without understanding ;-) (was: Re: Error while trying  to install openssh-server on Buster) Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-22 21:00 +0200
        Re: Resolved (without understanding ;-) (was: Re: Error while trying to install openssh-server on Buster) rhkramer@gmail.com - 2020-07-22 22:30 +0200
      Re: Resolved (without understanding ; -) (was: Re: Error while trying  to install openssh-server on Buster) David Wright <deblis@lionunicorn.co.uk> - 2020-07-22 21:30 +0200
        Re: Resolved (without understanding ; -) (was: Re: Error while  trying to install openssh-server on Buster) <tomas@tuxteam.de> - 2020-07-23 10:20 +0200
          Re: Resolved (without understanding ; -) (was: Re: Error while  trying to install openssh-server on Buster) David Wright <deblis@lionunicorn.co.uk> - 2020-07-24 01:50 +0200
            Re: Resolved (without understanding ; -) (was: Re: Error while  trying to install openssh-server on Buster) <tomas@tuxteam.de> - 2020-07-24 11:00 +0200
              Re: Resolved (without understanding ; -) (was: Re: Error while  trying to install openssh-server on Buster) Andrei POPESCU <andreimpopescu@gmail.com> - 2020-07-24 11:10 +0200
                Antipatterns and Handcuffs [was: Re: Resolved (without understanding  ...] <tomas@tuxteam.de> - 2020-07-24 11:30 +0200
  Re: Error while trying to install openssh-server on Buster Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-22 13:40 +0200
    Re: Error while trying to install openssh-server on Buster Jonathan Dowland <jon+debian-user@dow.land> - 2020-07-22 17:30 +0200
      Re: Error while trying to install openssh-server on Buster Andrei POPESCU <andreimpopescu@gmail.com> - 2020-07-23 12:30 +0200
        slashes in filenames [was Re: Error while trying to install openssh-server  on Buster] The Wanderer <wanderer@fastmail.fm> - 2020-07-24 01:20 +0200
          Re: slashes in filenames [was Re: Error while trying to install openssh-server on Buster] Stefan Monnier <monnier@iro.umontreal.ca> - 2020-07-24 01:30 +0200
          Re: slashes in filenames [was Re: Error while trying to install  openssh-server on Buster] Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-24 13:50 +0200
            Re: slashes in filenames [was Re: Error while trying to install  openssh-server on Buster] Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-24 14:00 +0200
              Re: slashes in filenames [was Re: Error while trying to install  openssh-server on Buster] <tomas@tuxteam.de> - 2020-07-24 15:30 +0200
                Re: slashes in filenames [was Re: Error while trying to install openssh-server  on Buster] The Wanderer <wanderer@fastmail.fm> - 2020-07-24 15:50 +0200
                Re: slashes in filenames [was Re: Error while trying to install openssh-server  on Buster] The Wanderer <wanderer@fastmail.fm> - 2020-07-24 16:00 +0200
                Re: slashes in filenames [was Re: Error while trying to install  openssh-server on Buster] <tomas@tuxteam.de> - 2020-07-24 16:10 +0200
                Re: slashes in filenames [was Re: Error while trying to install  openssh-server on Buster] <tomas@tuxteam.de> - 2020-07-24 16:00 +0200
                Re: slashes in filenames [was Re: Error while trying to install  openssh-server on Buster] Michael Stone <mstone@debian.org> - 2020-07-24 16:00 +0200
                Re: slashes in filenames [was Re: Error while trying to install  openssh-server on Buster] Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-24 16:00 +0200
                Re: slashes in filenames [was Re: Error while trying to install  openssh-server on Buster] <tomas@tuxteam.de> - 2020-07-24 16:10 +0200
            Re: slashes in filenames [was Re: Error while trying to install openssh-server  on Buster] The Wanderer <wanderer@fastmail.fm> - 2020-07-24 14:00 +0200
        Re: Error while trying to install openssh-server on Buster Jonathan Dowland <jon+debian-user@dow.land> - 2020-07-24 16:10 +0200
          Re: Error while trying to install openssh-server on Buster Andrei POPESCU <andreimpopescu@gmail.com> - 2020-07-24 16:20 +0200
            Re: Error while trying to install openssh-server on Buster <tomas@tuxteam.de> - 2020-07-24 18:00 +0200
              Re: Error while trying to install openssh-server on Buster Andrei POPESCU <andreimpopescu@gmail.com> - 2020-07-24 20:50 +0200
                Re: Error while trying to install openssh-server on Buster Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-24 21:20 +0200
                Re: Error while trying to install openssh-server on Buster <tomas@tuxteam.de> - 2020-07-25 11:40 +0200
    Re: Error while trying to install openssh-server on Buster Anssi Saari <as@sci.fi> - 2020-07-22 20:50 +0200

csiph-web