SYS:Storage/Hollywood/
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 595 from 2007/10/23
    From: Gelsenkirchen,...
    Hello!

    My SYS: is R/O so I made a link from SYS:Storage/Hollywood/ to a R/W partition.
    Code:
    > bin:ls -l SYS:Storage/
    total 14
    lrwxrwxrwx 1 nobody nogroup 1024 Jan 1 1970 Hollywood -> /DH0/Storage/Hollywood
    drwx------ 2 nobody nogroup 1024 Nov 10 2019 NetInterfaces
    -rwx------ 1 nobody nogroup 6253 Nov 10 2019 NetInterfaces.info
    drwx------ 2 nobody nogroup 1024 Apr 13 2020 Screenshots

    But AmiBrixx does not like it: "SYS:Storage/Hollywood/hollywood.000000/zip.hwp"
    Code:
    > bin:ls -lR SYS:Storage/Hollywood/
    'SYS:Storage/Hollywood/':
    total 1
    -rwx------ 1 nobody nogroup 0 Nov 11 23:02 hollywood.000000

    ...because hollywood.000000 will be a file, not a directory.
    Maybe I need a hardlink and SFS does not support it?
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17"
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.15
  • »11.11.20 - 21:10
    Profile
  • MorphOS Developer
    cyfm
    Posts: 424 from 2003/4/11
    From: Germany
    SFS never supported hardlinks (across partitions) and most likely never will.
  • »11.11.20 - 23:48
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Templario
    Posts: 396 from 2012/4/28
    Quote:

    polluks escribió:
    Hello!

    My SYS: is R/O so I made a link from SYS:Storage/Hollywood/ to a R/W partition.
    Code:
    > bin:ls -l SYS:Storage/
    total 14
    lrwxrwxrwx 1 nobody nogroup 1024 Jan 1 1970 Hollywood -> /DH0/Storage/Hollywood
    drwx------ 2 nobody nogroup 1024 Nov 10 2019 NetInterfaces
    -rwx------ 1 nobody nogroup 6253 Nov 10 2019 NetInterfaces.info
    drwx------ 2 nobody nogroup 1024 Apr 13 2020 Screenshots

    But AmiBrixx does not like it: "SYS:Storage/Hollywood/hollywood.000000/zip.hwp"
    Code:
    > bin:ls -lR SYS:Storage/Hollywood/
    'SYS:Storage/Hollywood/':
    total 1
    -rwx------ 1 nobody nogroup 0 Nov 11 23:02 hollywood.000000

    ...because hollywood.000000 will be a file, not a directory.
    Maybe I need a hardlink and SFS does not support it?


    You tell to Andreas.
  • »12.11.20 - 09:20
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 595 from 2007/10/23
    From: Gelsenkirchen,...
    Quote:

    cyfm schrieb:
    SFS never supported hardlinks (across partitions) and most likely never will.



    So T: would be a better place because the files will be deleted afterwards?

    [ Editiert durch polluks 12.11.2020 - 19:29 ]
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17"
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.15
  • »12.11.20 - 09:56
    Profile
  • Caterpillar
    Caterpillar
    softwarefailure
    Posts: 25 from 2011/4/24
    See: https://forums.hollywood-mal.com/viewtopic.php?f=4&t=1547
  • »07.12.20 - 19:14
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 595 from 2007/10/23
    From: Gelsenkirchen,...
    Thank you, but
    Code:
    copy SYS:Storage/Hollywood/hollywood.000000/ LIBS:Hollywood/

    didn't help.
    Code:
    > version LIBS:Hollywood/zip.hwp full
    zip.hwp 1.1 (18.02.18)
    [MorphOS]

    I still get
    Code:
    Cannot write to file SYS:Storage/Hollywood/hollywodd.000000/zip.hwp
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17"
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.15
  • »08.12.20 - 15:29
    Profile
  • jPV
  • Paladin of the Pegasos
    Paladin of the Pegasos
    jPV
    Posts: 1720 from 2003/2/24
    From: po-RNO
    It's because author of the game has decided to link the plugins into the executable, and they are always extracted to that storage location and used from there no matter if the same plugins would be available globally.

    I don't know why Hollywood can't write into the softlinked directory... could it be related that directory creating doesn't seem to work from the MorphOS shell into softlinks either?

    System:> makelink softlink t:
    System:> makedir softlink/testdir
    Cannot create directory softlink/testdir
    object is soft link

    Is this a bug somewhere?

    Other kind of file operations seem to work:
    System:> echo "test" > softlink/testfile
    System:> copy MorphOS.readme softlink/
  • »08.12.20 - 16:01
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 595 from 2007/10/23
    From: Gelsenkirchen,...
    @jPV
    That's a good question!
    "dir softlink/" works
    "list softlink/" fails

    As Andreas mentioned in the thread static plugins were not a design feature.
    The missing flexibility seems to be suboptimal, Hollywood behaves like a docker.
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17"
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.15
  • »09.12.20 - 08:50
    Profile
  • Caterpillar
    Caterpillar
    softwarefailure
    Posts: 25 from 2011/4/24
    Quote:

    polluks wrote:
    @jPV
    That's a good question!
    "dir softlink/" works
    "list softlink/" fails

    As Andreas mentioned in the thread static plugins were not a design feature.
    The missing flexibility seems to be suboptimal, Hollywood behaves like a docker.



    What is a docker?
  • »24.12.20 - 12:49
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 595 from 2007/10/23
    From: Gelsenkirchen,...
    "Containers are isolated from one another and bundle their own software, libraries and configuration files"
    https://en.wikipedia.org/wiki/Docker_(software)
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17"
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.15
  • »24.12.20 - 19:57
    Profile