home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / os2 / misc / 36796 < prev    next >
Encoding:
Text File  |  1992-11-17  |  2.7 KB  |  59 lines

  1. Newsgroups: comp.os.os2.misc
  2. Path: sparky!uunet!panther!mothost!white!rtsg.mot.com!lido16!wiegand
  3. From: wiegand@rtsg.mot.com (Robert Wiegand)
  4. Subject: Re: [.] and [..] keep showing up in root directory
  5. Message-ID: <wiegand.721948311@lido16>
  6. Sender: news@rtsg.mot.com
  7. Nntp-Posting-Host: lido16
  8. Reply-To: motcid!wiegand@uunet.uu.net
  9. Organization: Motorola Inc., Cellular Infrastructure Group
  10. References: <ioL5TB2w165w@dat1hb.north.de>
  11. Date: Mon, 16 Nov 1992 21:11:51 GMT
  12. Lines: 45
  13.  
  14. lion@dat1hb.north.de (Daniel Tietze) writes:
  15.  
  16. >Hi, everyone!
  17. >I am experiencing a wierd behaviour with OS/2 (CSD installed).
  18. >After running GhostScript (and watching it crash the system) I had two
  19. >entries in my root directory of drive C: . and .. , the latter being
  20. >not accessible ("the directory you have specified is not available").
  21. >My drive worked OK apart from that, and nothing else was influenced or
  22. >even trashed (not like some other postings I haveread in this newsgroup).
  23. >Yesterday I went throught the ordeal of backing up my DOS and OS/2 stuff
  24. >and reinstalling the system, even fiddling with the partitions. After
  25. >having reinstalled OS/2 (no service pack, no other apps) I had these
  26. >two entries AGAIN!
  27. >I formatted both the DOS and the OS/2 (HPFS) partition before installing the
  28. >system. Can anyone tell me why these two useless entries showed up again?
  29.  
  30. >My disk setup before reinstalling: Boot Manager, 1st primary partition
  31. >OS/2, 2nd primary partition: OS/2 (HPFS), and an extended FAT partition.
  32.  
  33. >My disk setup after reinstalling: Boot Manager, 1st primary partition
  34. >DOS, extended partition OS/2 (HPFS) and extended FAT partition.
  35.  
  36. >Can anyone analyse this behaviour and tell me what I have to do to get
  37. >rid of the entries . and .. ? Note: Everything works OK, both systems
  38. >boot without any trouble, having OS/2 on an extended partition gives me
  39. >access to the DOS partition. Reinstalling the OS/2 doesn't seem to be the
  40. >solution (as stated above).
  41.  
  42. These are supposed to be there. I'm not sure what you did to make them
  43. visible, but they were always there. The single dot "." is for the directory
  44. information, and the double dot ".." has information on the parent directory.
  45. For the root directory there is no parent.
  46.  
  47. Thats why specifying "." in a command such as "copy b: ." gives you the
  48. current directory. Specifying ".." such as "cd .." gives you the parent
  49. directory.
  50.  
  51. I would suspect you just changed the atributes on these from hidden to
  52. normal, which would explain why they are showing up in you directory.
  53.  
  54. -- 
  55. ------------------------------------------------------------------------------
  56. Robert Wiegand - Motorola Inc.
  57. motcid!wiegand@uunet.uu.net            uunet!motcid!wiegand
  58. Disclamer: I didn't do it - I was somewhere else at the time.
  59.