Jump to content

[Help] mdworker[1097]: (Warning) Import: Bad path:

badpatch mavericks

Best Answer Allaп, 21 January 2014 - 01:51 AM

Now I understood friend!

 

thank you so much.

look what I did.

 

in Terminal:

su root

 

now i enter as root:

sh-3.2# cd /Volumes/Mac

sh-3.2# touch .metadata_never_index

sh-3.2# ls -la

 

After that appears:

 

Obrigado GV.  :wink_anim: 

Go to the full post


  • Please log in to reply
12 replies to this topic

#1
Allaп

Allaп

    Staff Member

  • Local Moderators
  • 3,070 posts
  • Gender:Male
  • Interests:Yosemite Final Version
after I updated OS X ML to Mavericks in MacReal style. 
K4lNId1.png
 
 
everything worked fine.
but after i test Sleep, i have this error message in the Console. what can be?
 
ASgu5KV.png
 
 
 
My Notebook hung up once.
 
checked the system state in DU, and everything oks.
and my HD is ok too.


#2
Allaп

Allaп

    Staff Member

  • Local Moderators
  • 3,070 posts
  • Gender:Male
  • Interests:Yosemite Final Version
Solved the problem.
 
This problem does not happen only in Hacks, but in any Mac that has the Mavericks installed.
The Mavericks have bug with exFAT partitions, we can try to solve two methods:
 

1 - Exclude Items Using Spotlight’s Preferences

 

Instead of turning the whole thing off, you can simply exclude certain drives or folders from Spotlight by using its Preferences. Head to System Preferences > Spotlight > Privacy.

20130724_howtomanagespotlight_3.jpg

2 - Disable Spotlight:

 

Disable:

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

If you find that this step was a unecessary, enter the following command to restore Spotlight’s functionality.

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

Note that after reenabling Spotlight, it will need to reindex your drive(s), a process that may take a while depending on the size of the drives and the number of changes that occurred since you disabled Spotlight. You can measure the progress of the rebuild by clicking on the Spotlight icon in the menu bar.

 

20130724_howtomanagespotlight_2.jpg

 

That's it!!  :thumbsup_anim:

 



#3
XanthraX

XanthraX

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 409 posts
  • Gender:Male
  • Location:Romania

Do not keep Spotlight disabled. Even you do not need it for searching files. Launchpad is related to Spotlight and the App Store too. If you have spotlight disabled you never can update the apps from App Store.



#4
Allaп

Allaп

    Staff Member

  • Local Moderators
  • 3,070 posts
  • Gender:Male
  • Interests:Yosemite Final Version

what other method can I use?



#5
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,111 posts
  • Gender:Male
  • Location:Brazil

You said it yourself, disable Spotlight indexing on that drive.

 

Or this, found it with a quick google search:

 

Add a file called ".metadata_never_index" to the root of all your ExFAT partitioned volumes. It prevents Spotlight from processing that volume on any Mac you plug it into without having to setup settings on every Mac.

You can't create files starting with dot in the Finder so do it via the terminal.

1. Open the terminal and go to the root of the ExFAT partition.
2. type the line below exactly and pressing enter.
touch .metadata_never_index

3. Check it was created by typing in:
ls -la

 

I have an entire 1TB drive in exFAT format, I've never seen this issue myself.



#6
Allaп

Allaп

    Staff Member

  • Local Moderators
  • 3,070 posts
  • Gender:Male
  • Interests:Yosemite Final Version

Thanks Bro!



#7
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,111 posts
  • Gender:Male
  • Location:Brazil

Por nada!



#8
Allaп

Allaп

    Staff Member

  • Local Moderators
  • 3,070 posts
  • Gender:Male
  • Interests:Yosemite Final Version
I returned ... 
I can't understand how to enter as root.

 

http://support.apple.com/kb/PH14281



#9
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,111 posts
  • Gender:Male
  • Location:Brazil

Can't you just use sudo from the Terminal?



#10
Allaп

Allaп

    Staff Member

  • Local Moderators
  • 3,070 posts
  • Gender:Male
  • Interests:Yosemite Final Version

now unable to enable root user.

 

I did so: System Preferences > Users & Groups > Login Options > Network Account Server : Join > Open Directory Utlility > Search Policy  and go to Edit menu:

Attached File  Screen Shot 2014-01-20 at 11.27.37 AM.png   41.01KB   1 downloads

 

In Terminal, use this: su root.

 

Now the doubt is, how to create touch. metadata_never_index within the partitions.

 

how to enter the partitions in as root?



#11
Allaп

Allaп

    Staff Member

  • Local Moderators
  • 3,070 posts
  • Gender:Male
  • Interests:Yosemite Final Version
Got it!!!
unable to create the file, as I do not enter the root partition, I copied the file metadata_never_index for problematic partitions.
look:
Attached File  Screen Shot 2014-01-20 at 5.43.14 PM.png   7.44KB   1 downloads


#12
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,111 posts
  • Gender:Male
  • Location:Brazil

That's great, but just FYI I think you misunderstood the instructions:

"Add a file called ".metadata_never_index" to the root of all your ExFAT partitioned volumes"

 

"root" does not have anything to do with sudo or the "root user". Root in this case means the directory root of the drive, also known as "/".

 

You know, root as in the root of a tree, in this case a "directory tree". So for example if the name of your exFAT volume is "passaralho" you would open terminal and enter

 

cd /Volumes/passaralho

 

....which would put you at the root of that drive.



#13
Allaп

Allaп

    Staff Member

  • Local Moderators
  • 3,070 posts
  • Gender:Male
  • Interests:Yosemite Final Version

Best Answer

Now I understood friend!

 

thank you so much.

look what I did.

 

in Terminal:

su root

 

now i enter as root:

sh-3.2# cd /Volumes/Mac

sh-3.2# touch .metadata_never_index

sh-3.2# ls -la

 

After that appears:

Attached File  Screen Shot 2014-01-20 at 10.49.27 PM.png   45.68KB   13 downloads

 

Obrigado GV.  :wink_anim: 







Also tagged with one or more of these keywords: badpatch, mavericks


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy