Example 4: Creating a symbolic link (NFS)

This example creates a symbolic link named big_dipper that references an object named ursa_major.jpg.

Unix command

ln -s /datamount/images/constellations/ursa_major.jpg
/datamount/constellations/common_names/big_dipper

Python code

import os
os.symlink("/datamount/images/constellations/ursa_major.jpg",
"/datamount/constellations/common_names/big_dipper"

Trademarks and Legal Disclaimer

© 2017 Hitachi Data Systems Corporation. All rights reserved.