[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/38182: fsck_msdos requires too many resources
>Synopsis: fsck_msdos requires too many resources
>Arrival-Date: Thu Mar 06 09:15:01 +0000 2008
>Originator: Roland Illig
>Release: NetBSD 4.99.30
NetBSD bacc.roland-illig.de 4.99.30 NetBSD 4.99.30 (GENERIC) #2: Fri Aug 31
20:40:16 CEST 2007
When starting fsck_msdos, it allocates the memory for the FATs to compare them.
I have a 110 GB MSDOS partition for which this amounts to about 1 GB of RAM
being consumed. Since the swap space is usually available, this is not a
problem, but when it is run during booting, it allocates the memory using the
break() function, which cannot allocate that much memory at one time. I'll
append the exact error message later.
Don't load the complete FATs into memory, but compare them block-wise.
Main Index |
Thread Index |