From: Joshua J. B. <con...@co...> - 2005-09-25 06:44:07
|
On Saturday 24 September 2005 22:03, Samuel Goto wrote: > I can see that there are special call backs for creating symbolic > and hardlinks, but once I create a link, how can I internally > represent it and tell getattr( file ) that this file is a symbolic > link instead of a regular/directory file ? Look at struct stat's st_mode field. =2D-=20 Joshua J. Berry "I haven't lost my mind -- it's backed up on tape somewhere." -- /usr/games/fortune |