search for: add_fs

Displaying 4 results from an estimated 4 matches for "add_fs".

Did you mean: add_vfs
2008 Jan 13
2
module_eval and scope question
When trying to understand a piece of code from the Ruby-On-Rails framework, I found that I''m still lacking knowledge about scope issues in Ruby. Here is a stripped down version of the code I''m trying to understand (in case you happen to use Rails: This is from file scaffolding.rb): module ActionController module Scaffolding .. module ClassMethods def
2013 Oct 18
0
[RFC/PATCH 3/3] Wire up MultiFS support.
...fine DISK_ID_OFFSET 0x80 +#define DISKS_MAX 128 + +/* MaxTransfer for MultiFS access */ +#define MAX_TRANSFER 127 + +static struct queue_head *parts_info[DISKS_MAX]; + +/* + * Store info about the FS into a specific queue to be used later. + * + * @ret: 0 on success, -1 on failure. + */ +static int add_fs(struct fs_info *fs, uint8_t disk, uint8_t partition) +{ + struct queue_head *head = parts_info[disk]; + struct part_node *node; + + node = malloc(sizeof(struct part_node)); + if (!node) + return -1; + node->fs = fs; + node->next = NULL; + node->partition = parti...
2015 Jul 22
13
[PULL 0/8] MultiFS suppport for BIOS and EFI
So last week I was wondering if XFS was still working -- even with its last on-disk structure changes -- and it _suprisingly_ worked as expected. Right, now I can finally get rid of GRUB and use Syslinux to boot my Linux on EFI from a rootfs with xfs. Shit, I have two partitions (the first one being the required ESP) so there is no way to access the other partitions since because Syslinux does not
2012 Aug 20
13
[PATCH 00/12] Multidisk support
Hello, the following patches should get multidisk access working. The syntax accepted is the following: (hdx,y)/path/to/file where x is the disk number and start at 0 and the y is the partition number starting at 1. So (hd0,1) is the first partition of the first disk. the other accepted syntax is using MBR's 32 bits disk signature so for example: (mbr:0x12345678,2)/foo/bar would address