hardlink.py revision 237
49N/A# The contents of this file are subject to the terms of the 49N/A# Common Development and Distribution License (the "License"). 49N/A# You may not use this file except in compliance with the License. 49N/A# See the License for the specific language governing permissions 49N/A# and limitations under the License. 49N/A# When distributing Covered Code, include this CDDL HEADER in each 49N/A# If applicable, add the following below this CDDL HEADER, with the 49N/A# fields enclosed by brackets "[]" replaced with your own identifying 49N/A# information: Portions Copyright [yyyy] [name of copyright owner] 49N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 49N/A# Use is subject to license terms. 49N/A"""module describing a (hard) link packaging object 49N/AThis module contains the HardLinkAction class, which represents a hardlink-type 49N/Apackaging object.""" 49N/A """Class representing a hardlink-type packaging object.""" 237N/A """ return a path for target that is relative to image""" 237N/A # paths are either relative to path or absolute 237N/A # both need to be passed through os.path.normpath to isure 237N/A # that all ".." are removed to constrain target to image 96N/A """Client-side method that installs a hard link.""" 237N/A return [
"Path and Target (%s) inodes not the same" % \
237N/A return [
"Unexected exception: %s" % e]