On Fri, Nov 16, 2001 at 03:18:28PM +0530, Dr. Sharukh K. R. Pavri. wrote:
> I am using pcqlinux 7.1. cfdisk o/p is as follows:
>
> Name Part Type FS Type Label] Size(MB)
> ---------------------------------------------
> hda1 * Primary Win95 FAT32 2204.38
> hda5 Logical Win95 FAT32 2097.45
> hda6 Logical Linux ext2 [/] 1677.96
> hda7 Logical Linux ext2 [/home] 320.79
> hda8 Logical Linux swap 131.61
> hda9 Logical Linux ext2 1702.64
> hda10 Logical Linux ext2 312.57
>
> I needed to access hda5 (D:) so I mounted it and ran ls
> on the one of the directories. I then had to attend to
> a (long) phone call and the computer went into sleep
> mode (hda5 was still mounted).
>
> Imagine my horror when, on re-awakening the pc, I found
> out that a large chunk of files *and* directories had
> simply disappeared from the partition.
>
IMHO, your ls has nothing to do with things disappearing.
The problems are, the way your system is configured. It
advisable (as a rule) to have all bootable OSs to be ins-
talled on a PRIMARY partition. Yours is on a ext-logical
with "/" at /dev/hda6. There is only one boot record for
partitions hda5-10, at the mother extended partition hda4
This is in physical contiguity with hda5.
By all probabilities, what has occured is a corruption of
the /dev/hda4 record. Please check this out with linux
fdisk ... in any case it would be prudent to remark it as
Type "f" (Win-9x LBA extended) or Type "5" (extended). By
all probabilities, all the Win directories which disapp-
eared, are likely to come back.
> This is not the first time this has happened. I have
> experienced this to varying degrees of severity on two
> differnet installs of pcql 77.1 on different machines.
>
As long as you continue installing bootable OSs on exten-
ded partitions, this type of thing will WILL happen. This
has nothing to do with PCQ or RH per se. If you install
Linux on a extended partition it would be prudent to keep
"/" partition at the first ext-logical (viz /dev/hda5).
Bish.
--
:
####[ Linux One Stanza Tip (LOST) ]###########################
Sub : Word, line and byte counts of text files LOST #143
The wc util is specifically for this purpose. For this file:
o wc 143.lost reveals : lines words bytes filename
12 57 428 143.lost
o wc -L filname ... reveals the length of the longest line
####<[EMAIL PROTECTED]>####################################
:
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help