Hi John,

In your case

lrwxrwxrwx   1 BUBBA    TSHG          13 Jul  5 10:36 x -> /$SYSNAME/etc

I am expecting as

lrwxrwxrwx   1 BUBBA    TSHG          13 Jul  5 10:36 x -> $SYSNAME/etc

Like in my expectation it is without backward slash.

so if I issue under /MaintP21

ln -s /\$SYSNAME\etc \etc

i might get like

etc --- > /$SYSNAME/etc

So i was looking the result without the backward slash before $SYSNAME


On Tue, Jul 5, 2016 at 9:10 PM, John McKown <[email protected]>
wrote:

> On Tue, Jul 5, 2016 at 10:21 AM, Peter <[email protected]> wrote:
>
> > Hi Liz,
> >
> > Initially we had
> >
> > etc === > $SYSNAME/etc
> >
> > but i unlinked the etc and now i want to get back to the above structure
> >
> >
> ​Have you tried:
>
> ln -s /\$SYSNAME/etc /etc
>
> Example transcript (not etc since I already have that) from my system:
>
> LIH1:BUBBA:/$
> df .
> Mounted on     Filesystem                Avail/Total    Files      Status
>
> /              (OMVS.SYSPLEX.LIH1.ROOT.ZFS) 2508/2880      4294967246
> Available
> LIH1:BUBBA:/$
> ln -s /\$SYSNAME/etc /x
> LIH1:BUBBA:/$
> ls -l etc x
> lrwxrwxrwx   1 BPXROOT  SYS1          12 Jan  6  2010 etc -> $SYSNAME/etc
> lrwxrwxrwx   1 BUBBA    TSHG          13 Jul  5 10:36 x -> /$SYSNAME/etc
> LIH1:BUBBA:/$
> cd etc
> LIH1:BUBBA:/etc$
> df .
> Mounted on     Filesystem                Avail/Total    Files      Status
>
> /LIH1/etc      (OMVS.I17RS1.LIH1.ETC)    34308/40320    4294966929
> Available
> LIH1:BUBBA:/etc$
> cd /x
> LIH1:BUBBA:/x$
> df .
> Mounted on     Filesystem                Avail/Total    Files      Status
>
> /LIH1/etc      (OMVS.I17RS1.LIH1.ETC)    34308/40320    4294966929
> Available
> LIH1:BUBBA:/x$
>
> ​
>
>
>
> --
> "Pessimism is a admirable quality in an engineer. Pessimistic people check
> their work three times, because they're sure that something won't be right.
> Optimistic people check once, trust in Solis-de to keep the ship safe, then
> blow everyone up."
> "I think you're mistaking the word optimistic for inept."
> "They've got a similar ring to my ear."
>
> From "Star Nomad" by Lindsay Buroker:
>
> Maranatha! <><
> John McKown
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to