Linux Online Advertisement
[ Register ]

[ Applications ]
[ Documentation ]
[ Distributions ]
[ Download Info ]
[ General Info ]
[ Book Store ]

Advertisement

[ Courses ]
[ News ]
[ People ]
[ Hardware ]
[ Vendors ]
[ Projects ]
[ Events ]
[ User Groups ]
[ User Area ]

Moving to Linux: Kiss the Blue Screen of Death Goodbye!

[ About Us ]
[ Home Page ]
[ Advertise ]

Tips: Devices

Mount CD made on Windows

If a CD has been burned by Windows software, there are sometimes spaces in the file names. From a Linux point of view, this is very annoying. You can mount the CD in such a way that the spaces disappear.

sudo mount -t iso9660 -o nojoliet /dev/hdc /cdrom/

You cd device (in this example it's hdc) may be different.


burn CDs

'cdrecord' is the most popular command line utility on Linux. Even CD burning software with graphic user interfaces are really using cdrecord in the background.

First, you would put all of the files that you want to on a CD into a directory and then make an *.iso file.

mkisofs -o file.iso -R -v directory/

Now, to burn the cd, issue this command

cdrecord -v speed=4 dev=0,0 fileXXXXX.iso

The speed and the device location (dev) may vary on your system. To find out what your CD-RW device is, issue the following command:

cdrecord -scanbus


Mount a pen drive

Let's say a Windows using friend comes over with files on a pen drive for you. You would access this drive like this:

sudo mount -t vfat /dev/sda1 /mnt/

The device may vary (/dev/sd?). With USB gadgets of this type, Linux will create the device on the fly. To check for the most recently created device, do:

ls -lt /dev/sd* |more


list pci devices

To list devices (sound cards, network cards etc.) plugged into the PCI slots in your PC, issue this command:

/sbin/lspci -v


[ return to main tips page ]




Comments: feedback (at) linux.org
Advertising: banners (at) linux.org
Copyright Linux Online Inc.
Compilation ©1994-2008 Linux Online, Inc.
All rights reserved.