Fedora :: Determine Optical Disc Type From Terminal?

Feb 3, 2010

From the terminal, or a script, how can I determine the media type (CDDA, DVD, ISO, etc) of a mounted optical disc? I need this for an automated script on my headless media server - Fedora 12 64bit.

View 2 Replies


ADVERTISEMENT

Fedora :: Automatically Run Script On Optical Disc Is Mount?

Feb 23, 2010

how to get a bash script to automatically launch when the optical drive mounts a disc, any type of disc - DVD, CD, data, etc. It seems like such a simple task but after weeks of searching I have yet to find a workable solution.

View 1 Replies View Related

Fedora Security :: How To Determine What Type Of Files Clamav Can Scan

Dec 7, 2009

How to determine what type of files clamav can scan? For example, if there is no unrar installed it can't scan files in it. So is there any way to find out all types of files that clamav can't scan?

View 2 Replies View Related

Ubuntu :: Grub Rescue On Netbook (With No Disc Optical Drive)

Jan 2, 2010

My girlfriend has a dual boot netbook I set up for her with Vista + 9.10. Her internet service went down yesterday temporarily and she was messing around with the computer to get back online and somehow booted into the Windows Rescue Partition and began the Windows Restore process, then turned the computer off during the middle of the restore process.It's her only computer and she lives 1800 miles away. And since it's a netbook there's no optical drive.

