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