Lines Matching defs:opts
240 static struct ntfs_options opts;
4214 ntfs_log_info("Unmounting %s (%s)\n", opts.device,
4232 ntfs_log_perror("Failed to close volume %s", opts.device);
4510 fc = fuse_mount(opts.mnt_point, &margs);
4566 fuse_unmount(opts.mnt_point, ctx->fc);
4587 if (strcmp(opts.arg_device,opts.device))
4589 opts.arg_device,opts.device);
4591 opts.device, (ctx->ro) ? "Read-Only" : "Read-Write",
4594 ntfs_log_info("Cmdline options: %s\n", opts.options ? opts.options : "");
4636 if (ntfs_parse_options(&opts, usage, argc, argv)) {
4646 parsed_options = parse_mount_options(ctx, &opts, TRUE);
4651 if (!ntfs_check_if_mounted(opts.device,&existing_mount)
4660 if (opts.mnt_point[0] == '/')
4661 ctx->abs_mnt_point = strdup(opts.mnt_point);
4665 if ((strlen(opts.mnt_point) < PATH_MAX)
4667 PATH_MAX - strlen(opts.mnt_point) - 1)) {
4669 strcat(ctx->abs_mnt_point, opts.mnt_point);
4672 opts.mnt_point = ctx->abs_mnt_point;
4687 if ((opts.mnt_point[0] == '/')
4688 && !stat(opts.mnt_point,&sbuf)) {
4708 if (stat(opts.device, &sbuf)) {
4709 ntfs_log_perror("Failed to access '%s'", opts.device);
4727 err = ntfs_open(opts.device);
4854 fuse_unmount(opts.mnt_point, ctx->fc);
4857 ntfs_mount_error(opts.device, opts.mnt_point, err);
4870 free(opts.options);
4871 free(opts.device);