home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!crcnis1.unl.edu!moe.ksu.ksu.edu!matt.ksu.ksu.edu!news
- From: probreak@matt.ksu.ksu.edu (James Michael Chacon)
- Newsgroups: comp.os.linux
- Subject: Re: 2 files with the same name in single directory, 0.99pl3, extfs
- Date: 25 Jan 1993 08:09:08 -0600
- Organization: Kansas State University
- Lines: 27
- Message-ID: <1k0sa4INNhkj@matt.ksu.ksu.edu>
- References: <ig25.727796253@fg70> <C1Cwsq.8s@rshark.mixcom.com>
- NNTP-Posting-Host: matt.ksu.ksu.edu
-
- root@rshark.mixcom.com (Brian Kapitan) writes:
-
- >ig25@fg70.rz.uni-karlsruhe.de (Thomas Koenig) writes:
-
- >>I just had a very strange thing happening to me while trying to get lpr
- >>to work. In my spool directory, I suddenly had two files called ".seq"
- >>It was possible to remove them with a single rm - command.
-
- >You think that's strange--- i've had two copies of a certain man page
- >in cat1 forever....it's on a linux/minix file system. does any one know
- >how to get rid of one without the other, and without possibly damaging
- >the file system...cause obviously something is wrong....i was thinking of
- >trying rm -i <file>....
- >--
- >"If you wait long enough, a car will come." -- anon
- >Brian Kapitan, root@rshark.mixcom.com
-
- This hasn't come up in a while, but it can happen. Linus posted a while
- back that if you thrash the file system hard enough then multiple files
- with the same names can be created like this. To get rid of them is easy
- though.
-
- If you just type rm <filename>, then the first one it finds will be deleted,
- and the second one left alone. If you want to save the first one, just mv
- it to a different name, since again it will be the first one found.
-
- James
-