Autor Beitrag
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Sa 06.11.04 17:53 
Da das in der Shoutbox diskutiert wurde, wollte ich mal anfragen, was ihr meint.

Meine Schätzung wären 2847 Ordner + Hauptverzeichnis

@Mods: könnte mal eine Umfrage angehangen werden? Antworten wären 128, 512, <2048, 2847, <4096, >=4096. TIA.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Coder
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1383
Erhaltene Danke: 1

WinXP
D2005 PE
BeitragVerfasst: Sa 06.11.04 18:15 
(hehe, die Idee kam von mir)

k, Ich glaub mal das is von Diskette zu Diskette unterschiedlich und hängt auch davon ab wie die Ordner angeordnet sind. :gruebel: Oder?
bms
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 735

Win XP
Delphi 3, Delphi 6 PE, Delphi 2005 PE
BeitragVerfasst: Sa 06.11.04 18:27 
Da mein Diskettenlaufwerk kaputt ist und ich es nicht prüfen kann, will ich mal der Spielverderber sein :twisted:

Exe auf Disk packen und los gehts.

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
procedure TForm1.Button1Click(Sender: TObject);
var
  p: String;
  i: Integer;
begin
  p := ExtractFilePath(Paramstr(0));
  for i := 1 to 10000 do
  begin
    if not CreateDir(p + 'Dir' + IntToStr(i)) then
    begin
      MessageDlg(Format('Fehler beim %d Ordner.', [i]), mtError, [mbOk], 0);
      Exit;
    end;
    Caption := Format('%d Ordner wurden angelegt.', [i]);
  end;
end;


Bei der Festplatte bin ich bis 10000 gegangen. Mehr hab ich micht nicht getraut. Wer will, der kann höher gehen.

_________________
VORSICHT: Ich behersche seit heute die Fünf-Finger-Handflächen-Herz-Explodier-Schlag-Kampf-Technik >:(
BenBE Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Sa 06.11.04 18:36 
Eigentlich nicht. Die einzige Sache die mir einfallen würde, wäre das FAT12-Limit des Hauptordners. Ansonsten belegt jeder Ordner einen Eintrag in der FAT und somit ist es egal, wie diese angeordnet sind.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
tommie-lie
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 4373

Ubuntu 7.10 "Gutsy Gibbon"

BeitragVerfasst: Sa 06.11.04 21:57 
Abhängen tut's vom Dateisystem und der Diskettenkapazität.
Bei 1,44MB-Disketten und FAT12 sind es bis zu 224 Stammverzeichniseinträge und insgesamt bis zu 46048 Sektoren, sofern das Dateisystem sauber implementiert ist (mit DOS würde ich das also nicht ausprobieren ;-)).

_________________
Your computer is designed to become slower and more unreliable over time, so you have to upgrade. But if you'd like some false hope, I can tell you how to defragment your disk. - Dilbert
hansa
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3079
Erhaltene Danke: 9



BeitragVerfasst: So 07.11.04 11:36 
tommie-lie hat folgendes geschrieben:
...sofern das Dateisystem sauber implementiert ist (mit DOS würde ich das also nicht ausprobieren ;-)).


Dann dürfte man das unter Windows aber erst Recht nicht testen. :P

_________________
Gruß
Hansa
tommie-lie
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 4373

Ubuntu 7.10 "Gutsy Gibbon"

BeitragVerfasst: So 07.11.04 11:40 
hansa hat folgendes geschrieben:
Dann dürfte man das unter Windows aber erst Recht nicht testen. :P
Habe ich auch nie behauptet ;-)
Ich weiß auch nicht, wie sauber der Linux-FAT-Treiber ist, ich würde daher zu einer eigenen Implementierung tendieren ;-)

_________________
Your computer is designed to become slower and more unreliable over time, so you have to upgrade. But if you'd like some false hope, I can tell you how to defragment your disk. - Dilbert
Calyptus
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 386

