SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I've searched but alas, have found nobody else with my problem.
I'm hoping someone's got some suggestions because I'm out of ideas. I'm not really a newbie, so this is all the more frustrating because this should really be pretty simple, and it's just not working.
I'm running Slackware 10.1 with the 2.4.29 default kernel. Nothing else out of the ordinary.
I'd like to start out by quoting what the man page says on "mount":
Normally, only the superuser can mount file systems. However, when fstab contains the user option on a line, anybody can mount the corresponding system.
Thus, given a line
/dev/cdrom /cd iso9660 ro,user,noauto,unhide
any user can mount the iso9660 file system found on his CDROM using the command
Seems straightforward enough. In fact, that's how I have always understood it to work. In fact, the man page goes on to say that if you use "users" instead of just "user", ANY user can umount a cdrom as well.
However, on neither of my Slackware 10.1 boxes does this work.
I get the same error when I do it that way - can you try just the one? Either `mount /dev/cdrom` or `mount /home/tli/cdrom`
Bloody hell... that worked! gilead gets the cigar!
Okay, the ONLY way I've ever mounted stuff is with the syntax of "mount [devicename] [mount point]".
Why the hell does that work as root when I specify a mount point, but NOT while logged in as anyone else?
Don't get me wrong... I'm happy that it's working and I thank you for your assistance! This was very frustrating!
But it bugs me that it doesn't work the way I have always understood it to work. Why should I HAVE to leave off the mount point switch in the mount command when I'm logged in as something other than root?
It seems that mount only checks /etc/fstab when given a single command line parameter. When it gets a single parameter like that it looks it up in the device and mount point columns. If it's there, it checks whether the mount options allow the user to mount the device.
More than one parameter and it treats it as a stand-alone command - which only root can do.
That's a guess based on having had the same problem previously myself.