Searched refs:mount_point (Results 1 - 10 of 10) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/client/
H A Dsmbumount.c41 umount_ok(const char *mount_point) argument
45 int fid = open(mount_point, O_RDONLY|O_NOFOLLOW, 0);
50 mount_point, strerror(errno));
58 mount_point);
67 mount_point);
111 char* mount_point; local
126 mount_point = canonicalize(argv[1]);
128 if (mount_point == NULL)
133 if (umount_ok(mount_point) != 0) {
137 if (umount(mount_point) !
[all...]
H A Dsmbmnt.c129 static int mount_ok(char *mount_point) argument
133 if (chdir(mount_point) != 0) {
190 char *mount_point, *share_name = NULL; local
224 mount_point = fullpath(argv[1]);
229 if (mount_ok(mount_point) != 0) {
231 mount_point, strerror(errno));
277 ment.mnt_dir = mount_point;
283 mount_point = ment.mnt_dir;
285 if (mount_point == NULL)
H A Dsmbmount.c255 static void smb_umount(char *mount_point) argument
270 if (umount(mount_point) != 0) {
272 sys_getpid(), mount_point, strerror(errno)));
299 if (strcmp(mnt->mnt_dir, mount_point) != 0) {
333 static void send_fs_socket(char *the_service, char *mount_point, struct cli_state *c) argument
342 if ((fd = open(mount_point, O_RDONLY)) < 0) {
344 sys_getpid(), mount_point));
424 smb_umount(mount_point);
435 char mount_point[PATH_MAX+1]; local
442 if (realpath(mpoint, mount_point)
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/coreutils/
H A Ddf.c77 const char *mount_point; local
86 mount_point = *argv++;
87 if (!mount_point) {
90 mount_entry = find_mount_point(mount_point, bb_path_mtab_file);
92 bb_error_msg("%s: can't find mount point", mount_point);
100 mount_point = mount_entry->mnt_dir;
102 if (statfs(mount_point, &s) != 0) {
103 bb_perror_msg("%s", mount_point);
139 blocks_percent_used, mount_point);
145 blocks_percent_used, mount_point);
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/files/
H A Ddetach_afp_shares7 # 2. /usr/sbin/detach_afp_shares <mount_point>
11 # 4. /usr/sbin/detach_afp_shares <mount_point> "hotplug2"
129 mount_point=$1
134 sed '/^\/mnt\/'${mount_point}'\/.*$/d' /etc/netatalk/AppleVolumes.default > /tmp/AppleVolumes.default.tmp
147 status=`ls -l /proc/$afppid/cwd | awk '{print $11}' | grep -o "$mount_point[ ]*$\|$mount_point/"`
159 status=`ls -l /proc/$afppid/cwd | awk '{print $11}' | grep -o "$mount_point[ ]*$\|$mount_point/"`
178 cnidpids=`ps | grep cnid_dbd | grep "$mount_point/" | grep -v grep | awk '{print $1}'`
191 status=`ps | grep cnid_dbd | grep "$mount_point/" | gre
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/src/router/arm-uclibc/target/usr/sbin/
H A Ddetach_afp_shares7 # 2. /usr/sbin/detach_afp_shares <mount_point>
11 # 4. /usr/sbin/detach_afp_shares <mount_point> "hotplug2"
129 mount_point=$1
134 sed '/^\/mnt\/'${mount_point}'\/.*$/d' /etc/netatalk/AppleVolumes.default > /tmp/AppleVolumes.default.tmp
147 status=`ls -l /proc/$afppid/cwd | awk '{print $11}' | grep -o "$mount_point[ ]*$\|$mount_point/"`
159 status=`ls -l /proc/$afppid/cwd | awk '{print $11}' | grep -o "$mount_point[ ]*$\|$mount_point/"`
178 cnidpids=`ps | grep cnid_dbd | grep "$mount_point/" | grep -v grep | awk '{print $1}'`
191 status=`ps | grep cnid_dbd | grep "$mount_point/" | gre
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ocfs2/
H A Docfs1_fs_compat.h49 /*88*/ __u8 mount_point[OCFS1_MAX_MOUNT_POINT_LEN]; member in struct:ocfs1_vol_disk_hdr
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/miscutils/
H A Ddevfsd.c245 static char *mount_point = NULL; variable
369 mount_point = bb_simplify_path(argv[1]);
371 xchdir(mount_point);
405 printf("%s v%s started for %s\n",applet_name, DEVFSD_VERSION, mount_point);
411 dir_operation(SERVICE, mount_point, 0, NULL);
438 dir_operation(SERVICE, mount_point, 0, NULL);
440 if (ENABLE_FEATURE_CLEAN_UP) free(mount_point);
790 snprintf(gv_info.devpath, sizeof(gv_info.devpath), "%s/%s", mount_point, info->devname);
828 snprintf(gv_info.devpath, sizeof(gv_info.devpath), "%s/%s", mount_point, info->devname);
953 dpath = concat_path_file(mount_point, spat
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/src/router/rc/
H A Dservices.c1233 char *mount_point = NULL; local
1242 mount_point = mount_entry->mnt_dir;
1244 if (strstr(mount_point, mntdir) == NULL)
1248 sscanf(mount_point, "/%*[^/]/%*[^/]/%s", basename);
1269 sprintf(path, "path = %s", mount_point);
/netgear-R7000-V1.0.7.12_1.2.5/src/router/udev/extras/volume_id/lib/
H A Docfs.c35 uint8_t mount_point[128]; member in struct:ocfs1_super_block_header

Completed in 175 milliseconds