Win Xp Prof
D3, D6 Pers, D7 Ent
BeitragVerfasst: So 07.11.04 13:26 
Also ich hab das grad mal getestet. Bei mir sind 112 Ordner draufgegangen. Beim 113 kam ein fehler.
Lol - sind ganzschön wenig

_________________
Luft- und Raumfahrtechnik an der Uni Stuttgart
tommie-lie
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 4373

Ubuntu 7.10 "Gutsy Gibbon"

BeitragVerfasst: So 07.11.04 13:40 
Im Stamm verzeichnis oder in Unterverzeichnissen?
Andererseits: wäre in beiden Fällen zu wenig...

_________________
Your computer is designed to become slower and more unreliable over time, so you have to upgrade. But if you'd like some false hope, I can tell you how to defragment your disk. - Dilbert
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: So 07.11.04 14:06 
112 Ordner auf einer Diskette zu wenig? Wir reden hier von Disketten, oder? Das sind diese Dinger, wo 1000*1024 Byte draufpassen oder? Bei 120 Ordnern macht das also 8,93 KB pro Ordner.
Raff ich was nicht, wenn ich der Meinung bin, dass das vollkommen ausreicht?

_________________
We are, we were and will not be.
tommie-lie
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 4373

Ubuntu 7.10 "Gutsy Gibbon"

BeitragVerfasst: So 07.11.04 14:17 
Gausi hat folgendes geschrieben:
112 Ordner auf einer Diskette zu wenig?
Ja, rein vom FAT-System her kommt man auf von mir oben genannte Zahl.

Gausi hat folgendes geschrieben:
Wir reden hier von Disketten, oder? Das sind diese Dinger, wo 1000*1024 Byte draufpassen oder?
Nein, das sind diese Dinger, wo je nach Typ verschieden viele Bytes draufpassen. Auf die heute handelsüblichen Disketten passen 80*18*2*512=1474560 Bytes.

Gausi hat folgendes geschrieben:
Bei 120 Ordnern macht das also 8,93 KB pro Ordner.
Naja, mit korrekter Kapazität 12288 Bytes. Aber was soll bitte in denen gespeichert sein? Ein Verzeichnis ist im FAT-Dateisystem 32 Byte groß.

Gausi hat folgendes geschrieben:
Raff ich was nicht, wenn ich der Meinung bin, dass das vollkommen ausreicht?
Natürlich reicht es aus, aber es ging um die theoretische maximale Anzahl an Ordnern pro Diskette.

_________________
Your computer is designed to become slower and more unreliable over time, so you have to upgrade. But if you'd like some false hope, I can tell you how to defragment your disk. - Dilbert
tommie-lie
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 4373

Ubuntu 7.10 "Gutsy Gibbon"

BeitragVerfasst: So 07.11.04 14:23 
Hmm, ich merke grad', daß ich bei meiner Rechnung wegen der Anzahl der Verzeichnissse ziemlich Mist gebaut habe... Sind dann doch nicht so viele, wenn es richtig saubert implementiert ist...
Aber wenn man es ein wenig dreckig implementiert, kriegt man trotzdem 46048 Verzeichnisse auf die 1,44 MB einer Diskette, nur Sinn machen tut's im Endeffekt nicht (und ScanDisk würde es einem nicht danken *g*) :mrgreen:

_________________
Your computer is designed to become slower and more unreliable over time, so you have to upgrade. But if you'd like some false hope, I can tell you how to defragment your disk. - Dilbert
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: So 07.11.04 14:28 
hmmm....hast recht. Vielleicht sollte ich beim nächsten Mal alle Beiträge in einem Topic lesen, bevor ich was schreibe.

Aber wir sind uns ja wohl einig darüber, dass man einer Diskette nur sehr sehr selten mehr als 100 Ordner benötigt, oder? Mal ganz davon abgesehen, dass Disketten generell nur noch selten zum Einsatz kommen. Bei so manch einem Komplettsystem ist mittlerweile auch kein Laufwerk mehr für die Dinger drin...

Aber eine theoretische Diskussion ohne einen wirklich praktischen Nutzen muss ja auch mal sein.

schönen Sonntag noch!

_________________
We are, we were and will not be.