Nero InCD Equivalent for UBUNTU?
Tristan Wibberley
maihem at maihem.org
Sun Nov 27 02:50:46 UTC 2005
alex wrote:
> Tristan Wibberley wrote:
>
>> Tristan Wibberley wrote:
>>
>>
>>
>>> 1) Create a udf filesystem using "sudo mkudffs --media-type=xxx
>>> /dev/hdc"
>>> 2) Unmount the filesystem using "sudo umount /media/cdrom0"
>>> 3) mount the filesystem using "sudo mount -tudf
>>> -orw,noexec,nosuid,nodev,user /dev/hdc /media/cdrom0"
>>> 4) go to "Places -> Computer -> Filesystem -> media -> cdrom0" to get
>>> to it.
>>>
>>
>>
>> Okay, that's kind of messed up, ask if you don't understand this stuff
>> before you do it.
>>
>>
>>
> Thanks, Tristan,
> I'm still on the low end of the learning curve when it comes to ubuntu
> or linux so I could use
> some help.
>
> In #1, Do you type xxx directly or does xxx mean something else?
> In #3, "sudo mount -tudf -orw,noexec,nosuid,nodev,user /dev/hdc
> /media/cdrom0".
> a brief explanation would be very useful.
Okay, If your disk already has been formatted by InCD, then you just
need to do #2, then #3.
Here's some background
Media like hard disk partitions, floppy disks, and CD-ROMs have
filesystems on them, these are structures and meta-data on the disk that
enables your files to be named, located and tracked (so they can be
listed on screen and you can click on them, or you can type their names
into a program and it can open them). In Linux, a filesystem is
"mounted" onto the "vfs". The vfs is the appearance that Linux gives of
all the disks being in just one heirarchy of directories (in Windows,
unless you know about junction points, all disks appear at the top level
with letters). To give this illusion, you "mount" the filesystem of a
disk onto an existing (usually empty) directory, and all the files and
directories on the disk appear under that directory. So you can mount a
CD on /media/cdrom0, and you can open a file named "foo" on the disk
with the path /media/cdrom0/foo.
If your DVD+/-RW or DVD-RAM doesn't have a udf filesystem on it yet
(which is the filesystem that InCD adds support for to Windows, the
Linux kernel already supports it), you have to run the mkudffs command
(Make UDF Filesystem). This command must be told which device represents
the DVD drive (often /dev/hdc or /dev/hdd, might be /dev/hda if your
hard disk is SATA, might be available as /dev/cdrom in any case), and
can also be told what type of disk is in the drive, so set the
appropriate options. The xxx (as described in my first answer) should be
replaced by one of hd, dvd, dvdram, cdrw, worm or mo. Or you can just
not give the --media-type option and it does something sensible anyway.
If it already has a UDF filesystem on it when you put it in the drive,
GNOME probably mounted it on /media/cdrom0 with the wrong options. You
can see if it has done so by typing "mount" at a terminal and looking
for something like "/dev/hdc on /media/cdrom0 type udf
(rw,nosuid,noexec,user=something)". If that is there, you need to do #2
("sudo umount /media/cdrom0") to unmount it, then do #3 ("sudo mount
-tudf -orw,noexec,nosuid,nodev,user /dev/hdc /media/cdrom0") to mount it
again.
#3 is an instruction to the kernel (via a program called "mount" to
inspect the device "/dev/hdc" for a UDF filesystem and mount it on the
directory "/media/cdrom0" with the options "rw,noexec,nosuid,nodev,user"
which mean, respectively:
* rw supports both reading and writing to the filesystem (so you can
open/read/write to/delete/move/hardlink/symbolically link files, and
make/delete directories, etc)
* noexec does not allow programs to be executed directly from the disk
(this can be a security hazard, as it is easy to run a program which has
been put there while the disk was ina nother computer. To run programs
from it you can either leave of the noexec option, or copy the program
files to your home directory and run them there.
* nosuid does not allow programs run on it to be run with administrator
privileges without using sudo. This is added for good measure, as noexec
prevents them from being executed in the dirst place
* nodev prevents system device files stored on the filesystem from
being effective as another computer could be used to gain privileged
access to system facilities by clever use of device files.
* user allows the /media/cdrom0 directory to have files created and
deleted by regular users (those other than root).
These options may have slightly different meanings for different
filesystem types (eg, udf, iso9660, vfat, ext2, ext3, reiserfs, reiser4,
xfs, jfs, ntfs).
Hope this helps, and I hope this can be improved for Dapper next year.
--
Tristan
More information about the ubuntu-users
mailing list