Linux-Misc Digest #535, Volume #25 Wed, 23 Aug 00 15:13:04 EDT
Contents:
Re: Problems to mount a Novell-Directory under Linux (Valentin Abramov)
Re: need serious help here... X hates me! (Scott Morgan)
Re: Operating system file name restrictions? Where? (Johan Kullstam)
Re: linux & windows can use same swap file? (Frank Arnold)
Re: Operating system file name restrictions? Where? (Karsten Wutzke)
Re: GUNZIP a 10Gb file? ("William J. Schaff")
Re: Linux 6.2 professional at a reasonable price. (Ken)
Re: linux & windows can use same swap file? (~~~i LeoNid ~~)
Re: Operating system file name restrictions? Where? (Greg Weston)
Re: Help: Linux crashes ([EMAIL PROTECTED])
Re: So where is the performance analysis tools? (Neal Rhodes)
Re: Linux 6.2 professional at a reasonable price. ("Gero H. Marten")
Programming /dev/ttyS* in Unix ("Pliev")
Re: Lotus Mail ("Jason")
Gnome/KDE/X question (id)
Re: Gnome/KDE/X question (Dances With Crows)
Programming socket in the cycle ("Pliev")
Re: PHP - database driven web development (elaine chan)
Re: NTFS? (Rod Smith)
small installation ([EMAIL PROTECTED])
Re: Mount a NTFS-directory under linux (Rod Smith)
Re: help on uid/gid of /dev/dsp (Arul)
----------------------------------------------------------------------------
Subject: Re: Problems to mount a Novell-Directory under Linux
From: [EMAIL PROTECTED] (Valentin Abramov)
Date: 23 Aug 2000 17:18:34 GMT
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
>
>Hello,
>
>I installed the ncpfs-package, but I always get errors wenn I try to
>connect
>to the netware server like this:
>
>ncpmount -S NOVELL-FS /novell -U testuser
>Logging into NOVELL-FS as testuser
>Password:
>ncpmount: No such entry (-601) in nds login
>Login denied
>
Looks like NDS tree of your NW server doesn't have such user as "testuser".
Try the same with some real account.
Regards,
Valja
------------------------------
From: [EMAIL PROTECTED] (Scott Morgan)
Subject: Re: need serious help here... X hates me!
Date: Wed, 23 Aug 2000 17:09:01 GMT
WooHoo!
i found some spiffy options fer gettin my video card to work, and i
think i understand how to setup my other nic
thanks all!
you guys ruuule :D
------------------------------
Crossposted-To:
comp.sys.mac.programmer.help,comp.sys.mac.programmer.misc,comp.sys.mac.misc,microsoft.public.windowsnt.misc
Subject: Re: Operating system file name restrictions? Where?
From: Johan Kullstam <[EMAIL PROTECTED]>
Date: 23 Aug 2000 13:35:34 -0400
[EMAIL PROTECTED] (Dances With Crows) writes:
> On Wed, 23 Aug 2000 15:11:23 +0200, Karsten Wutzke wrote:
> >files and I want the user to be able to choose whether s/he wants a
> >Unix, Windows Joliet, MS-DOS or Mac file to be generated (it will also
> >run on any of these platforms). It's not only about the carriage
> >returns, but also about which characters are forbidden in file names AND
> >how many characters long a file name and its extension can be at
> >maximum, e.g. for DOS it's 8.3. Luckily Windows tells me that when
> >creating an absolutely invalid filename, like /�&%(�%&)", the characters
> >\ / : * ? " < > and | are forbidden, but what's the maximum filename
> >length...? What about Linux or Unix in general? Don't they have
> >different file naming systems? What were they based on...Minix file
> >system? Don't remember... What about the Mac?
>
> Unix filename conventions were created long before Minix existed. The
> only character that's forbidden is "/" since that character is used as a
> directory separator.
\0 is also forbidden since that's end of string and would cause no end
of trouble in its handling under unix. everything else, even control
chars, is ok (but can cause some weird interactions with your display,
various userland programs &c).
unix used to have a 14 char limit. this might be important if you
have to deal with stuff over ten years old.
> Most Unices these days have a 255-character limit
> on filenames. The pre-OS X Mac has a 32-character limit, and the
> forbidden character is ":", again because it's a directory
> separator.
while it's not forbidden, : can give problems in unix too since it's
commonly used as a name separator. e.g., in bash
$ PATH=/bin:/usr/bin
--
J o h a n K u l l s t a m
[[EMAIL PROTECTED]]
sysengr
------------------------------
From: Frank Arnold <[EMAIL PROTECTED]>
Subject: Re: linux & windows can use same swap file?
Date: Wed, 23 Aug 2000 10:33:56 -0700
There is a linux distribution called "Monkey" that used the
windows swap file. It was set up to be installed from floppies.
Hasn't been updated for quite a while but might be worth
looking at to see how swap usage was set up.
Frank Arnold
============================================
On Mon, 21 Aug 2000, Dan Jacobson wrote:
>I had this brilliant idea that Linux and windows could use the same swap
>area on disk thus saving the user from e.g., redundantly having two 128K
>areas on disk when only one operating system could be running [but what
>about emulations?] anyway. Naturally I'm just throwing this out for you
>pros to debate. [Nothing simpleminded me is planning on doing myself
>etc., so no need to e-mail me the details, I wouldn't understand it
>anyway.] It seems however that the savings is so small that one
>shouldn't bother anyway. Hmmm, I read
>> Linux reserves the type code 0x82 for swap partitions
>therefore one would have to add a level of indirection to have it find a
>different OS's swap area...
>which would probably have problems getting lost on the next upgrade etc.
>making the whole exercise useless... ok never mind.
>--
>www.geocities.com/jidanni ... fix e-mail address to reply; �n����
>Tel:+886-4-5854780; starting in year 2001: +886-4-25854780
------------------------------
From: Karsten Wutzke <[EMAIL PROTECTED]>
Crossposted-To:
comp.sys.mac.programmer.help,comp.sys.mac.programmer.misc,comp.sys.mac.misc,microsoft.public.windowsnt.misc
Subject: Re: Operating system file name restrictions? Where?
Date: Wed, 23 Aug 2000 19:48:54 +0200
Karl B wrote:
> Karsten Wutzke <[EMAIL PROTECTED]> wrote:
>
> > \ / : * ? " < > and | are forbidden,
> > Can anyone explain WHY some characters are prohibited?
>
> \ - Because DOS uses it as a "command" char.
> / - Because DOS uses it as a directiory seperator.
You mean the other way around...
What's a command... character?
What about < and >, the smaller than and greater than characters?
Karsten
--
Anti SPAM:
Remove 123 from email address to reply.
Entferne 123 von der Emailadresse, um zu antworten.
------------------------------
From: "William J. Schaff" <[EMAIL PROTECTED]>
Subject: Re: GUNZIP a 10Gb file?
Date: Wed, 23 Aug 2000 13:47:52 -0400
In article <[EMAIL PROTECTED]>,
"William J. Schaff" <[EMAIL PROTECTED]> wrote:
> I need to decompress a 10Gb .gz file, but gunzip and gzip complain that
> the file is too large. This is on a 2.4 kernal which successfully
> ftp'ed the file (large file success under 2.4!). Any ideas on how to to
> this?
>
> The original file was created by a combination of dump | gzip |
> ftpbackup and I need to restore a portion of. If I manage to gunzip the
> .gz file, will restore be able to handle a 10GB+ file?
I'll answer my own question - upon rebooting, fsck found that a large
file (10Gb) existed without a Large File Bit set in the Superblock.
Upon using e2fsck to set the large file bit, gunzip worked on the large
file without having to recompile.
--
William J. Schaff 607-255-3974 / 607-227-4373
415 Phillips Hall 607-255-4742 FAX
Cornell University [EMAIL PROTECTED]
Ithaca, NY 14853 http://www.iiiv.cornell.edu/~schaff/
------------------------------
From: Ken <[EMAIL PROTECTED]>
Crossposted-To:
za.local.cape-town,soc.culture.south-africa,linux.redhat.install,alt.os.linux
Subject: Re: Linux 6.2 professional at a reasonable price.
Date: Wed, 23 Aug 2000 13:49:49 -0400
Did you ever try sites like http://www.linuxemporium.co.uk/cheap.html or
http://www.cheapbytes.com?
------------------------------
From: [EMAIL PROTECTED] (~~~i LeoNid ~~)
Subject: Re: linux & windows can use same swap file?
Date: Wed, 23 Aug 2000 17:39:21 GMT
On Tue, 22 Aug 2000 11:37:57 +0800 impersonator of "Dan Jacobson"
<[EMAIL PROTECTED]> planted &I saw in comp.os.linux.misc:
>I had this brilliant idea that Linux and windows could use the same swap
You wasn't the first (to open an America:-) There is a mini-howto:
Swap-Space with common procedures description..
[cut in the middle]
>which would probably have problems getting lost on the next upgrade etc.
>making the whole exercise useless... ok never mind.
Why not? I bothered, for 1, (since I have limited HD space, and eVERY
little-bit counts). I did it on Debian and Slackware distributions; not a
big deal, after you did it once. (But of-coz me not planing running
Windows under Linux.. for now)
>--
>www.geocities.com/jidanni ... fix e-mail address to reply; �n����
>Tel:+886-4-5854780; starting in year 2001: +886-4-25854780
>
Fly Del.TA air.lines:-)
--
LeoNid
------------------------------
Subject: Re: Operating system file name restrictions? Where?
From: Greg Weston <[EMAIL PROTECTED]>
Crossposted-To:
comp.sys.mac.programmer.help,comp.sys.mac.programmer.misc,comp.sys.mac.misc,microsoft.public.windowsnt.misc
Date: Wed, 23 Aug 2000 17:59:42 GMT
In article <[EMAIL PROTECTED]>, Thomas Reed
<[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>, Dances With
> Crows <[EMAIL PROTECTED]> wrote:
>
> > The pre-OS X Mac has a 32-character limit, and the
> > forbidden character is ":", again because it's a directory separator.
>
> '.' is also discouraged on the Mac as the first character of filenames,
> primarily (from what I understand) for historic reasons. There may or
> may not still be reasons for this, but it's something to consider.
It's because that's the convention for driver names. Naming a file with
a period at the start isn't inherently a problem. Naming a file ".Sony"
is (or at least was) a recipe for disaster.
G
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.admin
Subject: Re: Help: Linux crashes
Date: Wed, 23 Aug 2000 17:54:52 GMT
I think Linux is a very immature, amateur OS. That's the main problem.
You should get Windows 2000 instead. It's an awesome OS. Doesn't crash
at all. Very stable.
In article <dDUl5.139$Vi5.560@client>,
"JP" <[EMAIL PROTECTED]> wrote:
> We have been running Slackware kernel 2.0.38 for a year.
Unfortunately,
> over last two months, the Linux box seems to be very unstable. It
crashes
> with a blank screen and all the connections are dropped.
>
> There is no error messages I can find on the /var/admin/messages
file. We
> are only running a very simple Linux firewall using IPFWADM and an
email
> application too. I don't notice any problem with disk space and free
memory
> either.
>
> What could be the problem? Any recommendation for trouble-shooting
would be
> appreciated. Thanks.
>
> Joe
>
>
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
Date: Wed, 23 Aug 2000 14:02:24 -0400
From: Neal Rhodes <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Re: So where is the performance analysis tools?
dpace wrote:
>
> Neal Rhodes wrote:
>
> > I'm somewhat new to managing big linux systems and I'm really missing
> > the info I used to get from SAR on unix systems.
> >
> > Where do I find out:
> > A. what is the activity level and i/o performance of each drive in
> > my system?
> >
> > B. Please list the processes that are taking the most memory. List
> > them in order.
> >
> > Aside from vmstat, which doesn't tell much, what is there?
> > --
> >
> > ------------------------------------------------------------------------------
> > Neal Rhodes MNOP Ltd (770)-
> > 972-5430
> > President Lilburn (atlanta) GA 30247 Fax:
> > 978-4741
> > [EMAIL PROTECTED]
> > http://www.mnopltd.com/
>
> Here are some tools:
> http://home.xnet.com/~blatura/linapp1.html#sysad
Thanks. I looked there and didn't see anything relevant to the
above.
>
> Also, sar exists and I have it. But, freshmeat is down right
> now. Search for it there, when they come back up:
> http://www.freshmeat.net
Huh. The reference I saw on freshmeat didn't indicate any real
release, only a "im thinkin about it".
>
> --
> David Pace - Free commodity/stock graphing software
> and Linux links at http://www.daveware.com
--
==============================================================================
Neal Rhodes MNOP Ltd (770)-
972-5430
President Lilburn (atlanta) GA 30247 Fax:
978-4741
[EMAIL PROTECTED]
http://www.mnopltd.com/
------------------------------
From: "Gero H. Marten" <[EMAIL PROTECTED]>
Subject: Re: Linux 6.2 professional at a reasonable price.
Date: Wed, 23 Aug 2000 16:08:50 +0200
What is Linux 6.2 professional? Nice cross posting by the way!
--
Gero
------------------------------
From: "Pliev" <[EMAIL PROTECTED]>
Subject: Programming /dev/ttyS* in Unix
Date: Wed, 23 Aug 2000 22:40:27 +0400
Hello!
Do you can to say to me, how in Unix (Linux) can to program COM ports
(/dev/ttyS*).
Which functions I must to use? I programmed in Win32 earlier, and used
function CreateFile,
WriteFile etc. Which analogs this functions using in Unix. I want to
program a information
interchange for modem.
If you can,send to me please a simple example on C.
Thanks!
------------------------------
From: "Jason" <Jason(AT)cyborgworkshop.com>
Subject: Re: Lotus Mail
Date: Wed, 23 Aug 2000 13:31:40 -0500
FYI, crossposting to several news groups is considered rude and usually
won't garner many responses.
Which Lotus mail are you using? Almost all of them come with a webmail
package, but they require MS and IIS. We are currently using CCMail and its
webmail package until the end of this year when CCMail is dropped from
Lotus' support list.
--
Jason
www.cyborgworkshop.com
...and the geek shall inherit the earth...
------------------------------
From: id <[EMAIL PROTECTED]>
Subject: Gnome/KDE/X question
Date: Wed, 23 Aug 2000 18:32:17 GMT
Hey all.
We all know that CTRL-ALT-[Keypad +] or CTRL-ALT-[Keypad -] will change
our current screen resolutions, porovided X is configured as such.
But if running Xconfigurator lets you select multiple color depths as
well, is there a hotkey combination to change color depth too? I
haven't seen this documented anywhere, and wonder how I could change
color depth on the fly.
I was having weird issues with my ATI All-in-Wonder 128 under Mandrake
Linux 7.1 where switching from X to a text console (a la CTRL-ALT-F1,
then back to X with CTRL-ALT-F7) would screw up my color mapping BIG
time. I think it was a complete reversal of the color map. The only way
to reset it seemed to be hitting CTRL-ALT-BACKSPACE to restart the X
engine... which has the unfortunate side effect of making me lose
everything I'm running in X at the time.
So I installed Linux on a seaparate machine with a generic ATI RAge II-
C chipset on the video card, and I don't have that problem anymore, so
maybe it's just an issue with the All-in-Wonder 128 card... also found
that dual-booting back to Win98 after using the video card in X would
cause other video issues that required a Win98 reinstallation, which
after about 15 installations over the last month prompted me to spend
$200 and finish building my second system to run Linux full-time,
escaping the dual-boot problems.
Anyhow, I digress. Is there a hotkey for color depth switching? I
wonder if that miht have helped my color palette problem.
Thanks,
-id
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Gnome/KDE/X question
Date: 23 Aug 2000 18:42:56 GMT
Reply-To: [EMAIL PROTECTED]
On Wed, 23 Aug 2000 18:32:17 GMT, id wrote:
>We all know that CTRL-ALT-[Keypad +] or CTRL-ALT-[Keypad -] will change
>our current screen resolutions, porovided X is configured as such.
>But if running Xconfigurator lets you select multiple color depths as
>well, is there a hotkey combination to change color depth too? I
[massive snip]
No. Changing color depth requires killing and restarting X. Since
your video card has a lot of RAM and processing power, why not just
leave it at 32-bit color all the time?
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Those who do not understand Unix are
http://www.brainbench.com / condemned to reinvent it, poorly.
=============================/ ==Henry Spencer
------------------------------
From: "Pliev" <[EMAIL PROTECTED]>
Subject: Programming socket in the cycle
Date: Wed, 23 Aug 2000 22:40:53 +0400
Hello All!
I have a problem. I am sorry, my questions is fool, but I am beginner in
Unix :((
I have created two simple programs, for testing TCP/IP connecting - server
and client.
This examples I am attaching to this message.
This examples is working correctly, but one cycle of transfers only.
I want, that the transfer implemented permanently, in a cycle.
But the server invokes "accept" and does "send" in reply to a call
"connect"
on the party of the client only.But function "connect" not working in cycle.
It calling one time only. In outcome a transfer take place one time only.
How I can to solve this problem?
Help me, if you can...
Examlpes:
file://Server---------------------------------------------------------------
======
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <unistd.h>
#include <sys/time.h>
#include <signal.h>
#include <arpa/inet.h>
#include <string.h>
#include <pthread.h>
#define PORTNUM 1500
struct servent *sp;
struct hostent *hp;
int skt,ns;
struct sockaddr_in server,client;
int pid;
char buf[80];
char transes[180]="The testing message for VK. 273-99-44";
pthread_t idTrasmit;
void *Trasmit(void *arg)
{
int addrlen;
bzero(&client,sizeof(client));
addrlen=sizeof(client);
if ((ns=accept(skt, (struct sockaddr *)&client,(socklen_t *)&addrlen))==-1)
{
perror("Accept fail");
exit(1);
}
fprintf(stderr,"Client = %s\n",inet_ntoa(client.sin_addr));
int nbytes;
int fout;
close(skt);
send(ns,transes,sizeof(transes),0);
printf("Message sended\n");
close(ns);
} file://end transmit
main(int argc, char *argv[])
{
int nport;
nport=PORTNUM;
nport=htons((u_short)nport);
printf("The programm Testing Server TCP/IP for Vk\n");
printf("Copyleft C Dr.Pliev 23.08.2000\n");
if ((skt=socket(AF_INET, SOCK_STREAM, 0))==-1)
{
perror("Error creating socket");
exit(1);
}
printf("Socket created, ID=%d\n",skt);
bzero(&server, sizeof (server));
server.sin_family=AF_INET;
server.sin_addr.s_addr=INADDR_ANY;
server.sin_port=nport;
if (bind(skt,(struct sockaddr *)&server,sizeof(server))==-1)
{
perror("Error of bind");
exit(1);
}
printf("Bind OK\n");
printf("Server ready:%s\n",inet_ntoa(server.sin_addr));
if (listen(skt,5)==-1)
{
perror("Error call listen");
exit(1);
}
printf("Listen OK\n");
pthread_create (&idTrasmit, NULL,Trasmit, NULL);
for(;;);
return 0;
}
// Client ---------------------------------------------------
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <unistd.h>
#include <sys/time.h>
#include <signal.h>
#include <arpa/inet.h>
#include <string.h>
#define PORTNUM 1500
main(int argc, char *argv[])
{
int skt;
int pid;
int i,j;
char transes[180];
struct sockaddr_in server;
struct hostent *hp;
double num;
int dec, sign, ndig =0;
char *str;
printf("The programm Client TCP/IP for Vk\n");
printf("Copyleft C Dr.Pliev 23.08.2000\n");
if((hp=gethostbyname(argv[1]))==0)
{
perror("gethostbyname error");
exit(1);
}
bzero(&server, sizeof (server));
bcopy(hp->h_addr,&server.sin_addr,hp->h_length);
server.sin_family=hp->h_addrtype;
server.sin_port=htons(PORTNUM);
if ((skt=socket(AF_INET, SOCK_STREAM, 0))==-1)
{
perror("Error creating socket");
exit(1);
}
printf("Socket created, ID=%d\n",skt);
fprintf(stderr,"Address Client = %s\n",inet_ntoa(server.sin_addr));
if (connect(skt,(struct sockaddr *)&server,sizeof(server))==-1)
{
perror("Connect errror");
exit(1);
}
for(;;)
{
if(recv(skt,&transes,sizeof(transes),0)>0)
{
printf("%s\n",transes);
num=(double)transes[7];
str = fcvt(num, ndig, &dec, &sign);
printf(" %s\n",str);
}
close (skt);
}
}
------------------------------
Subject: Re: PHP - database driven web development
From: [EMAIL PROTECTED] (elaine chan)
Date: Wed, 23 Aug 2000 18:46:42 GMT
in /etc/httpd/conf/httpd.conf file did you
uncomment or add the line(s)
AddType application/x-httpd-php.php3 or .php or .php4
or something like that in the configuration file???
------------------------------
Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: NTFS?
Date: Wed, 23 Aug 2000 18:47:16 GMT
[Posted and mailed]
In article <[EMAIL PROTECTED]>,
Yura Kovalenko <[EMAIL PROTECTED]> writes:
> Hi!
> I tried to mount my ntfs partion using : mount -t ntfs /dev/hdb1 etc..
> gave me error that my kernel doesn't support NTFS.
>
> Question #1: Where to get this driver? Is it a must to recompile my
> kernel? Isn't there modules available for ir? I really don't want to
> toch my kernel.
Somebody may have kernel modules for it, but unless they were compiled
for your specific kernel (that is, whatever comes with a specific
distribution), you may have trouble using the modules. IMHO, it's better
to recompile the kernel. It's intimidating at first, but if you set
aside a couple of hours to look it over (preferably with an appropriate
HOWTO or book chapter at your side), it's not that bad. What's more,
you'll learn a lot and probably have a result that's better-optimized
for your system than you get with a precompiled kernel. So long as you
don't burn any bridges (say, by overwriting your old kernel with the new
one), it's safe.
> Question #2: NTFS can be only Read in linux. No way to write. Right or
> wrong?
The default is read-only support. There is read/write NTFS support, but
it's marked "experimental" or "dangerous" or some such. I've seen few
reports about it, but some of those I have seen indicate that it's
potentially very dangerous. I recommend using read/write support only on
test partitions, or at most non-critical data exchange partitions. Write
support may not be included in a module, even if you find a precompiled
NTFS module that works on your system.
--
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration
------------------------------
From: [EMAIL PROTECTED]
Subject: small installation
Date: Wed, 23 Aug 2000 18:41:55 GMT
I am looking for a linux installation that I can do from diskette, and
will be very small after installation. It needs to run on a I386 laptop
with a 200mg HD.
thank you :-)
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: Mount a NTFS-directory under linux
Date: Wed, 23 Aug 2000 18:50:50 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Dances With Crows) writes:
> On Wed, 23 Aug 2000 15:29:13 +0200, Michael wrote:
>>can somebody tell me how to mount a NTFS-Partition residing on a
>>NT-server in my network on my Linux-server?
>>
>>Is it something like:
>>
>>mount -t ntfs 192.168.1.1:user /test
>
> No. That syntax is a hybrid of the way you'd mount an NFS volume and
> the way you'd mount an NTFS partition on your local hard drive. If the
> NT machine is exporting directories with SMB, then you'd do this:
> mount -t smbfs -o username=blah //192.168.1.1/sharename /mountpoint
This syntax works with recent software, but with older software, you may
need to use smbmount instead of mount. Unfortunately, smbmount has had
several different syntaxes. The most recent is:
smbmount //server/share /mountpoint
It'll then prompt for a password. There are additional options if you
want to use a username other than the one you're using on Linux, etc.
You can check the smbmount man page for more details (but it's not
correct for some versions of Samba -- specifically 2.0.5a, IIRC).
--
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration
------------------------------
From: Arul <[EMAIL PROTECTED]>
Subject: Re: help on uid/gid of /dev/dsp
Date: Wed, 23 Aug 2000 18:54:59 GMT
In article <[EMAIL PROTECTED]>,
PoD <[EMAIL PROTECTED]> wrote:
> Arul wrote:
> >
> > In article <Pine.LNX.4.21.0008221242140.4169-
> > [EMAIL PROTECTED]>,
> > "Andrew N. McGuire " <[EMAIL PROTECTED]> wrote:
> > > On Tue, 22 Aug 2000, Arul quoth:
> > >
> > > ~~ Date: Tue, 22 Aug 2000 15:42:46 GMT
> > > ~~ From: Arul <[EMAIL PROTECTED]>
> > > ~~ Newsgroups: comp.os.linux.misc
> > > ~~ Subject: help on uid/gid of /dev/dsp
> > > ~~
> > > ~~ Does anyone know how to setup permissions on sound devices like
> > > ~~ /dev/dsp /dev/audio /dev/sequencer
> > > ~~
> > > ~~ All the permissions of these devices are set to "rw" to
> > > ~~ the first user (user) logs in as below...
> > > ~~
> > > ~~ crw------- 1 user root 14, 3 Apr 30 1999 dsp
> > > ~~ crw------- 1 user root 14, 1 Apr 30 1999
sequencer
> > > ~~
> > > ~~ I would like it to be rw for all users so anyone can
> > > ~~ use the sound devices... like below
> > > ~~
> > > ~~ crw-rw-rw- 1 root root 14, 1 Apr 30 1999
sequencer
> > >
> > > chmod 666 /dev/dsp /dev/sequencer
> > >
> > > anm
> > >
> > >
> >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > ~~
> > > ~ Andrew N.
> > McGuire ~
> > > ~
> >
[EMAIL PROTECTED] ~
> > > ~ "Plan to throw one away; you will, anyhow." - Frederick P.
Brooks,
> > Jr. ~
> >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > ~~
> >
> > >
> > > chmod 666 /dev/dsp /dev/sequencer
> > This is what I have been doing after every loggin
> > but would like a permanent solution though. It reverts
> > back in the next reboot/login.
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
>
> Have a look at /etc/security/console.perms (in Redhat at least)
> there are a bunch of lines like
>
> # permission
>
definitions
> <console> 0600 <floppy> 0600
> root
> <console> 0666 <sound> 0644
> root
> <console> 0600 <cdrom> 0600 root
>
> that set permissions when a user logs in. On my box I just commented
> them out.
>
> Cheers, PoD.
>
Aaha,,, I knew there is something doing this. YES, I have
redhat too. Thanks a lot for the help. It fixed the problem!.
-Arul
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************