Computing.Net > Forums > Linux > Slackware and Mounting

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Slackware and Mounting

Reply to Message Icon

Name: deity_me
Date: November 4, 2003 at 21:20:30 Pacific
OS: Slackware 9.1
CPU/Ram: Athlon XP 1800
Comment:

Hi Folks
Currently trying Slackware 9.1 and I have some problems mounting and unmounting some filesystems.

1) My windows partition is mounted using fstab. the problem is that I can go into it when i'm logged in as root but i cant go into it while logged in as a normal user. It keeps saying permision denied. even though i have read permissions on it.
How can I get access to this directory?

2) i can mount a CD using "mount /cdrom" and i can see everything there fine - the problem is that i cant unmount. using "umount /cdrom" keeps saying that the device is busy even though i have nothing using the cdrom. So i try to force an unmount and it says Illegal something. So next step I do a lazy unmount "umount -l /cdrom" that unmounts but then i cant mount another cdrom
when i use the command "mount /cdrom" it looks like it mounted properly but when i CD into that directory and type ls all i get is an "isolinux?"

can anyone help me with this mounting and unmounting issue?
times like these - i miss mandrake's supermount



Sponsored Link
Ads by Google

Response Number 1
Name: 3Dave
Date: November 5, 2003 at 04:08:30 Pacific
Reply:

1) Edit your /etc/fstab file and add
"umask=0" to the options for the FAT drive,
eg:
/dev/hda1 /mnt/windoze vfat umask=0 0 0

2) Even if you have no files open, if your
pwd (Present Working Directory) is /cdrom
or below you wont be able to unmount it.
Simply change to another directory and then
try to unmount it, eg:

mount the drive
$ mount /cdrom
change directory to /cdrom
$ cd /cdrom
list files
$ ls
try to unmount it (wont work!)
$ umount /cdrom
change to another directory
$ cd /home
now try to unmount it
$ umount /cdrom

If that doesn't work, if you are using a
GUI like KDE try shutting down all of the
file browser windows and then unmount it.

NB as root you can get a list of open files
with the lsof command. It will probably be
pretty big so narrow down the search, eg:
# lsof | grep cdrom | less
You can then kill off any process accessing
the cdrom by it's PID

Supermount (automount) is not limited to
mandrake.... download, install and
configure autofs and you wont have to worry
about mounting drives in the future.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Slackware and Mounting

BSD disklabel and mounting www.computing.net/answers/linux/bsd-disklabel-and-mounting/29023.html

How to add 2 hdd and mount to /home www.computing.net/answers/linux/how-to-add-2-hdd-and-mount-to-home/22309.html

[Newbie]mount and sndconfig question www.computing.net/answers/linux/newbiemount-and-sndconfig-question/9177.html