search for: fslist

Displaying 3 results from an estimated 3 matches for "fslist".

Did you mean: flist
2013 Oct 25
8
[PATCH] btrfs: add framework to read fs info from btrfs-control
...5 insertions(+), 6 deletions(-) diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 0991fb1..bae53ba 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -1641,38 +1641,73 @@ static struct file_system_type btrfs_fs_type = { }; MODULE_ALIAS_FS("btrfs"); +static int btrfs_ioc_get_fslist(void __user *arg) +{ + int ret = 0; + u64 sz_fslist_arg; + u64 sz_fslist; + struct btrfs_ioctl_fslist_args *fslist_arg; + struct btrfs_ioctl_fslist *fslist; + + sz_fslist_arg = sizeof(*fslist_arg); + fslist_arg = memdup_user(arg, sz_fslist_arg); + + sz_fslist = sizeof(*fslist) * fslist_arg->coun...
2003 Dec 31
1
BAD rsync, or is it bad me?
Something very scary just happened to me while I was creating a ksh script to rsync mulitple FS between two hosts. Here is the script, notice the 'i' at the end of rsync line, it got put there by mistake. You also see the contents of $FSLIST cat'd below the script. When I ran this, it started to delete files in root's home directory and place files from the fist FS, /banner, into root's home directory. The resolved rsync line in the first instance would have been... rsync -vaz -e "ssh" --delete --exclude-fro...
2010 Dec 09
3
How many files & directories in a ZFS filesystem?
Looking for a little help, please. A contact from Oracle (Sun) suggested I pose the question to this email. We''re using ZFS on Solaris 10 in an application where there are so many directory-subdirectory layers, and a lot of small files (~1-2Kb) that we ran out of inodes (over 30 million!). So, the zfs question is, how can we see how many files & directories have been created in