Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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

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.

![]() |
![]() |
![]() |

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