Re: hard links for directories ?

2004-08-18 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html] On Wednesday, 18 August 2004 at 21:11:52 -0500, David Kelly wrote: > On Aug 17, 2004, at 6:14 PM, Greg 'groggy' Lehey wrote: >>> Root is the only one allowed to make hard links to directories. >> >> This is not correct. root has

Re: hard links for directories ?

2004-08-18 Thread David Kelly
On Aug 17, 2004, at 6:14 PM, Greg 'groggy' Lehey wrote: Root is the only one allowed to make hard links to directories. This is not correct. root has no special powers here. OK, I'm a bit out of date and stand corrected. IIRC fsck used link(2) to reconnect an inode as a directory sometimes. "man

Re: hard links for directories ?

2004-08-17 Thread Greg 'groggy' Lehey
On Tuesday, 17 August 2004 at 9:55:03 -0500, David Kelly wrote: > > On Aug 17, 2004, at 12:24 AM, Greg 'groggy' Lehey wrote: > >> On Monday, 16 August 2004 at 22:02:11 -0700, Tim Traver wrote: >> >>> This may be a stupid question, but is it possible to make hard links >>> to >>> directories ??? I

Re: hard links for directories ?

2004-08-17 Thread Tim Traver
Greg, Well, specifically, I'm trying to link some directories inside a chrooted environment... THe filesystem also happens to be an nfs mounted one, so I know the files to be linked would have to be on the same volume, and separate systems deal with the filesystem integrity (NetApp)... So, how

Re: hard links for directories ?

2004-08-17 Thread David Kelly
On Aug 17, 2004, at 12:24 AM, Greg 'groggy' Lehey wrote: On Monday, 16 August 2004 at 22:02:11 -0700, Tim Traver wrote: This may be a stupid question, but is it possible to make hard links to directories ??? I know you can with files, and normally, you would do a soft link for directories, but is

Re: hard links for directories ?

2004-08-16 Thread Greg 'groggy' Lehey
On Monday, 16 August 2004 at 22:02:11 -0700, Tim Traver wrote: > Hi all, > > This may be a stupid question, but is it possible to make hard links to > directories ??? I know you can with files, and normally, you would do a > soft link for directories, but is there any way to finagle this ? Sure, t

hard links for directories ?

2004-08-16 Thread Tim Traver
Hi all, This may be a stupid question, but is it possible to make hard links to directories ??? I know you can with files, and normally, you would do a soft link for directories, but is there any way to finagle this ? Thanks, Tim. SimpleNet's Back ! http://www.simplenet.com