Rechercher dans ce blog

Affichage des articles dont le libellé est mac os x. Afficher tous les articles
Affichage des articles dont le libellé est mac os x. Afficher tous les articles

mercredi 9 décembre 2015

launchtl can be used to disable and re-enable crash reporting or mDNSResponder or services mac os x

launchtl can be used to disable and re-enable crash reporting.  


To disable crash  reporting:


           launchctl unload -w /System/Library/LaunchAgents/com.apple.ReportCrash.plist
           sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.ReportCrash.Root.plist

     To re-enable crash reporting:

           launchctl load -w /System/Library/LaunchAgents/com.apple.ReportCrash.plist
           sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.ReportCrash.Root.plist


Disable mDNSResponder


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

Disable  Apple Push Notification Service (apsd) on OS X 10.8

launchctl unload -w /System/Library/LaunchDaemons/com.apple.apsd.plist


jeudi 14 novembre 2013

Fix delete touch in TERMINAL app on mac os X LION

Delete touch in TERMINAL app doesn't work on LION

To fix that, edit an /etc/inputrc file or an ~/.inputrc

"\e[1~": beginning-of-line

"\e[4~": end-of-line

"\e[5~": beginning-of-history

"\e[6~": end-of-history

"\e[3~": delete-char

"\e[2~": quoted-insert

"\e[5C": forward-word

"\e[5D": backward-word

"\e\e[C": forward-word

"\e\e[D": backward-word

set completion-ignore-case On

lundi 7 novembre 2011

system_profiler - mac os X leopard - hardware listing

Pour obtenir une liste du matériel installé sur un pc tournant sous mac os x (testé sous leopard) utiliser en ligne de commande : system_profiler

Possibilité de ne lister que certain type de matériel, etc.

jeudi 16 juin 2011

chflags flags access lists mac os x

Pour gérer les flags (attrib) sur mac os x utiliser la commande : chflags

Attention pour certaines options il faut être root

Par exemple pour autoriser le changement de owner :

chflags nouchg filename

Pour voir les flags d'un fichier : ls -lO

DESCRIPTION

   The chflags utility modifies the file flags of the listed files as speci-

   fied by the flags operand.

   The options are as follows:

   -H If the -R option is specified, symbolic links on the command line

   are followed. (Symbolic links encountered in the tree traversal

   are not followed.)

   -L If the -R option is specified, all symbolic links are followed.

   -P If the -R option is specified, no symbolic links are followed.

   This is the default.

   -R Change the file flags for the file hierarchies rooted in the

   files instead of just the files themselves.

   The flags are specified as an octal number or a comma separated list of

   keywords. The following keywords are currently defined:

   arch, archived

   set the archived flag (super-user only)

   opaque set the opaque flag (owner or super-user only). [Directory

   is opaque when viewed through a union mount]

   nodump set the nodump flag (owner or super-user only)

   sappnd, sappend

   set the system append-only flag (super-user only)

   schg, schange, simmutable

   set the system immutable flag (super-user only)

   uappnd, uappend

   set the user append-only flag (owner or super-user only)

   uchg, uchange, uimmutable

   set the user immutable flag (owner or super-user only)

   hidden set the hidden flag [Hide item from GUI]

   As discussed in chflags(2), the sappnd and schg flags may only be unset   when the system is in single-user mode.
   Putting the letters ``no'' before or removing the letters ``no'' from a   keyword causes the flag to be cleared. For example:
   nouchg clear the user immutable flag (owner or super-user only)   dump clear the nodump flag (owner or super-user only)
   Unless the -H or -L options are given, chflags on a symbolic link always   succeeds and has no effect. The -H, -L and -P options are ignored unless   the -R option is specified. In addition, these options override each   other and the command's actions are determined by the last one specified.
   You can use "ls -lO" to see the flags of existing files.
