Mailinglist Archive: yast-commit (410 mails)

< Previous Next >
[yast-commit] r64881 - in /branches/SuSE-Code-11-SP2-Branch/storage: libstorage/src/Storage.cc storage/src/include/ep-settings.ycp storage/src/modules/Partitions.ycp
Author: aschnell
Date: Tue Jul 19 12:14:15 2011
New Revision: 64881

URL: http://svn.opensuse.org/viewcvs/yast?rev=64881&view=rev
Log:
- allow btrfs as default filesystem

Modified:
branches/SuSE-Code-11-SP2-Branch/storage/libstorage/src/Storage.cc
branches/SuSE-Code-11-SP2-Branch/storage/storage/src/include/ep-settings.ycp
branches/SuSE-Code-11-SP2-Branch/storage/storage/src/modules/Partitions.ycp

Modified: branches/SuSE-Code-11-SP2-Branch/storage/libstorage/src/Storage.cc
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/storage/libstorage/src/Storage.cc?rev=64881&r1=64880&r2=64881&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP2-Branch/storage/libstorage/src/Storage.cc
(original)
+++ branches/SuSE-Code-11-SP2-Branch/storage/libstorage/src/Storage.cc Tue Jul
19 12:14:15 2011
@@ -191,7 +191,7 @@
if (!toValue(val, fs_type, false))
y2war("unknown default filesystem '" << val << "' in "
SYSCONFIGFILE);
else if (fs_type != EXT2 && fs_type != EXT3 && fs_type != EXT4 &&
- fs_type != REISERFS && fs_type != XFS)
+ fs_type != REISERFS && fs_type != XFS && fs_type != BTRFS)
y2war("unallowed default filesystem '" << val << "' in "
SYSCONFIGFILE);
else
setDefaultFs(fs_type);

Modified:
branches/SuSE-Code-11-SP2-Branch/storage/storage/src/include/ep-settings.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/storage/storage/src/include/ep-settings.ycp?rev=64881&r1=64880&r2=64881&view=diff
==============================================================================
---
branches/SuSE-Code-11-SP2-Branch/storage/storage/src/include/ep-settings.ycp
(original)
+++
branches/SuSE-Code-11-SP2-Branch/storage/storage/src/include/ep-settings.ycp
Tue Jul 19 12:14:15 2011
@@ -63,7 +63,7 @@
return `item(`id(item_id), label);
});

- list<symbol> filesystems = filter(symbol fs, [ `ext2, `ext3, `ext4,
`reiser, `xfs ], {
+ list<symbol> filesystems = filter(symbol fs, [ `ext2, `ext3, `ext4,
`reiser, `xfs, `btrfs ], {
return FileSystems::IsSupported(fs) &&
!FileSystems::IsUnsupported(fs);
});


Modified:
branches/SuSE-Code-11-SP2-Branch/storage/storage/src/modules/Partitions.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/storage/storage/src/modules/Partitions.ycp?rev=64881&r1=64880&r2=64881&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP2-Branch/storage/storage/src/modules/Partitions.ycp
(original)
+++ branches/SuSE-Code-11-SP2-Branch/storage/storage/src/modules/Partitions.ycp
Tue Jul 19 12:14:15 2011
@@ -120,7 +120,7 @@
if (default_fs == `unknown)
{
string tmp = (string) SCR::Read(.sysconfig.storage.DEFAULT_FS);
- if (tmp == nil || !contains([ "ext2", "ext3", "ext4", "reiser", "xfs"
], tolower(tmp)))
+ if (tmp == nil || !contains([ "ext2", "ext3", "ext4", "reiser", "xfs",
"btrfs" ], tolower(tmp)))
tmp = "ext3";

default_fs = tosymbol(tolower(tmp));

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages