Jump to User:

myOtaku.com: kikii

My Avatar



Sometimes, I feel as though I need to tell my life in the fashion of an angsty, first-person teen novel in the stead of a multisyllabic text with an ocean-deep inner message. I feel the need to reach out desperately for opinions, but seldom do they arise. Even if I could come across these opinions, I would discard them like the "Two" or the "Three" or any of the thirteen, for I believe that there is not a soul that is accompanied by a pure, unbiased Heart.








Sunday, April 1, 2012


/*
* print a full list of all partitions - intended for places where the root
* filesystem can't be mounted and thus to give the victim some idea of what
* went wrong
*/
void __init printk_all_partitions(void)
{
struct class_dev_iter iter;
struct device *dev;

class_dev_iter_init(&iter, &block_class, NULL, &disk_type);
while ((dev = class_dev_iter_next(&iter))) {
struct gendisk *disk = dev_to_disk(dev);
struct disk_part_iter piter;
struct hd_struct *part;
char name_buf[BDEVNAME_SIZE];
char devt_buf[BDEVT_SIZE];
u8 uuid[PARTITION_META_INFO_UUIDLTH * 2 + 1];

/*
* Don't show empty devices or things that have been
* surpressed
*/
if (get_capacity(disk) == 0 ||
(disk->flags & GENHD_FL_SUPPRESS_PARTITION_INFO))
continue;

/*
* Note, unlike /proc/partitions, I am showing the
* numbers in hex - the same format as the root=
* option takes.
*/
disk_part_iter_init(&piter, disk, DISK_PITER_INCL_PART0);
while ((part = disk_part_iter_next(&piter))) {
bool is_part0 = part == &disk->part0;

uuid[0] = 0;
if (part->info)
part_unpack_uuid(part->info->uuid, uuid);

printk("%s%s %10llu %s %s", is_part0 ? "" : " ",
bdevt_str(part_devt(part), devt_buf),
(unsigned long long)part->nr_sects >> 1,
disk_name(disk, part->partno, name_buf), uuid);
if (is_part0) {
if (disk->driverfs_dev != NULL &&
disk->driverfs_dev->driver != NULL)
printk(" driver: %s\n",
disk->driverfs_dev->driver->name);
else
printk(" (driver?)\n");
} else
printk("\n");
}
disk_part_iter_exit(&piter);
}
class_dev_iter_exit(&iter);
}
Comments (0) | Permalink



Monday, December 26, 2011




Woooo! It's been a good minute. I hope that everyone's Christmas went well, and that everyone else's Kwanza and Hannukah are going fabulously. Me, I had a pretty good holiday. I got a bigger house for my birds... they are loving it. That makes me happy.



As for Kyle, he is doing fine. I miss him a lot, but he is working on coming to visit me. He has a new job ( that he hates, but what can he do?) and he has also been offered to take up some freelance work. Don't ask me what it is that he id doing... I know nothing about computers... He is working on coming to see me at the same time as Miss Faroe comes to visit. He would like to meet her :)

By the by, this is me...

And this is my darlin'

heheh... I wish that my picture weren't so big... anyway... I am very bored. I am working on a plan, though, and I am up in the air about a lot of things. I am also worried, and I hope that everything and every one will be alright. Though things are going swimmingly right now, I have to think about the future... ugh. what a bummer XD

Well, I am gonna try to get on here a bit more often... I hope that too much doesn't get in the way. This is sort of my secret doamin. No one knows about it but me, and I enjoy being in a place like this every so often... I am sure that you know the feeling :)




Comments (0) | Permalink

» Archives



Featured Quiz Result:



Attribute Value (in %)
HEART 100
Peace 100
information infinite