EXIT STATUS   The chflags utility exits 0 on success, and >0 if an error occurs.
SEE ALSO   ls(1), chflags(2), stat(2), fts(3), symlink(7)
HISTORY   The chflags command first appeared in 4.4BSD.
BUGS   Only a limited number of utilities are chflags aware. Some of these   tools include ls(1), cp(1), find(1), install(1), dump(8), and restore(8).   In particular a tool which is not currently chflags aware is the pax(1)   utility.

vendredi 10 juin 2011

Mac OS X recover lost password

To reset your OS X password without an OS X CD you need to enter terminal and create a new admin account:

1. Reboot
2. Hold apple + s down after you hear the chime.
3. When you get text prompt enter in these terminal commands to create a brand new admin account :

  • mount -uw /
  • rm /var/db/.AppleSetupDone
  • shutdown -h now
4. After rebooting you should have a brand new admin account. When you login as the new admin you can simply delete the old one and you’re good to go again !

---------------------------

Step 1: Start up from a Mac OS X Install CD.

MacOSX-DVD.pngThis hardest part of this technique may be laying your hands on a Mac OS X Install CD when you need one. Use a version that is close the the version of Mac OS X you have installed.

Hold the C key as the computer starts to boot from the CD.

When the installer starts, choose your language, and you'll proceed to the welcome dialog.

Step 2: Choose Reset Password from the Utilities menu.


Tip: In previous versions of Mac OS X (10.2 and 10.3), you can find the Resent Password option under the Installer menu instead.

Step 3: Select your Mac OS X hard disk volume.


Select the user name of your original administrator account.

vendredi 12 février 2010

How to list applications that open a port on mac os x

Pour lister les applications qui ouvrent un port sur mac os X

au lieu de netstat -anp avec linux, utiliser avec mac os x

sudo lsof -i -P | grep LISTEN

Attention bien faire un sudo.

jeudi 28 janvier 2010

Configuration manuel ipfw sous leopard

Configuration manuel ipfw sous leopard


Directement collé de 

http://daniel.polombo.fr/2008/06/configuration-manuelle-dipfw-sous-leopard/ 

Merci à lui. 

Créer un script de démarrage
Pour créer un script qui démarre avec l’OS sous Leopard, la solution que j’ai retenue est celle du launchd. Pour cela, il faut créer (avec les droits d’administration) un sous-répertoire dans /Library/StartupItems :
# mkdir -p /Library/StartupItems/Firewall
On y crée ensuite le fichier StartupParameters.plist avec le contenu suivant :
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd"> <plist version="0.9"> <dict> <key>Description</key> <string>My Firewall Rules</string> <key>OrderPreference</key> <string>Late</string> <key>Provides</key> <array> <string>Custom IPFW firewall rules</string> </array> <key>RunAtLoad</key> <true/> </dict> </plist>

Cela définit notre StartupItem comme étant à charger au démarrage de l’OS, et plutôt vers la fin du démarrage.
Il nous reste à créer un script exécutable, portant le même nom que le répertoire, qui contiendra nos commandes :

touch /Library/StartupItems/Firewall/Firewall

