[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to hard link directories?
- To: silug-discuss@silug.org
- Subject: Re: how to hard link directories?
- From: "Casey Boone" <caseyboone@gmail.com>
- Date: Tue, 16 Mar 2010 23:52:48 +0000
- DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:x-rim-org-msg-ref-id :message-id:content-transfer-encoding:reply-to:x-priority :sensitivity:importance:subject:to:from:date:content-type :mime-version; bh=I5lnqAzeadObGoBlQ2lzhg7xIUr9vfr2irSg3G1Mhpc=; b=exEEyiHt43gH4Vql4jsxAcgIp0B6lkSXJjHtR2HChxM5HgwEyPPfJBxe3YfH9QImjG Xu98u9k/ImEwol3lrW8GsPGz8yPfXmaNkFpg62kZHnyoUS7bVuiXeVffsxXAZWl9keDY EXN1i6RXuc6XrjnRjuXBeI/vJNmTnjK0mcdlE=
- DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=x-rim-org-msg-ref-id:message-id:content-transfer-encoding:reply-to :x-priority:sensitivity:importance:subject:to:from:date:content-type :mime-version; b=AcsJd18HqabelqagdKQeAPdbeWv45G7URkdptX83q/mj7Qy53ItjHAtx5jubVeH8go T23xM37wJ0XS5Lv9pj+do4f/OfYUAFRjV1ehsj9XXxq61s5nXiPp13R5Xsh0FXfWD1tO e1P6oQfMRdVs8ohwnP1kg7ll/CDpm8XMF41gE=
- Importance: Normal
- Organization: Southern Illinois Linux Users Group
- Reply-To: caseyboone@gmail.com
- Sender: silug-discuss-owner@silug.org
- Sensitivity: Normal
Are you wanting to hardlink the directories themselves or the contents?
The former, which I think would work fine in your case, would be a bind mount. I am not at a machine to test from (on my crackberry), but mount --bind /path/to/file/location /path/to/mount/to comes to mind as the syntax
Same rules for destination mount point apply to this type of mount as well
Hope this helps
------Original Message------
From: Robert G. (Doc) Savage
Sender: silug-discuss-owner@silug.org
To: silug-discuss@silug.org
ReplyTo: silug-discuss@silug.org
Subject: how to hard link directories?
Sent: Mar 16, 2010 6:16 PM
I'd like to create a hard link between
/pub/fedora/linux/development/13/
and
/pub/fedora/linux/updates/13/
such that the contents of ./updates/13 exactly match those
of ./development/13 without consuming any more disk space.
I've been hammering away at various combinations and permutations of
'ln' without any luck. Is ln the correct utility to use? If so, what's
the syntax I should use?
--Doc
-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.
Sent from my CrackBerry
-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.