当前在线人数13128
how to get cd out - 未名空间精华区
首页 - 版面精华区 - 电脑网络精华区 - Linux 操作系统版精华区 - 精华区文章阅读 首页
未名交友
[更多]
[更多]
how to get cd out

发信人: daboy (学游泳中), 信区: Linux
标  题: How to get the CD out?!!!
发信站: Unknown Space - 未名空间 (Sat Feb 28 16:45:45 2004) WWW-POST

I installed something but failed. After a while, I want to get the CD out but
also fail. It says "device is busy" but there's nothing uses the CD. "umount
-f" doesn't work either. Help!

--
什么东西都是早学好!
※ 来源:.Unknown Space - 未名空间 mitbbs.com.[FROM: 65.110.]
发信人: AstalaVista (Baby), 信区: Linux
标  题: Re: How to get the CD out?!!!
发信站: Unknown Space - 未名空间 (Sat Feb 28 16:50:47 2004), 转信

make sure no terminal is at the cd directory (/mnt/cdrom or its subdirectories).
then umount /mnt/cdrom

【 在 daboy (学游泳中) 的大作中提到: 】
: I installed something but failed. After a while, I want to get the CD out but
: also fail. It says "device is busy" but there's nothing uses the CD. "umount
: -f" doesn't work either. Help!


--
※ 修改:.AstalaVista 于 Feb 28 16:51:23 修改本文.[FROM: 24.195.]
※ 来源:.Unknown Space - 未名空间 mitbbs.com.[FROM: 24.195.]
发信人: rover (小喽罗 --- 有来有去), 信区: Linux
标  题: Re: How to get the CD out?!!!
发信站: Unknown Space - 未名空间 (Sat Feb 28 16:53:50 2004) WWW-POST

try fuser -v /mnt/cdrom see which process is using it. You can kill those
processes

【 在 AstalaVista (Baby) 的大作中提到: 】
: make sure no terminal is at the cd directory (/mnt/cdrom or its
subdirectories).
: then umount /mnt/cdrom
:
: 【 在 daboy (学游泳中) 的大作中提到: 】
: : I installed something but failed. After a while, I want to get the CD out
but
: : also fail. It says "device is busy" but there's nothing uses the CD.
"umount
: : -f" doesn't work either. Help!
:
:


--
※ 来源:.Unknown Space - 未名空间 mitbbs.com.[FROM: 128.83.]
发信人: daboy (学游泳中), 信区: Linux
标  题: Re: How to get the CD out?!!!
发信站: Unknown Space - 未名空间 (Sat Feb 28 17:04:19 2004) WWW-POST

I closed all the application program such as terminal, web browser ...

[[email protected] cosper]$ /sbin/fuser -v /mnt/cdrom1

                     USER        PID ACCESS COMMAND
/mnt/cdrom1          root     kernel mount  /mnt/cdrom1

How can I do?
Thanks.

【 在 rover (小喽罗 --- 有来有去) 的大作中提到: 】
: try fuser -v /mnt/cdrom see which process is using it. You can kill those
: processes
:
: 【 在 AstalaVista (Baby) 的大作中提到: 】
: : make sure no terminal is at the cd directory (/mnt/cdrom or its
: subdirectories).
: : then umount /mnt/cdrom
: :
: : 【 在 daboy (学游泳中) 的大作中提到: 】
: : : I installed something but failed. After a while, I want to get the CD
out
: but
: : : also fail. It says "device is busy" but there's nothing uses the CD.
: "umount
: : : -f" doesn't work either. Help!
: :
: :
:
:


--
什么东西都是早学好!
※ 修改:·daboy 於 Feb 28 17:04:19 修改本文·[FROM: 65.110.]
※ 来源:.Unknown Space - 未名空间 mitbbs.com.[FROM: 65.110.]
发信人: AstalaVista (Baby), 信区: Linux
标  题: Re: How to get the CD out?!!!
发信站: Unknown Space - 未名空间 (Sat Feb 28 17:04:52 2004), 转信