chmod 755 /Library/StartupItems/Firewall/Firewall
Ce script va réaliser la mise en oeuvre des règles IPFW qui nous intéressent.
Un exemple de script IPFW
Pas de filtrage des connexions sortantes, et un filtrage assez massif des connexions entrantes, mis à part quelques protocoles servant à découvrir ou utiliser des services
(partages CIFS, services Bonjour, DHCP), et bien sûr les connexions déjà établies via les fonctionnalités de stateful filtering d’IPFW
#!/bin/sh . /etc/rc.common IPFW="/sbin/ipfw -q" StartService() { ConsoleMessage "Lancement des regles IPFW maison" # vidage de la table de règles ${IPFW} -f flush # ouverture locale uniquement de l'interface loopback ${IPFW} add 1000 allow all from any to any via lo0 ${IPFW} add 1001 deny all from any to 127.0.0.0/8 # autorisation des paquets appartenant à des connexions identifiées # (pour le stateful filtering) ${IPFW} add 2000 check-state # autorisation des connexions TCP sortantes (paquet SYN) et # mise en place de l'identification de la connexion (stateful) ${IPFW} add 2001 allow tcp from me to any out setup keep-state # autorisation des connexions UDP sortantes et mise # en place de l'identification de la connexion (stateful) ${IPFW} add 2003 allow udp from me to any out keep-state # autorisation des connexions ICMP sortantes et mise # en place de l'identification de la connexion (stateful) ${IPFW} add 2004 allow icmp from me to any out keep-state # autorisation de certains protocoles de résolution ${IPFW} add 04000 allow udp from any to any 5353 in # mDNS (Bonjour) ${IPFW} add 04010 allow udp from any to any 427 in # svrloc (Bonjour) ${IPFW} add 04020 allow udp from any to any 68 in # DHCP ${IPFW} add 04030 allow udp from any to any 137 in # Samba (NetBIOS) # toi, t'as des baskets, tu rentres pas! # (si on n'a pas encore matché une règle, c'est que c'est non) ${IPFW} add 9999 deny all from any to any } StopService() { ConsoleMessage "Stopping custom IPFW rules" ${IPFW} -f flush } RunService "$1"

mercredi 7 octobre 2009

FIX TIME MACHINE AFTER CHANGING NETWORK INTERFACE

HOT-TO FIX TIME MACHINE MAC OS 10.5.8 AFTER CHANGING NETWORK INTERFACE

Changes to do with the backup drive

cd /Volumes/BACKUP_DRIVE

xattr -l *

pour lister les attributs étendus des fichiers présents.

Sur certains drives Backups.backupdb a un attribut avec la mac address et d'autres non...

Si mac address alors la changer avec la nouvelle

Tout d'abord couper l'acl

fsaclctl -p "/Volumes/BACKUP_DRIVE" -d

écrire la nouvelle adresse

xattr -w com.apple.backupd.BackupMachineAddress 00:1d:60:c1:d9:50 Backups.backupdb

Aller au dir de la machine

cd plutonX

xattr -w com.apple.backupd.BackupMachineAddress 00:1d:60:c1:d9:50 plutonX

réactiver l'acl

fsaclctl -p "/Volumes/BACKUP_DRIVE" -e

changes to do with the network infos

Je n'ai pas pu redémarrer time machine sur ma machine tant que je n'ai pas aussi fait ces changements qui consistent à "reseter" le nom bsd de l'interface à supposer que la précédente carte ethernet était "en0"

J'ai supprimé du dir

/Library/Preferences/SystemConfiguration/

les trois fichiers suivants :

NetworkInterfaces.plist

com.apple.network.identification.plist

preferences.plist

Ensuite reboot et reconfigurer le réseau.