When she boots up now, the netbook goes straight into Grub Rescue mode. I got her to try most of the commands for Grub Rescue, but most of them come back as "Unknown Command". The "LS" command works though, and she was able to get a list of partitions displayed.Does anyone know of some commands she could use try to boot back into 9.10 (assuming it's still there)? Or even boot into Windows? Specifically, is there a simple command that could be combined with "LS" to specify a partition and try to boot into it?

View 9 Replies View Related

Hardware :: Definition Of A Term In The Context Of Optical Disc Authoring

Nov 5, 2010

I have run a CD/DVD burner program (cdrecord) on a blank DVD and I got the following message.

Code:

WARNING: Phys disk size 1823462 differs from rzone size 0! Prerecorded disk?
WARNING: Phis start: 196608 Phys end: 2020099

What can the program be referring to with "prerecorded disk"?

View 2 Replies View Related

Software :: Using UDEV To Automatically Run A Script On Optical Disc Mount?

Mar 1, 2010

I'm trying to get a script to run whenever an optical disc is mounted by the system but can't get it to work. I'm running Fedora 12 64bit and the drive is SATA device sr0.

Following online guides, I created a new rule file called '10-my.rules' in '/etc/udev/rules.d' which contains the following:

Code:
KERNEL=="sr0", RUN+="/usr/local/bin/myscript"

But nothing happens when a disc is mounted. The script itself runs fine manually and is clearly evident when launched so the problem must be the rule file. I've tried changing the name of the rule file in a few incremental steps from 10-my.rule to 99-my.rule to no effect.

I've gathered some information about my optical drive using the udevadm tool.
Here is the result of an info query:

Code:
P: /devices/pci0000:00/0000:00:1f.2/host1/target1:0:0/1:0:0:0/block/sr0
N: sr0
S: block/11:0
S: scd0

[Code]....

View 8 Replies View Related

Red Hat / Fedora :: Preparing A DVD+RW Disc For Writing - Mount: You Must Specify A Filesystem Type

Jun 15, 2011

I'm trying to mount an external DVD +RW Drive so I can burn a directory from my Linux Server to disk. I think I've figured out how to mount the drive, but it only works when there's a disk with data in the drive. When I enter mount /dev/scd1 /mnt I'm able to read from the drive, no problem. When I try to do the same thing, however, with a blank disk I get the following message: "mount: you must specify a filesystem type" So I'm assuming I need to prepare the disk somehow. I've verified that the dvd+rw-tools package is installed on the RH server but I'm not sure what the next step is.

View 4 Replies View Related

OpenSUSE Hardware :: Optical Disc Drive Detected But Doesn't Work?

May 9, 2010

OpenSUSE 11.2 x86_64
KDE SC 4.4.3
Linux 2.6.34-rc6-29-desktop (from KERNEL:HEAD)
HAL 0.5.13-4.2.1
udisks 1.0.0.git20100224-11.1
ASRock G43Twins-FullHD LGA 775 Intel G43 Micro ATX Intel Motherboard
Samsung 22X DVDR DVD Burner Black SATA Model SH-S223Q (connected via SATA. detected as: /dev/sr0)

Discs are read by the drive when inserted (they are spun and the LED light on the drive lights up) but nothing happens after that.

I disconnected the SATA cable and tried a new SATA cable on a different SATA port and also tried a different SATA power cable but that did not fix anything.

View 9 Replies View Related

General :: Cannot Determine Filesystem Type Of Partition?

Feb 27, 2011

As per these instructions, I got up to the end of the "Acquiring an Ubuntu filesystem" step (where it asks you to mount the newly created Ubuntu partition) and ran into a problem: The partition won't mount, as the file system type cannot be determined because I cannot remember the file system used during installation. Is there any command that prints the file system type of GPT partitions?

View 5 Replies View Related

General :: Determine Distribujtion Type, Use A Redhat 9?

Nov 8, 2010

i can i determine my distribujtion type, i use a redhat linux 9, i need to knw for download benefits, cause its seems am alwyas downloadin the wrong software for my package.

View 8 Replies View Related

Software :: How To Programmatically Determine Monitor Type

Jul 7, 2010

I know the tool system-config-display can tell me all about my display but it's not available on all systems and so I'm looking for alternative ways to get my monitor type. Ideally, I could just look in /proc but I don't see anything there and I would like to be able to do so from a script perhaps written in bash or perl. Is there some place to get this info, say in a config file somewhere?

View 2 Replies View Related

Debian Multimedia :: Rhythmbox Could Not Determine Stream Type

Apr 17, 2011

I was using Rhythmbox to listen to internet fine in Squeeze.After updating to Wheezy, some stations give me error "Could not determine stream type" - I think I have installed all the gstreamer packages - so how can I tell what is missing?

View 3 Replies View Related

Debian :: Determine File Type On Bash - Command Not Found

May 10, 2015

I cannot find a bash command: "file" !

It say "-bash: file: command not found"

"file" is used to determine file type on a bash right ? is there a package i have to install ? deprecated ?

I use debian wheezy distro

View 2 Replies View Related

General :: GRUB Legacy - Unable To Determine The File System Type?

Dec 8, 2010

I had only Arch on an HDD.sda2 was "/".Now it's with Windows XP and sda2 is not a root any more but a container partition wich has sda{5,6,7} in it. I configured the dual boot and it works. It finds Arch and boots it, but not completely. Stops after some time and says: unable to determine the file system type of /dev/sda2. FSTAB is configured, sda{5,6,7} are on their places. So I can't boot Arch. XP boots correctly. What do I do with this error?Also it says: try adding rootfstype=your_filesystem_type to kernel command line.

View 4 Replies View Related

Slackware :: No Optical Drive Found - K3b Did Not Find Any Optical Device In Your System

May 22, 2010

I dont know when k3b stopped working but have just gone to burn a disk and when opening it tells me

Quote: No optical drive found. K3b did not find any optical device in your system. Solution: Make sure HAL daemon is running, it is used by K3b for finding devices.

I can boot from cd and can mount cds from within Slackware but for some reason k3b insists that i don't have a drive.

View 8 Replies View Related

Ubuntu Multimedia :: Optical Out From TV Into The SPDIF / Optical In On PC

Jul 5, 2010

I currently have the following:-

Optical Out from my TV into the SPDIF / Optical In on my PC
Optical Out from my PC into my Sony 5.1 Theatre Kit

The audio from the PC comes through ok when listening to music and movies. But unfortunately I can figure out how to enable the audio passthrough from my Tv so that the audio comes out of my theatre kit. In Sound Preferences, the hardware is set to 1 Output / 1 Input [Digital Stereo (IEC95 Output + Digital Stereo (IEC95 Input]. When I click on the audio tab, the Input Volume is at 100% and the Input Level is moving in conjunction with the audio coming from the Tv.

I saw it mentioned in another thread to install Gnome Alsa Mixer which I've done, it seeems to identify the audio chipset as Realtek ALC882, the motherboard is an Abit AB9 Pro. Hopefully I'm missing some config somewhere or there a box I should be ticking but I just can't find it.

View 2 Replies View Related

Ubuntu :: Hard Disc Failure - Error Mounting: Mount: Wrong Fs Type, Bad Option, Bad Superblock ?

Apr 18, 2011

Ubuntu 10.04 has just failed to load from my hard drive, so I've resorted to booting from CD just to get the machine going.I'm wondering if my main boot drive has gone caput??When trying to mount it using DISK UTILITY...get the message: Error mounting volume

Error mounting: mount: wrong fs type, bad option, bad superblock on /dev/sdb1,missing codepage or helper program, or other error.In some cases useful info is found in syslog - try dmesg | tail or so

View 5 Replies View Related

Fedora :: USB Disc - Access To USB Disc From Text Mode?

Dec 6, 2009

I'm sorry for this stupid question, but I have nowhere found it.I need to access to my USB disc from text mode (In Fedora LiveCD I see it and i can access /media/New Volume). In F12 runlevel 3 in mc I see it in /dev/disc/by-label as @Newx20Volume. But I don't know what is the correct path.

View 2 Replies View Related

Ubuntu :: Bash: Determine If Running In Terminal?

Jul 10, 2010

I'm writing a bash script to move files around based on various bits of metadata. For a few reasons, this script will be run regularly both from the terminal, and from the nautilus-scripts folder ("graphically", if you will). What I'm stumped on is having the script defer outputs based on which mode the script is running in. For example, how can I have the script know whether to echo error statements, or pump them out to zenity based on the method of invocation?

View 2 Replies View Related

Ubuntu :: Unable To Determine File Type Of Any Of Video File

Oct 14, 2010

I am writting a script to allow uploading of certain files. I want to limit the files by their filename and mime type, and by making sure the two match up.The first thing I need to do is make sure I've got all the mime types I need added. I have never done this before, but I understand that 'file' (which is what PHP's mime-type finding is based off of) uses magic databases that tell at which point in the file should have signatures of the filetype.

My trouble started when I was unable to determine the filetype of any of my video files. Currently, I have some .MOV and .MP4 files that I am using to test.

View 4 Replies View Related

Ubuntu :: Determine When Shell Is Being Run In An Emulated / Virtual Terminal?

Apr 17, 2011

In a shell script. And use that in a condition.
Something like:

Code:
if(pts) echo "emulated"
if(tty) echo "virtual"

View 3 Replies View Related

Fedora :: Command - Type Into The Terminal That Would "burn" An Iso Image To A Storage Device (usb)?

Nov 27, 2010

There is a command that you can type into the terminal that would "burn" an iso image to a storage device (usb). In ubuntu, this command would be <dd if=(path leading to iso) of=(device to be "burned" to)> Is this the same in Fedora, or is it a different command?

View 6 Replies View Related

Ubuntu :: Install Through Terminal (live Disc) From Different Iso?

Mar 22, 2011

The problem is as follows: I recently had a power outage whilst my computer was running windows. When I tried to restart the computer I received UNMOUNTABLE_BOOT on the classic blue screen of disobedience. To resolve this I've booted a live ubuntu disc (10.04 LTS), of course when I created an ext4 partition and then tried to install linux I received "error while copying files" around the 65% point of the install which has ultimately told me to create another cd, which since without a working OS I can't do.

With the above filaure in mind I looking into fsck, fsck.ntfs and testdisk both fsck couldn't access the partition and fsck.ntfs suggested I run chkdsk (which I thought fsck was the linux equivalent of).So I figure the next logical step is to try and install linux from the terminal of the cd-based instance of linux I'm running just now from a freshly downloaded iso.

View 3 Replies View Related

Fedora :: Type "halt" From Root Terminal?

Aug 15, 2011

If I type "halt" from root terminal , the system tries to shut down , its closing all apps and services , unmounting disks , shutting down network etc, but finally I can see a message "System Halted"...But it doesnt turn off the monitor though..is this a bug? I have tried many times , however "poweroff" works properly..I was thinking since these are similar commands , bith should give the same result ...I usually use "halt" as it has fewer char to type!

View 4 Replies View Related

Fedora Installation :: Hard Disc Not Detecting For Seagate SATA Hard Disc?

Jul 15, 2009

I have AMD athlon 64 processor, Seagate 160GB SATA Hard Disk, ASUS A8VMX mother board.With this configuration, I can Install FC7 without any error. But all the latest releases after FC7 is not detecting my Hard disk. Is there any solution to solve this problem? Actually I'm searching for a solution when the FC8 released. Now I have all the later releases from FC8 to FC11 DVD except FC9. But none is working .

View 1 Replies View Related

Ubuntu :: Cannot Type On The Terminal?

Mar 31, 2011

I recently installed ubuntu on my pc in parallel with windows 7 ( I have been running wubi so far ). After the installation was completed I installed chrome and Mathematica ( by using the terminal ). I then restarted the computer. When I restarted ubuntu again I realized that I couldn't type on the Terminal any longer.I can type on anything else, documents, browsers, Mathematica ecc, but, as soo as I try to type over the terminal the mouse pointer disappears and nothing happens. However I can copy paste on the terminal but it is of no use since I cannot use the enter key.

View 4 Replies View Related

Ubuntu :: Find By Type From Terminal?

Jun 27, 2010

I'd like to find all files of a specific type (as determined by the terminal "file" command) from the command line ... and haven't been able to figure out a way to do so. For instance, I'd like to be able to find all JPEG files in my filesystem, even if their names don't end in .jp*. It would be helpful to be able to combine this with other tests in find, so that I could type something like "sudo find / -atime 0 -size +1M -type adobeflash" or something like that.

I've looked for ways to hook find up to file and tinkered around with a few ideas involving pipes, but nothing seems to get what I want.

View 2 Replies View Related

Ubuntu :: Can't Run Scan - Type Into Terminal?

Aug 14, 2010

It installed but I cant seem to run a scan and as there isnt much need for it i want to remove it. The problem is its changed name from what I downloaded it as. Does anyone know what it could be? Ill try and add a pic a bit later, but im on windows at the moment so I cant acces terminal. Also I have Wine installed but would like to remove its root access, Im not sure if it does have root access but I would like it not to if it does, what should I type into the terminal?

View 2 Replies View Related

Ubuntu :: Nothing Appears In Terminal When Type Into It?

Jul 9, 2011

I'm using Ubuntu 11.04 and I've been running into a bizarre scenario. So when I open a terminal, I can type commands into it. Then I open a tab (by pressing Ctrl+Shift+T) and can type into it normally as well. But when I close the tab (going back to the original terminal), I suddenly can't type into that terminal -- no characters appear on its command line. It is not a severe issue since if I jump to another window (say Firefox), then come back to that terminal, I can suddenly type again. Also as far as I know this seems to be the only scenario to which this problem occurs. Has anyone ran into the same issue?

View 1 Replies View Related

Ubuntu :: Can't Type Password In Terminal?

Jul 19, 2011

i need to install the new firefox. I have allready downloaded the tar.bz2 package and extract it in a folder. I go to terminal, type sudo make install and appear [sudo] password for severityconcept: but i can't type any character. How to type my password in terminal when i run that command I mentioned above?

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved