Mailinglist Archive: opensuse-bugs (7117 mails)

< Previous Next >
[Bug 350539] yast2 repair remove fstab entries in error
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 7 Jan 2008 05:12:16 -0700 (MST)
  • Message-id: <20080107121216.380FE24538D@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=350539

User fehr@xxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=350539#c26


Thomas Fehr <fehr@xxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |ASSIGNED
Info Provider|fehr@xxxxxxxxxx |




--- Comment #26 from Thomas Fehr <fehr@xxxxxxxxxx> 2008-01-07 05:12:15 MST ---
My problem with that GetMountString call is that it actually returns the
default value, passed as seconf parameter. According to the function code, it
looks like it _should_ return ntfs-3g so I wonder what's wrong here?

Just try with newest SVN code, it should return "ntfs-3g" now. If not I need
y2log file.

I only need the way to verify if current settings in /etc/fstab are somehow
correct. That's why I'm using FileSystems::CheckFstabOptions and report an
error where the key "all_known" in the return map is set to false. If this
case
is only that you offer no configuration for extra options but they are
actually
at correct place, please either change the return value of CheckFstabOptions
or
give me other way to verify such fact.

Ah, now I see. Forgot to add "locale=", "fmask=", "dmask=" to FstabOptionRegex.
Please retry with newest SVN version of FileSystems.ycp.

In the time when I need this information, I only ave the data shown in comment
21. But the map Storage::GetDisk (Storage::GetTargetMap(), part["device"]:"")
(where "device" is /dev/sdd1) doesn't have hotpluggable key at all. I'm
testing
it on 10.3 is it some new feature?

Calling GetDisk with a partition as device argument will of course not do
what you want since the device name of the disk is "/dev/sdd", not "/dev/sdd1".
If you want to use a partition device name you need to call
Storage::GetDiskPartititon which accepts partition devices and searches and
returns the corresponding disk map from Storage
BTW: The "hotpluggable" key is only present if it is true.


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >