00001 #ifndef NFS_H 00002 #define NFS_H 00003 00004 #include "y2storage/Volume.h" 00005 00006 namespace storage 00007 { 00008 class NfsCo; 00009 00010 class Nfs : public Volume 00011 { 00012 public: 00013 Nfs( const NfsCo& d, const string& NfsDev ); 00014 Nfs( const NfsCo& d, const Nfs& rhs ); 00015 virtual ~Nfs(); 00016 friend std::ostream& operator<< (std::ostream& s, const Nfs& l ); 00017 00018 static string canonicalName( const string& dev ); 00019 static bool notDeleted( const Nfs& l ) { return( !l.deleted() ); } 00020 00021 virtual void print( std::ostream& s ) const { s << *this; } 00022 00023 void getInfo( storage::NfsInfo& info ) const; 00024 bool equalContent( const Nfs& rhs ) const; 00025 void logDifference( const Nfs& d ) const; 00026 00027 string removeText( bool doing=true ) const; 00028 00029 protected: 00030 void init(); 00031 Nfs& operator=( const Nfs& ); 00032 00033 mutable storage::NfsInfo info; 00034 }; 00035 00036 } 00037 00038 #endif
1.5.5