Disk.cc File Reference

#include <iostream>
#include <string>
#include <sstream>
#include <iomanip>
#include <fcntl.h>
#include <sys/mount.h>
#include <linux/hdreg.h>
#include "y2storage/Region.h"
#include "y2storage/Partition.h"
#include "y2storage/ProcPart.h"
#include "y2storage/Disk.h"
#include "y2storage/Storage.h"
#include "y2storage/AsciiFile.h"
#include "y2storage/AppUtil.h"
#include "y2storage/SystemCmd.h"

Namespaces

namespace  storage

Defines

#define PARTEDBIN   "/usr/sbin/parted"
#define PARTEDCMD   PARTEDBIN " -s "
#define TB   (1024ULL * 1024ULL * 1024ULL)
#define EB   (1024ULL * 1024ULL * 1024ULL * 1024ULL)
#define PB   (1024ULL * 1024ULL * 1024ULL * 1024ULL * 1024ULL)

Functions

static bool isBsdPart (const Partition &p)
static bool isExtended (const Partition &p)
static bool notDeletedLog (const Partition &p)
static bool notDeletedNotLog (const Partition &p)
static bool existingNotLog (const Partition &p)
static bool existingLog (const Partition &p)
static bool notCreatedPrimary (const Partition &p)
static bool regions_sort_size (const Region &rhs, const Region &lhs)
static bool volume_ptr_sort_nr (Partition *&rhs, Partition *&lhs)
static bool logicalCreated (const Partition &p)
std::ostream & storage::operator<< (std::ostream &s, const Disk &d)

Define Documentation

#define EB   (1024ULL * 1024ULL * 1024ULL * 1024ULL)

#define PARTEDBIN   "/usr/sbin/parted"

#define PARTEDCMD   PARTEDBIN " -s "

#define PB   (1024ULL * 1024ULL * 1024ULL * 1024ULL * 1024ULL)

#define TB   (1024ULL * 1024ULL * 1024ULL)


Function Documentation

static bool existingLog ( const Partition p  )  [static]

static bool existingNotLog ( const Partition p  )  [static]

static bool isBsdPart ( const Partition p  )  [static]

static bool isExtended ( const Partition p  )  [static]

static bool logicalCreated ( const Partition p  )  [static]

static bool notCreatedPrimary ( const Partition p  )  [static]

static bool notDeletedLog ( const Partition p  )  [static]

static bool notDeletedNotLog ( const Partition p  )  [static]

static bool regions_sort_size ( const Region rhs,
const Region lhs 
) [static]

static bool volume_ptr_sort_nr ( Partition *&  rhs,
Partition *&  lhs 
) [static]


Generated on Sun Jun 8 10:48:02 2008 for yast2-storage by  doxygen 1.5.5