redhat: /sbin/fuser
【 在 daboy (学游泳中) 的大作中提到: 】
: I closed all the application program such as terminal, web browser ...
: [[email protected] cosper]$ /sbin/fuser -v /mnt/cdrom1
:                      USER        PID ACCESS COMMAND
: /mnt/cdrom1          root     kernel mount  /mnt/cdrom1
: How can I do?
: Thanks.
: 【 在 rover (小喽罗 --- 有来有去) 的大作中提到: 】
: : try fuser -v /mnt/cdrom see which process is using it. You can kill those
: : processes
: : subdirectories).
: out
: : but
: : "umount


--
※ 修改:.AstalaVista 于 Feb 28 17:05:14 修改本文.[FROM: 24.195.]
※ 来源:.Unknown Space - 未名空间 mitbbs.com.[FROM: 24.195.]
发信人: rover (小喽罗 --- 有来有去), 信区: Linux
标  题: Re: How to get the CD out?!!!
发信站: Unknown Space - 未名空间 (Sat Feb 28 17:09:38 2004), 转信

I don't know. Sorry.

Try /usr/sbin/lsof | grep /mnt/cdrom1?

【 在 daboy (学游泳中) 的大作中提到: 】
: I closed all the application program such as terminal, web browser ...
: [[email protected] cosper]$ /sbin/fuser -v /mnt/cdrom1
:                      USER        PID ACCESS COMMAND
: /mnt/cdrom1          root     kernel mount  /mnt/cdrom1
: How can I do?
: Thanks.
: 【 在 rover (小喽罗 --- 有来有去) 的大作中提到: 】
: : try fuser -v /mnt/cdrom see which process is using it. You can kill those
: : processes
: : subdirectories).
: out
: : but
: : "umount


--
※ 来源:.Unknown Space - 未名空间 mitbbs.com.[FROM: 128.83.]
发信人: rover (小喽罗 --- 有来有去), 信区: Linux
标  题: Re: How to get the CD out?!!!
发信站: Unknown Space - 未名空间 (Sat Feb 28 17:12:22 2004), 转信

Maybe just use "eject"
【 在 rover (小喽罗 --- 有来有去) 的大作中提到: 】
: I don't know. Sorry.
: Try /usr/sbin/lsof | grep /mnt/cdrom1?
: 【 在 daboy (学游泳中) 的大作中提到: 】
: : I closed all the application program such as terminal, web browser ...
: : [[email protected] cosper]$ /sbin/fuser -v /mnt/cdrom1
: :                      USER        PID ACCESS COMMAND
: : /mnt/cdrom1          root     kernel mount  /mnt/cdrom1
: : How can I do?
: : Thanks.
: : out


--
※ 来源:.Unknown Space - 未名空间 mitbbs.com.[FROM: 128.83.]
发信人: daboy (学游泳中), 信区: Linux
标  题: Re: How to get the CD out?!!!
发信站: Unknown Space - 未名空间 (Sat Feb 28 17:26:47 2004) WWW-POST

"eject" is blocked :)
It seems I must restart the computer.
I post the output of /usr/sbin/lsof | grep /mnt/cdrom1

fam        8934  daboy   26r   DIR       11,0     2048     327850
/mnt/cdrom1/maple8

Then I "kill 8934". The CD can be unmounted!

Thanks rover and AstalaVista.

【 在 rover (小喽罗 --- 有来有去) 的大作中提到: 】
: Maybe just use "eject"
: 【 在 rover (小喽罗 --- 有来有去) 的大作中提到: 】
: : I don't know. Sorry.
: : Try /usr/sbin/lsof | grep /mnt/cdrom1?
: : 【 在 daboy (学游泳中) 的大作中提到: 】
: : : I closed all the application program such as terminal, web browser ...
: : : [[email protected] cosper]$ /sbin/fuser -v /mnt/cdrom1
: : :                      USER        PID ACCESS COMMAND
: : : /mnt/cdrom1          root     kernel mount  /mnt/cdrom1
: : : How can I do?
: : : Thanks.
: : : out
:
:


--
什么东西都是早学好!
※ 修改:·daboy 於 Feb 28 17:26:47 修改本文·[FROM: 65.110.]
※ 来源:.Unknown Space - 未名空间 mitbbs.com.[FROM: 65.110.]

[返回]
赞助链接
未名交友
将您的链接放在这儿
 

Site Map - Contact Us - Terms and Conditions - Privacy Policy

版权所有,未名空间(mitbbs.com),since 1996