How to create 'link files' in MorphOS?
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    ausPPC
    Posts: 543 from 2007/8/6
    From: Pending...
    There are a number of these in the MorphOS SDK that just 'point' to actual files in other folders. I think they're also called 'links' under Linux and 'shortcuts' under windows and it's trivial to create them on those OSes. How are they made on MorphOS?
    PPC assembly ain't so bad... ;)
  • »05.01.11 - 23:27
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12074 from 2003/5/22
    From: Germany
    > 'shortcuts' under windows

    I think that's something else technically, albeit serving a similar purpose.

    http://en.wikipedia.org/wiki/File_shortcut#Microsoft_Windows

    See there for the conceptual difference:

    http://en.wikipedia.org/wiki/Symbolic_link#Shortcuts

    > How are they made on MorphOS?

    The same way they are made on Amiga(D)OS.

    http://en.wikipedia.org/wiki/Symbolic_link#Amiga
  • »06.01.11 - 00:17
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    ausPPC
    Posts: 543 from 2007/8/6
    From: Pending...
    Aha - thank you for that. I see it there in my DOS manual now but never used it before.
    PPC assembly ain't so bad... ;)
  • »06.01.11 - 02:06
    Profile Visit Website
  • MorphOS Developer
    jacadcaps
    Posts: 2971 from 2003/3/5
    From: Canada
    To create links just use the 'makelink' command.

    And btw, Windows has softlinks as well - in NTFS. They're called junctions. A Windows 'shortcut' isn't one.
  • »06.01.11 - 11:19
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    boot_wb
    Posts: 874 from 2007/4/9
    From: Kingston upon ...
    (Seemed better to resurrect this old thread rather than create another)

    Some working around is needed to delete softlinks, as the Ambient delete buttons and context-menu commands address the softlink's target, rather than the link itself.
    Softlinks can be deleted using rm (part of the SDK), but is there anything in the default OS install which can do this, or a more obvious solution which I'm missing?

    Also, softlinks cannot be addressed opaquely using Ambient mimetypes.
    The commands "gg:bin/rm %sp" or "gg:bin/rm %sf" (+ changing working directory to current) are seen transparently, and the command attempts to delete the softlink target rather than the link itself. Is there some funky AmigaDOS pattern-matching magic I'm missing that would address the softlink rather than its target?
    www.hullchimneyservices.co.uk

    UI: Powerbook 5,6 (1.67GHz, 128MB VRam): OS3.1, OSX 10.5.8
    HTPC: Mac Mini G4 (1,5GHz, 64MB VRam): OS3.1 (ZVNC)
    Audiophile: Efika 5200b (SB Audigy): OS3.1 (VNC + Virtual Monitor)

    Windows free since 2011!
  • »24.06.12 - 14:54
    Profile Visit Website
  • Just looking around
    waleed432
    Posts: 1 from 2014/11/8
    Are you shure that the compiler generates Altivec instructions with -mcpu=powerpc?
    I don'tthink so.
    We offer up to date Braindumps.com exam practice questions with self NS0-504 test engine to help you pass harvard.edu exam
  • »08.11.14 - 05:14
    Profile