08-13-2008
Quote:
Originally Posted by
rball
The way I do it on the Sourcemage Linux server is so completely different from this AIX. In Linux it's set up in /etc/fstab but in AIX apparently it's /etc/filesystems - trying to get the syntax correct for that one.
You might want to consult the
Unix Rosetta Stone for some of the differences between Linux and AIX. IIRC there is also a Redbook from IBM, which adresses SunOS-AIX convertees. SunOS is - as far as i know - very close to Linux so probably this is of relevance for you.
I hope this helps.
bakunin
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have never installed Samba before and am having trouble. I downloaded the opt-samba-base.tar and the opt-samba-3.0.26a-AIX5 file as well and while it appears they both installed okay but it never created the /etc/samba or /usr/local/samba directories - just the /opt/pware/samba directory. I... (2 Replies)
Discussion started by: capeme
2 Replies
2. AIX
I have 11 AIX (a mix of 4.3.3.0 and 4.3.2.0) on which I succesfully installed a Samba server. On two other systems, the smbd start command generates the following error message. Anybody ?
itocroot@TAGEN010: /usr/local/samba/bin $ ./smbd start
exec(): 0509-036 Cannot load program ./smbd because... (0 Replies)
Discussion started by: Frans Graux
0 Replies
3. AIX
Hello
Can someone help how to install samba on aix 5.3,
I go to tha samba page and i download two files
opt-samba-base.tar.gz
opt-samba-3.0.28-AIX5.tar.gz
and I read the readme file but there is a file that miss and I dont know if I need to do this necessary
"You can now verify... (9 Replies)
Discussion started by: lo-lp-kl
9 Replies
4. UNIX for Advanced & Expert Users
I've had some recent success compiling some simple programs to my home directory without root access (wget, screen, less).
My Question is this: Can I compile a complex program like Samba WITHOUT root access to my home directory? Or are the multiple library dependencies going to cause an issue?... (2 Replies)
Discussion started by: goldfish
2 Replies
5. AIX
Please help, I'm wicked... :confused:
I'm trying to get Samba to work on an IBM pseries machine (AIX 5.3) to provide access to the server for a user to retrieve reports from her WinXP desktop. I've made the proper entires in the smb.conf file and tried runing the smbpasswd command to add the user... (4 Replies)
Discussion started by: trandall
4 Replies
6. UNIX for Dummies Questions & Answers
Greetings, I hope this is the right forum. I am looking to install Samba on my Linux box on my home network. I'm pretty sure I can deal with the how, I'm just not certain of the what.
ok I'm using Debian lenny with no GUI. I have apt working and I've successfully installed and used one package... (10 Replies)
Discussion started by: fguy
10 Replies
7. Solaris
Hi all, I'm trying to update my samba 3.5.10 to 3.6.5 due to security CVE issued with 3.5.
I downloaded and unzipped, did the make and make install and the ./configure.
I didn't use any changes to it and it said it installed correctly added it to my path and it looks like it's operating... (6 Replies)
Discussion started by: mattymatt79
6 Replies
8. Solaris
Hello this is samiulla. i face this issue. i installed samba with pkgadd after i install i add paths for that.
-bash-3.00# echo $PATH
/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/local/samba/sbin:/usr/local/samba/bin/
-bash-3.00#
when enter this commad smbd -D i got this error
smbd -D... (3 Replies)
Discussion started by: samiulla
3 Replies
9. AIX
Hello,
I am trying to update Samba on my AIX 7.1 system as there is an issues with it, the smbd process coredumps and I have had no luck figuring it out why.
My approach is to try to re-install a newer samba and I have found the latest 3.x package for samba in ppc.rpm format at perlz.org
... (6 Replies)
Discussion started by: c3rb3rus
6 Replies
10. AIX
I am running AIX 7.1 and currently we have samba 3.6.25 installed on the server. As it stands some AIX folders are shared that can be accessed by certain Windows users.
The problem is that since Windows 10 the guest feature no longer works so users have to manually type in their Windows login/pwd... (14 Replies)
Discussion started by: linuxsnake
14 Replies
LEARN ABOUT LINUX
endfsent
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; /* file-sysem 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 quota,
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.
CONFORMING TO
These functions are not in POSIX.1-2001. Several operating systems have them, e.g., *BSD, SunOS, Digital Unix, AIX (which also has a getf-
stype()). 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)
COLOPHON
This page is part of release 3.27 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
GNU
2002-02-28 GETFSENT(3)