A l'aide de OSXTools86 j'ai aussi réappliqué le fix tile machine (mais je ne pense pas que c'était nécessaire).

lundi 14 septembre 2009

VIM turn off matchparen plugin / stop highlighting matching brackets

to disable the plugin

completely, you can use the command

let loaded_matchparen = 1

in your ~/.vimrc

To turn it off

:NoMatchParen

To turn it back on

:DoMatchParen

mercredi 3 juin 2009

mac os x : power management CLI && hibernation

Pour ne pas avoir la création du fichier /var/vm/sleepimage et l'erreur PC EFI v9 chameleon au boot à propos de la corruption du fichier image, utiliser

# pmset -a hibernatemode 0

Man page de pmset

PMSET(1) BSD General Commands Manual PMSET(1)

NAME

   pmset -- manipulate power management settings

SYNOPSIS

   pmset [-a | -b | -c | -u] [displaysleep minutes] [disksleep minutes] [sleep minutes] [womp 1/0] [ring 1/0] [autorestart 1/0] [dps 1/0] [reduce 1/0] [powerbutton 1/0] [lidwake 1/0]

   [acwake 1/0] [lessbright 1/0] [halfdim 1/0] [sms 1/0] [boot]

   pmset -u [haltlevel percent] [haltafter minutes] [haltremain minutes]

   pmset -g [custom | live | cap | sched | ups | ps | pslog | rawlog]

   pmset schedule [cancel] type date+time [owner]

   pmset repeat cancel

   pmset repeat type weekdays time

   pmset [touch | sleepnow | noidle | lock]

DESCRIPTION

   pmset changes and reads power management settings such as idle sleep timing, wake on administrative access, automatic restart on power loss, etc.

SETTING

   The -a, -b, -c, -u flags determine whether the settings apply to battery ( -b ), charger (wall power) ( -c ), UPS ( -u ) or all ( -a ).

   Use a minutes argument of 0 to set the idle time to never.

   pmset must be run as root in order to modify any settings.

   The boot argument tells power management that system bootup is complete. Loginwindow handles this on a normal Mac OS X system.

GETTING

   -g (with no argument) will display the settings currently in use.

   -g live will also display the settings currently in use.

   -g custom will display custom settings for all power sources, although these settings may not currently be in use; a pre-set settings profile may be active instead.

   -g cap will display which power management features the machine supports.

   -g sched will display scheduled startup/wake and shutdown/sleep events.

   -g ups will display UPS emergency thresholds.

   -g ps will display status of batteries and UPSs.

   -g pslog will display an ongoing log of power source (battery and UPS) state.

   -g rawlog will display an ongoing log of battery state as read directly from battery.

   -g profiles will display the settings associated with each Energy Saver profile.

ARGUMENTS

   displaysleep - display sleep timer; replaces 'dim' argument in 10.4 (value in minutes, or 0 to disable)

   disksleep - disk spindown timer; replaces 'spindown' argument in 10.4 (value in minutes, or 0 to disable)

   sleep - system sleep timer (value in minutes, or 0 to disable)

   womp - wake on ethernet magic packet (value = 0/1)

   ring - wake on modem ring (value = 0/1)

   autorestart - automatic restart on power loss (value = 0/1)

   dps - dynamically change processor speed based on load (value = 0/1)

   reduce - reduce processor speed (value = 0/1)

   powerbutton - sleep the machine when power button is pressed (value = 0/1)

   lidwake - wake the machine when the laptop lid (or clamshell) is opened (value = 0/1)

   acwake - wake the machine when power source (AC/battery) is changed (value = 0/1)

   lessbright - slightly turn down display brightness when switching to this power source (value = 0/1)

   halfdim - display sleep will use an intermediate half-brightness state between full brightness and fully off (value = 0/1)

   sms - use Sudden Motion Sensor to park disk heads on sudden changes in G force (value = 0/1)

hibernatemode - change hibernation mode. Please use caution. (value = integer)   hibernatefile - change hibernation image file location. Image may only be located on the root volume. Please use caution. (value = path)   ttyskeepawake - prevent idle system sleep when any tty (e.g. remote login session) is 'active'. A tty is 'inactive' only when its idle time exceeds the system sleep timer. (value =   0/1)
SETTINGS PROFILES   Mac OS X stores sets of pre-defined Energy Saver settings in a few numbered profiles (1, 2, 3). All user-modified settings are stored in the custom profile (-1). The two numbered   profiles 0 and 4 are unused.
   Profiles are set per-power source. Default profile selections are   (AC=2, Batt=1, UPS=1). See Examples for ways to set profiles.
   Any modifications made to Energy Saver settings via Energy Saver or pmset will automatically switch your active profile to Custom if it was not already Custom. OS X tracks the   selected profiles and the settings for the Custom profile in com.apple.PowerManagement.plist discussed in Files below.
   1 corresponds to Energy Saver Optimization for "Better Energy Savings"   2 corresponds to Energy Saver Optimization for "Normal"   3 corresponds to Energy Saver Optimization for "Better Performance"   -1 corresponds to Energy Saver Optimization for "Custom"
SAFE SLEEP ARGUMENTS   hibernatemode takes a bitfield argument defining SafeSleep behavior. Passing 0 disables SafeSleep altogether, forcing the computer into a regular sleep.
   0001 (bit 0) enables hibernation; causes OS X to write memory state to hibernation image at sleep time. On wake (without bit 1 set) OS X will resume from the hibernation image. Bit   0 set (without bit 1 set) causes OS X to write memory state and immediately hibernate at sleep time.
   0010 (bit 1), in conjunction with bit 0, causes OS X to maintain system state in memory and leave system power on until battery level drops below a near empty threshold (This   enables quicker wakeup from memory while battery power is available). Upon nearly emptying the battery, OS X shuts off all system power and hibernates; on wake the system will   resume from hibernation image, not from memory.
   hibernatemode is set to 3 (binary 0011) by default on supported portables.
   hibernatemode is set to 0 (binary 0000) by default on supported desktops.
   Please note that hibernatefile may only point to a file located on the root volume.
UPS SPECIFIC ARGUMENTS   UPS-specific arguments are only valid following the -u option. UPS settings also have an on/off value. Use a -1 argument instead of percent or minutes to turn any of these settings   off. If multiple halt conditions are specified, the system will halt on the first condition that occurs in a low power situation.
   haltlevel - when draining UPS battery, battery level at which to trigger an emergency shutdown (value in %)   haltafter - when draining UPS battery, trigger emergency shutdown after this long running on UPS power (value in minutes, or 0 to disable)   haltremain - when draining UPS battery, trigger emergency shutdown when this much time remaining on UPS power is estimated (value in minutes, or 0 to disable)
   Note: None of these settings are observed on a system with support for an internal battery, such as a laptop. UPS emergency shutdown settings are for desktop and server only.
SCHEDULED EVENT ARGUMENTS   pmset allows you to schedule system sleep, shutdown, wakeup and/or power on. "schedule" is for setting up one-time power events, and "repeat" is for setting up daily/weekly power   on and power off events. Note that you may only have one pair of repeating events scheduled - a "power on" event and a "power off" event.
   type - one of sleep, wake, poweron, shutdown, wakeorpoweron   date/time - "MM/dd/yy HH:mm:ss" (in 24 hour format; must be in quotes)   time - HH:mm:ss   weekdays - a subset of MTWRFSU ("M" and "MTWRF" are valid strings)owner - a string describing the person or program who is scheduling this one-time power event (optional)
POWER SOURCE ARGUMENTS   -g with a 'batt' or 'ps' argument will show the state of all attached power sources. A health estimate for the battery is appended to the end of the line, in the form (Fair/Good),   indicating the battery is in 'Fair' health and we have 'Good' confidence in that estimate.
   Certain Apple battery calibration tools may temporarily disable battery charging, even though your Apple portable is plugged into AC power. Such tools will never surprise you with   this behavior; you will know it's happening. This state will be reflected in an additional line of output to 'batt' or 'ps' readings, including the pid of the app inducing this   behavior.
   'ChargeInhibit': 1432
   -g with a 'pslog' or 'rawlog' argument is normally used for debugging, such as isolating a problem with an aging battery.
OTHER ARGUMENTS   boot - tell the kernel that system boot is complete (normally LoginWindow does this). May be useful to Darwin users.   force - tells PM to immediately activate these settings. Does not write them to disk, and the settings may easily be overwritten. Useful in circumstances where PM's configd plugin   happens not to be running.   touch - PM re-reads existing settings from disk.   noidle - while continuousy running, pmset prevents idle sleep.   sleepnow - causes an immediate system sleep   dim - deprecated in 10.4 in favor of 'displaysleep'. 'dim' will continue to work.   spindown - deprecated in 10.4 in favor of 'disksleep'. 'spindown' will continue to work.
EXAMPLES   This command sets displaysleep to a 5 minute timer on battery power, leaving other settings on battery power and other power sources unperturbed.
   pmset -b displaysleep 5
   Sets displaysleep to 10, disksleep to 10, system sleep to 30, and turns on WakeOnMagicPacket for ALL power sources (AC, Battery, and UPS) as appropriate
   pmset -a displaysleep 10 disksleep 10 sleep 30 womp 1
   Restores the system's energy settings to their default values. Any user modifications are preserved under the custom profile -1.
   pmset -c 2 -b 1 -u 1
   Changes energy settings for all power sources to the Custom settings set via pmset or Energy Saver.
   pmset -a -1
   For a system with an attached and supported UPS, this instructs the system to perform an emergency shutdown when UPS battery drains to below 40%.
   pmset -u haltlevel 40
   For a system with an attached and supported UPS, this instructs the system to perform an emergency shutdown when UPS battery drains to below 25%, or when the UPS estimates it has   less than 30 minutes remaining runtime. The system shuts down as soon as either of these conditions is met.
   pmset -u haltlevel 25 haltremain 30
   For a system with an attached and supported UPS, this instructs the system to perform an emergency shutdown after 2 minutes of running on UPS battery power.
   pmset -u haltafter 2Sets displaysleep to 10, disksleep to 10, system sleep to 30, and turns on WakeOnMagicPacket for ALL power sources (AC, Battery, and UPS) as appropriate
   pmset -a displaysleep 10 disksleep 10 sleep 30 womp 1
   Restores the system's energy settings to their default values. Any user modifications are preserved under the custom profile -1.
   pmset -c 2 -b 1 -u 1
   Changes energy settings for all power sources to the Custom settings set via pmset or Energy Saver.
   pmset -a -1
   For a system with an attached and supported UPS, this instructs the system to perform an emergency shutdown when UPS battery drains to below 40%.
   pmset -u haltlevel 40
   For a system with an attached and supported UPS, this instructs the system to perform an emergency shutdown when UPS battery drains to below 25%, or when the UPS estimates it has   less than 30 minutes remaining runtime. The system shuts down as soon as either of these conditions is met.
   pmset -u haltlevel 25 haltremain 30
   For a system with an attached and supported UPS, this instructs the system to perform an emergency shutdown after 2 minutes of running on UPS battery power.
   pmset -u haltafter 2
   Schedules the system to automatically wake from sleep on July 4, 2009, at 8PM.
   pmset schedule wake "07/04/09 20:00:00"
   Schedules a repeating shutdown to occur each day, Tuesday through Saturday, at 11AM.
   pmset repeat shutdown TWRFS 11:00:00
   Prints the power management settings in use by the system.
   pmset -g
   Prints a snapshot of battery/power source state at the moment.
   pmset -g batt
   If your system suddenly sleeps on battery power with 20-50% of capacity remaining, leave this command running in a Terminal window. When you see the problem and later power and   wake the computer, you'll be able to detect sudden discontinuities (like a jump from 30% to 0%) indicative of an aging battery.
   pmset -g pslog
Files   All changes made through pmset are saved in a persistent preferences file (per-system, not per-user) at /Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist
   Scheduled power on/off events are stored separately in /Library/Preferences/SystemConfiguration/com.apple.AutoWake.plist
   pmset modifies the same file that System Preferences Energy Saver modifies.
Darwin April 1, 2006 Darwin

jeudi 30 avril 2009

rsync super cp

Pour copier un répertoire avec rsync et en faire la synchronisation s'il existe déjà j'utilise rsync avec ces options

%rsync -au --delete dir_source dir_destination

-a archive mode, equivalent to -rlptgoD

-u, --update update only (don't overwrite newer files)

--delete delete files that don't exist on sender

le -u sert surtout à préserver les fichiers qui auraient été modifié dans le dossier de destination (ce qui en principe ne se produit pas... mais les principes...)

--delete permet de nettoyer le dir_destination des fichiers qui ne sont plus dans le dir_source.

ATTENTION --delete est une option DANGEREUSE !

Bien s'assurer de faire la copie dans le bon répertoire sans quoi tout le répertoire de destination sera effacé ainsi que les sous-répertoires.

Pour inhiber une option incluse dans a faire --no-Option

par exemple par de chown et chgrp --no-o --no-g ce qui évite d'avoir un message d'erreur quand le fichier de destination est mounté avec un owner et pas de droit pour changer de owner tandis que rsync tourne en root.

mercredi 15 avril 2009

Gnumeric mac os X installer / désinstaller - macport

#port install gnumeric

########################################################### # A startup item has been generated that will aid in # starting dbus with launchd. It is disabled # by default. Execute the following command to start it, # and to cause it to launch at startup: # # sudo launchctl load -w /Library/LaunchDaemons/org.macports.dbus.plist ########################################################### ############################################################################## # It is absolutely necessary for dbus enabled programs to work to execute # # launchctl load /Library/LaunchAgents/org.freedesktop.dbus-session.plist # # once for every user. Don't use 'sudo', else it will work only for root! # You also have to unload it before deactivating/uninstalling this software! ############################################################################## ###################################################################### # As MacPorts does not currently have a post-deactivate hook,  # you will need to ensure that you manually remove the catalog  # entry for this port when you uninstall it. To do so, run  # "xmlcatmgr remove nextCatalog /opt/local/share/xml/docbook/4.1.2/catalog.xml". ###################################################################### ###################################################################### # As MacPorts does not currently have a post-deactivate hook,  # you will need to ensure that you manually remove the catalog  # entry for this port when you uninstall it. To do so, run  # "xmlcatmgr remove nextCatalog /opt/local/share/xml/docbook/4.2/catalog.xml". ###################################################################### ###################################################################### # As MacPorts does not currently have a post-deactivate hook,  # you will need to ensure that you manually remove the catalog  # entry for this port when you uninstall it. To do so, run  # "xmlcatmgr remove nextCatalog /opt/local/share/xml/docbook/4.3/catalog.xml". ###################################################################### ###################################################################### # As MacPorts does not currently have a post-deactivate hook,  # you will need to ensure that you manually remove the catalog  # entry for this port when you uninstall it. To do so, run  # "xmlcatmgr remove nextCatalog /opt/local/share/xml/docbook/4.4/catalog.xml". ###################################################################### ###################################################################### # As MacPorts does not currently have a post-deactivate hook,  # you will need to ensure that you manually remove the catalog  # entry for this port when you uninstall it. To do so, run  # "xmlcatmgr remove nextCatalog /opt/local/share/xml/docbook/4.5/catalog.xml". ###################################################################### ###################################################################### # As MacPorts does not currently have a post-deactivate hook,  # you will need to ensure that you manually remove the catalog  # entry for this port when you uninstall it. To do so, run  # "xmlcatmgr remove nextCatalog /opt/local/share/xsl/docbook-xsl/catalog.xml". ######################################################################

gnumeric most recent diff

version 1.9.0 View the most recent changes for the gnumeric port at: gnumeric.darwinports.com/diff Scroll down toward the bottom of the page to get installation instructions for gnumeric. The raw portfile for gnumeric 1.9.0 is located here: http://gnumeric.darwinports.com/dports/gnome/gnumeric/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/gnumeric  PortSystem 1.0 Name: gnumeric Version: 1.9.0 Description: A spreadsheet with gnome support. Long Description: ${description} Maintainers: nomaintainer Category: gnome math Platform: darwin Homepage: http://www.gnome.org/projects/gnumeric/

dimanche 14 décembre 2008

empêcher un montage de disque mac os X

Montage par diskarbitrationd qui lit /etc/fstab Dans fstab ex : UUID=B8991BDA-565F-425B-A03B-0099B631902C /Volumes/FACTORY_IMAGE auto noauto Lister les disks disktool -l Pour avoir UUID diskutil info disk0s2 -