From b29787b82487926a0805bb390d99c5b13ba4d1a2 Mon Sep 17 00:00:00 2001 From: ballen4705 <ballen4705@4ea69e1a-61f1-4043-bf83-b5c94c648137> Date: Tue, 14 Oct 2003 13:40:09 +0000 Subject: [PATCH] Added link to Darwin work git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@1120 4ea69e1a-61f1-4043-bf83-b5c94c648137 --- sm5/os_generic.c | 23 +++++++++++++---------- sm5/os_generic.cpp | 23 +++++++++++++---------- 2 files changed, 26 insertions(+), 20 deletions(-) diff --git a/sm5/os_generic.c b/sm5/os_generic.c index 5a8c7b3ed..3a7070f1d 100644 --- a/sm5/os_generic.c +++ b/sm5/os_generic.c @@ -21,24 +21,27 @@ * */ +/* PORTING NOTES AND COMMENTS -/* to port smartmontools to the OS of your choice, you need to: +To port smartmontools to the OS of your choice, you need to: -[0] Contact smartmontools-support@lists.sourceforge.net to check that it's - not already been done. +[0] Contact smartmontools-support@lists.sourceforge.net to check that +it's not already been done. [1] Make copies of os_generic.[hc] called os_myOS.[hc] [2] Modify configure.in so that case "${host}" include myOS -[3] Verify that ./autogen.sh && ./configure && make - compiles the code. If not, fix any compilation problems. +[3] Verify that ./autogen.sh && ./configure && make compiles the code. +If not, fix any compilation problems. -[4] Provide the functions defined in this file: flesh out the skeletons below. - Note that for Darwin much of this already exists. +[4] Provide the functions defined in this file: flesh out the +skeletons below. Note that for Darwin much of this already +exists. See some partially developed but incomplete code at: +http://cvs.sourceforge.net/viewcvs.py/smartmontools/sm5_Darwin/ -[5] Contact smartmontools-support@lists.sourceforge.net to see about checking - your code into the smartmontools CVS archive. +[5] Contact smartmontools-support@lists.sourceforge.net to see about +checking your code into the smartmontools CVS archive. */ @@ -51,7 +54,7 @@ #include "os_solaris.h" // Needed by '-V' option (CVS versioning) of smartd/smartctl -const char *os_XXXX_c_cvsid="$Id: os_generic.c,v 1.1 2003/10/14 12:12:12 ballen4705 Exp $" \ +const char *os_XXXX_c_cvsid="$Id: os_generic.c,v 1.2 2003/10/14 13:40:09 ballen4705 Exp $" \ ATACMDS_H_CVSID OS_XXXX_H_CVSID SCSICMDS_H_CVSID UTILITY_H_CVSID; // tries to guess device type given the name (a path). See utility.h diff --git a/sm5/os_generic.cpp b/sm5/os_generic.cpp index d7041acbf..3c84486c5 100644 --- a/sm5/os_generic.cpp +++ b/sm5/os_generic.cpp @@ -21,24 +21,27 @@ * */ +/* PORTING NOTES AND COMMENTS -/* to port smartmontools to the OS of your choice, you need to: +To port smartmontools to the OS of your choice, you need to: -[0] Contact smartmontools-support@lists.sourceforge.net to check that it's - not already been done. +[0] Contact smartmontools-support@lists.sourceforge.net to check that +it's not already been done. [1] Make copies of os_generic.[hc] called os_myOS.[hc] [2] Modify configure.in so that case "${host}" include myOS -[3] Verify that ./autogen.sh && ./configure && make - compiles the code. If not, fix any compilation problems. +[3] Verify that ./autogen.sh && ./configure && make compiles the code. +If not, fix any compilation problems. -[4] Provide the functions defined in this file: flesh out the skeletons below. - Note that for Darwin much of this already exists. +[4] Provide the functions defined in this file: flesh out the +skeletons below. Note that for Darwin much of this already +exists. See some partially developed but incomplete code at: +http://cvs.sourceforge.net/viewcvs.py/smartmontools/sm5_Darwin/ -[5] Contact smartmontools-support@lists.sourceforge.net to see about checking - your code into the smartmontools CVS archive. +[5] Contact smartmontools-support@lists.sourceforge.net to see about +checking your code into the smartmontools CVS archive. */ @@ -51,7 +54,7 @@ #include "os_solaris.h" // Needed by '-V' option (CVS versioning) of smartd/smartctl -const char *os_XXXX_c_cvsid="$Id: os_generic.cpp,v 1.1 2003/10/14 12:12:12 ballen4705 Exp $" \ +const char *os_XXXX_c_cvsid="$Id: os_generic.cpp,v 1.2 2003/10/14 13:40:09 ballen4705 Exp $" \ ATACMDS_H_CVSID OS_XXXX_H_CVSID SCSICMDS_H_CVSID UTILITY_H_CVSID; // tries to guess device type given the name (a path). See utility.h -- GitLab