Hard links to directories: why not?

J. Michael Berkley jmberkle at watnow.waterloo.edu
Thu Jul 19 05:14:08 AEST 1990


> On 18 Jul 90 18:23:30 GMT, jbm at eos.UUCP (Jeffrey Mulligan) said:

JBM> What should be the output of the last command of this sequence?

JBM> mkdir dir1
JBM> mkdir dir2
JBM> mkdir dir1/a_directory
JBM> ln dir1/a_directroy dir2/directory_link
JBM> cd dir2/directory_link
JBM> cd ..
JBM> pwd

dir1:
	- dir2/directory_link/.. is a link to dir1 that existed before
	  dir1/a_directory was linked to dir2/directory_link



More information about the Comp.unix.wizards mailing list