Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How can i get my windows 98 folder from unix? Post 5942 by dmoorejr on Monday 27th of August 2001 10:26:38 AM
Old 08-27-2001
Tools

You must first find out the name of that Hard disk, is it hda0? hda1? or hdb0? set it in the /etc/fstab file as a mount point. You also need to specify the file system type. Read How-Tos on fstab, file system mounting, and of similar content.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How can I view a Windows 2003 folder in Unix?

Is it possible to do something like this? Have a folder shared on a Windows machine and then be able to view it under a Unix server? Sort of like a reverse Samaba share? (5 Replies)
Discussion started by: LordJezo
5 Replies

2. UNIX for Dummies Questions & Answers

folder replication between windows and unix

1. How do i replicate folders between windows and unix. if i create a subfolder under NDC in windows, it should automatically create a subfolder in unix as well. windows nt /NDC/SUBFOLDERS hp ux /NDC/SUBFOLDERS 2. How do i ftp a file from windows to unix using automated... (0 Replies)
Discussion started by: systemsb
0 Replies

3. UNIX for Dummies Questions & Answers

create folder in windows from unix while FTP

Hi, I would like to know if it's possible to create a folder in a Windows Server while running a ftp script in Unix. The idea is to create a script that searches for different files in folders, and when the file is found, take the path of that file and create it to Windows and ftp the file to... (0 Replies)
Discussion started by: Metalero de Oz
0 Replies

4. Windows & DOS: Issues & Discussions

How can I upload a zip folder on a unix path from my windows folder?

Hello, I am an amature at UNIX commands and functionality. Please could you all assist me by replying to my below mentioned querry : How can I upload a zip folder on a unix path from my windows folder? Thanks guys Cheers (2 Replies)
Discussion started by: ajit.yadav83
2 Replies

5. Shell Programming and Scripting

how to create folder and sub-folder in UNIX ?

Hi all, I have the following code to check the whether the folder is exist in my system. if ; then echo 'folder exist'; else echo 'folder not exist'; mkdir /home/batch/testing ; fi When I remove the "testing" folder from "/home/batch" directory, the code is working fine. But when I... (2 Replies)
Discussion started by: suigion
2 Replies

6. Solaris

how to share a folder from windows xp to solaris 8

how to share a folder from windows xp to solaris 8? with out using samba?it is possible or not for sharing a folder between windows and solaris 8 (1 Reply)
Discussion started by: tv.praveenkumar
1 Replies

7. Shell Programming and Scripting

FTP from Unix Shell script to Windows Shared folder ?

Hi Before Posting my query in this forum, I have gone through various similar postings to get some idea on ftp and how to do that from unix shell script to windows server. My question is related to FTP'ing from Unix to windows shared folder My basic question is 1. Is it possible to do FTP... (4 Replies)
Discussion started by: shekharjchandra
4 Replies

8. Shell Programming and Scripting

BatchScript/Unix shell Script to check folder in Windows server

Hi, It will be great help if any of them can provide or tell which scripting is possible to write for checking folder exists or not in Windows server from Unix/Windows machine. If folder doesn't exist then need to create the folder through script and copy the files. It is on very... (1 Reply)
Discussion started by: prakashchakra7
1 Replies

9. Red Hat

Share folder between vmware and windows

when i try to mount share folder in redhat mount share -t vmboxfs /mnt it shows no filesystem vmbox:) (4 Replies)
Discussion started by: amitbharad
4 Replies

10. Windows & DOS: Issues & Discussions

Transfer of zipped folder from windows desktop to UNIX server

Hi all, I'm a newbie to unix. My requirement is to create an automation script which will transfer a zipped folder from my/remote desktop to an unix server. Tools lik WinSCP shouldnt be used. No manual moving. I use putty to connect to server. I couldnt find any help on this topic. Should i use... (3 Replies)
Discussion started by: sherin22
3 Replies
GETFSENT(3)						     Linux Programmer's Manual						       GETFSENT(3)

NAME
getfsent, getfsspec, getfsfile, setfsent, endfsent - handle fstab entries SYNOPSIS
#include <fstab.h> void endfsent(void); struct fstab *getfsent(void); struct fstab *getfsfile(const char *mount_point); struct fstab *getfsspec(const char *special_file); int setfsent(void); DESCRIPTION
These functions read from the file /etc/fstab. The struct fstab is defined by struct fstab { char *fs_spec; /* block device name */ char *fs_file; /* mount point */ char *fs_vfstype; /* filesystem type */ char *fs_mntops; /* mount options */ const char *fs_type; /* rw/rq/ro/sw/xx option */ int fs_freq; /* dump frequency, in days */ int fs_passno; /* pass number on parallel dump */ }; Here the field fs_type contains (on a *BSD system) one of the five strings "rw", "rq", "ro", "sw", "xx" (read-write, read-write with quo- tas, read-only, swap, ignore). The function setfsent() opens the file when required and positions it at the first line. The function getfsent() parses the next line from the file. (After opening it when required.) The function endfsent() closes the file when required. The function getfsspec() searches the file from the start and returns the first entry found for which the fs_spec field matches the spe- cial_file argument. The function getfsfile() searches the file from the start and returns the first entry found for which the fs_file field matches the mount_point argument. RETURN VALUE
Upon success, the functions getfsent(), getfsfile(), and getfsspec() return a pointer to a struct fstab, while setfsent() returns 1. Upon failure or end-of-file, these functions return NULL and 0, respectively. HISTORY
The getfsent() function appeared in 4.0BSD; the other four functions appeared in 4.3BSD. CONFORMING TO
These functions are not in POSIX. Several operating systems have them, e.g., *BSD, SunOS, Digital Unix, AIX (which also has a getfstype()). HP-UX has functions of the same names, that however use a struct checklist instead of a struct fstab, and calls these functions obsolete, superseded by getmntent(3). NOTES
These functions are not thread-safe. Since Linux allows mounting a block special device in several places, and since several devices can have the same mount point, where the last device with a given mount point is the interesting one, while getfsfile() and getfsspec() only return the first occurrence, these two functions are not suitable for use under Linux. SEE ALSO
getmntent(3), fstab(5) Linux 2.5 2002-02-28 GETFSENT(3)
All times are GMT -4. The time now is 04:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy