GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    kaia (kaia@brotka.st)'s status on Wednesday, 20-Sep-2023 07:01:46 JST kaia kaia
    I learned that if in Linux you are in a folder /tmp/test and remove that folder from elsewhere, recreate the folder, but your terminal is still in /tmp/test, you will not see the files in the folder, since the old and new folders are not the same.
    In conversation Wednesday, 20-Sep-2023 07:01:46 JST from brotka.st permalink
    • lainy likes this.
    • Embed this notice
      hackbyte (hackbyte@friendica.utzer.de)'s status on Wednesday, 20-Sep-2023 07:03:41 JST hackbyte hackbyte
      in reply to
      @kaia man directory/filehandles.. ;)
      In conversation Wednesday, 20-Sep-2023 07:03:41 JST permalink
      kaia likes this.
    • Embed this notice
      😶‍🌫️ (engler@chaos.social)'s status on Wednesday, 20-Sep-2023 14:54:39 JST 😶‍🌫️ 😶‍🌫️
      in reply to

      @kaia Could be because of tmpfs(5) but I am not sure.

      In conversation Wednesday, 20-Sep-2023 14:54:39 JST permalink
      kaia likes this.
    • Embed this notice
      grillchen (grillchen@brotka.st)'s status on Wednesday, 20-Sep-2023 14:54:40 JST grillchen grillchen
      in reply to
      • 😶‍🌫️
      @engler @kaia nah it is inodes.

      internally the path is just an abstraction layer to make it human readable and for scripts and co to know where to go. but the actual folders are not identical

      works also in /home
      Terminal A:
      cd /home/user/removeme
      /home/user/removeme/testfile


      Terminal B:
      other terminal
      rm -r /home/user/removeme
      mkdir /home/user/removeme
      touch /home/user/removeme/testfile


      Terminal A:

      ls

      will return nothing.
      first the content got deleted but the terminal A is still in the first folders inodes.
      though a simple "cd ." will load the new content of the path
      In conversation Wednesday, 20-Sep-2023 14:54:40 JST permalink
      kaia likes this.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.