[ccoss] Re: unmount cdrom, device is busy, what is using it,using fuser as a solution
- From: dave <dave@xxxxxxxxxx>
- To: ccoss@xxxxxxxxxxxxx
- Date: Sat, 29 Nov 2003 23:23:31 -0500
Christopher Paulin wrote:
> p450:/mnt/mandrake/home/chris_temp # mount -t iso9660 -o
> ro,loop=/dev/loop0 cdrecorder.iso /media/cdrecorder/
> p450:/mnt/mandrake/home/chris_temp # exit
> exit
you can mount an iso image using only the '-o loop' option....
insp5100:~# mount -o loop /home/dave/iso/sarge-i386-netinst.iso /mnt/
insp5100:~# ls /mnt/
README.html README.non-US debian install pics
README.mirrors.html README.txt dists isolinux pool
README.mirrors.txt TRANS.TBL doc md5sum.txt tools
insp5100:~# umount /mnt/
i believe the next available loopback device is used when you don't
specify one. i verified this wasn't debian-specific by also doing it on
a Fedora box.
>
> chris@p450:/mnt/mandrake/home/chris_temp> cdrecord -v speed=16 dev=1,0,0
> -data cdrecorder.iso
also, you can save some keystrokes here with a configuration file
(/etc/default/cdrecord on debian and gentoo, but might be cdrecord.conf
on others).
see below for an example. this allows me to type:
cdrecord -v /path/to/image.iso
the CDR_DEVICE line is just a pointer to the specified line at the
bottom, CDR_SPEED is the max speed of your burner, CDR_FIFO is your FIFO
buffer size (which I left at the default). on the cdrom line, Chris
you'd want 1,0,0 in the device column, and burnfree in the driveropts
column if your burner has it, or just empty quotes if it doesn't.
dave
#ident @(#)cdrecord.dfl 1.4 02/07/07 Copyr 1998 J. Schilling
#
# This file is /etc/default/cdrecord
# It contains defaults that are used if no command line option
# or environment is present.
#
# The default device, if not specified elswhere
#
CDR_DEVICE=cdrom
#
# The default speed, if not specified elswhere
#
# Note that newer cdrecord versions do not default
# to speed=1. For MMC compliant drives, the default
# is to write at maximum speed, so it in general does
# not make sense to set up a default speed in /etc/default/cdrecord
#
CDR_SPEED=24
#
# The default FIFO size if, not specified elswhere
#
CDR_FIFOSIZE=4m
#
# The following definitions allow abstract device names.
# They are used if the device name does not contain the
# the characters ',', ':', '/' and '@'
#
# Unless you have a good reason, use speed == -1 and let
# cdrecord use it's intercal drive specific defaults.
#
# drive name device speed fifosize driveropts
#
teac= 1,3,0 -1 -1 ""
panasonic= 1,4,0 -1 -1 ""
plextor= 1,4,0 -1 -1 ""
sanyo= 1,4,0 -1 -1 burnfree
yamaha= 1,5,0 -1 -1 ""
#cdrom= 0,0,0 24 4m burnfree
cdrom= 0,0,0 -1 -1 burnfree
_______________________________________________
CCOSS mailing list
ccoss@xxxxxxxxxxxxx
CCOSS mailing list page: http://www.freelists.org/cgi-bin/list?list_id=3594
CCOSS Web page: http://www.ccoss.org
- References:
- [ccoss] unmount cdrom, device is busy, what is using it, using fuser as asolution
- From: Christopher Paulin
- [ccoss] Re: unmount cdrom, device is busy, what is using it, usingfuser as a solution
- From: dave
- [ccoss] Re: unmount cdrom, device is busy, what is using it,using fuser as a solution
- From: Bill
- [ccoss] Re: unmount cdrom, device is busy, what is using it,using fuser as a solution
- From: Christopher Paulin
- [ccoss] Re: unmount cdrom, device is busy, what is using it,using fuser as a solution
- From: Bill
- [ccoss] Re: unmount cdrom, device is busy, what is using it,using fuser as a solution
- From: Christopher Paulin
Other related posts:
- » [ccoss] Re: unmount cdrom, device is busy, what is using it,using fuser as a solution
- » [ccoss] Re: unmount cdrom, device is busy, what is using it,using fuser as a solution
- » [ccoss] Re: unmount cdrom, device is busy, what is using it,using fuser as a solution
- » [ccoss] Re: unmount cdrom, device is busy, what is using it,using fuser as a solution
- » [ccoss] Re: unmount cdrom, device is busy, what is using it,using fuser as a solution
- » [ccoss] Re: unmount cdrom, device is busy, what is using it,using fuser as a solution
- » [ccoss] Re: unmount cdrom, device is busy, what is using it,using fuser as a solution
- » [ccoss] Re: unmount cdrom, device is busy, what is using it,using fuser as a solution
- » [ccoss] Re: unmount cdrom, device is busy, what is using it,using fuser as a solution
- [ccoss] unmount cdrom, device is busy, what is using it, using fuser as asolution
- From: Christopher Paulin
- [ccoss] Re: unmount cdrom, device is busy, what is using it, usingfuser as a solution
- From: dave
- [ccoss] Re: unmount cdrom, device is busy, what is using it,using fuser as a solution
- From: Bill
- [ccoss] Re: unmount cdrom, device is busy, what is using it,using fuser as a solution
- From: Christopher Paulin
- [ccoss] Re: unmount cdrom, device is busy, what is using it,using fuser as a solution
- From: Bill
- [ccoss] Re: unmount cdrom, device is busy, what is using it,using fuser as a solution
- From: Christopher Paulin