MFC, r1.234:

Make sure /etc/fstab is written out for Apple-partitioned drives

    reviewed by:    scottl

Approved by:	re (Ken Smith)
This commit is contained in:
grehan 2005-07-28 01:18:19 +00:00
parent c3509ed9f1
commit 85dcd28828

View File

@ -207,7 +207,11 @@ configFstab(dialogMenuItem *self)
if (!disk->chunks)
msgFatal("No chunk list found for %s!", disk->name);
for (c1 = disk->chunks->part; c1; c1 = c1->next) {
#ifdef __powerpc__
if (c1->type == apple) {
#else
if (c1->type == freebsd) {
#endif
for (c2 = c1->part; c2; c2 = c2->next) {
if (c2->type == part && (c2->subtype == FS_SWAP || c2->private_data))
chunk_list[nchunks++] = c2;