Results 1 to 3 of 3
i'm following LinuxFromScrach books
the system has 3 hdds IDE 0:0, 0:1, 1:0
i
Code:
cfdisk /dev/hdc
& mounted under
Code:
mount /dev/hdc1 /mnt/lfs
then i rebooted, now the drive ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-24-2004 #1Just Joined!
- Join Date
- May 2004
- Location
- Israel
- Posts
- 61
mount onder different path in mdk 10.0
i'm following LinuxFromScrach books
the system has 3 hdds IDE 0:0, 0:1, 1:0
i& mounted underCode:cfdisk /dev/hdc
then i rebooted, now the drive is mounted under hd2Code:mount /dev/hdc1 /mnt/lfs
when i tryi getCode:umount /mnt/hd2
- twice, the message is displayed 2 times!umount: /mnt/hd2: device is busy
a. why is that, i mean i'm a newbie not an assh*le to be repeated every thing twice
b. why didn't the mount just stayed as /mnt/lfs ?
c. can i somehow see who is using the drive or who has it locked ?
d. how should fix that so that i will be mounted again on /mnt/lfs ?
thank u, max.
- 06-25-2004 #2
A) Check to see if you're in the directory. That would cause it to be busy. Also, anything else that's running on or using files from that mountpoint
B) Beats me. Check your /etc/fstab, though I've never seen one to switch mountpoints on boot.
D) Put an entry in your /etc/fstab for in. That way it will be mounted in the same place every time."Time is an illusion. Lunchtime, doubly so."
~Douglas Adams, The Hitchhiker's Guide to the Galaxy
- 06-25-2004 #3Just Joined!
- Join Date
- May 2004
- Location
- Israel
- Posts
- 61
thank you, the problem has been solved. [not sure why but it works]
C) i been told that i can see who is using the resource with the commandthen i can go toCode:fuser
with the process id & know who locked it.Code:ps


Reply With Quote
