Click to See Complete Forum and Search --> : cannot unmount partition
THE-WAZ
03-10-2001, 03:42 PM
I asked this earlier and no one could answer very well.
I believe a process is active and preventing me from using umount command. i can use ps -aux to view the process then a kill command to end it and then a umount command is there a way to view eveything that is mounted?
Linuxcool
03-10-2001, 11:34 PM
The mount command is supposed to show what is mounted by typing in "mount -t" or "mount -t auto". On my computer, this did not work. So, I wrote a perl script to show me what is mounted. It seems to work. Here it is if you would like to try it. No guarantees!
#!/usr/bin/perl
@files = ("vfat","ext2","msdos") ;
foreach $f (@files) {
system "mount -t $f" ;
print "\n" ;
}
You can use a text editor like pico to create this script. You can add more file types by adding them to the second line of the script. I hope this works for you.
[ 10 March 2001: Message edited by: Linuxcool ]
[ 10 March 2001: Message edited by: Linuxcool ]
linuxluis
03-11-2001, 12:42 AM
The best way and very simple is just to type in
# mount
that will show you all the things that are mounted.
if you have anymore questions let me know ok
switch :cool:
Webby
03-11-2001, 07:22 AM
also have a look in /etc/mtab. this file is what mount and umount check to see what is mounted and what isn;t.
Alex
teeitup
03-13-2001, 12:40 AM
df will show all current mounted file systems
and the corresponding mount point.