Ubuntu :: Identify Cd Drives For Program
Sep 1, 2011
In windows one could identify the drive by letter..easy...but in merrkat I need to identify and augment a file that allows the start up location of information for a program in either of my 2 cd drives. One is the internal cd floppy and I have a second that is usb connected a cd/dvd. I would like either one to be "seen " as the possible source for the necessary information". How do i write that into a file?? The sample file I am changing is below..... All;
d:caycedatindx;d:caycedat ext;d:caycedatgrd ;d:caycedat
ept Background;d:caycedat grd Index;d:caycedatindx Reports;dcaycedat
ept Text;dcaycedat ext
View 2 Replies
ADVERTISEMENT
Dec 9, 2010
I'm using the FortiClient SSL VPN free version provided by my University. I can't get tech support from the university OR Fortigate. I have it running on one system, but I have no idea what the sequence of libraries I installed was. I need it to run on a second machine. pstree is only telling me that the FortiClient ssl daemon depends on pppd. I need to know how to find out what else it's using: LibPKCS and the like.
View 1 Replies
View Related
May 11, 2009
I am trying to develop an application that uses webcameras (in jaunty), so I found this code here, which gives examples: [URL]. I compiled it on my computer (which has a built in webcam on top that I know works, tested it and it worked in luvcview) and then tried to run it. I get an error message that says:
Cannot identify '/dev/video': 2, No such file or directory
I have located the part in the program where this comes from:
static void
open_device (void)
{ struct stat st;
if (-1 == stat (dev_name, &st)) {
/*dev_name is "/dev/video" btw, defined in main*/
fprintf (stderr, "Cannot identify '%s': %d, %s",
dev_name, errno, strerror (errno));
exit (EXIT_FAILURE);
}
View 3 Replies
View Related
Feb 24, 2011
I'm using KDE 4.5 with Ubunthu 9.04 installed Laptop. The problem occurs when I'm going to connect internet with my Huawai E160 dongle. The network manager program didn't identify my dongle so I can't connect to the internet. I have create a broadband connection in network manager program.
I can connect to internet with GNOME desktop since dongle is detect and I can create a Broadband connection and connect to the internet.
View 12 Replies
View Related
Jul 12, 2010
It's a long story, but on my tri-boot (Ubuntu 8.04, Win 7, Win XP), both Win 7 and Win XP need to know that Linux has previously run. I've therefore written a little program in REALbasic that automatically creates a text file named linuxran.txt and puts it into the root folder of the partition where Windows XP is installed. Under Ubuntu, this location is known as "/media/Win XP". It's an 80 gig partition of a 1 TB drive, the same disk that Win 7 is installed on. In my partition app under Win 7, I labeled the partition "Win XP."
The good news: When Ubuntu is completely up and running, the program runs fine. It checks if the file already exists, and if it does not, it creates it. So in Ubuntu, under System ==> Preferences ==> Sessions ==> Startup Programs, I put my little program, figuring it would run just fine. The bad news: Unfortunately, it didn't. It's trying to start before Ubuntu has mounted the "/media/Win XP" drive/partition.
Possible solutions: 1. If I could somehow set my program to run after I know the other drive has loaded, I would be all right. I know the prog is fine once the drive is loaded, because it does what it's supposed to when I run it. Is there some way to put my app in the startup process after Ubuntu has mounted all the drives? 2. Put some code in my app to make Ubuntu mount that drive before the rest of the prog runs. Not sure if this one is practical. 3. Set the program to run, not when Ubuntu first starts up, but rather, right before it shuts down.
I like option #3 the best because it would require no re-coding. Ubuntu would have had plenty of time to mount all the drives. Is there some way to tell Ubuntu, "whenever you're told to shut down, always run this little program first?"
View 3 Replies
View Related
Feb 5, 2010
I am writing some application in C, which will access a serial port device (RS232). My application is working good. But if any other application is already opened the port, I couldn't able to identify that. In windows VB program, while accessing comport through mscomm control, i am receiving an error as "Port Already Opened". But in Linux environment, through C program how can i get that? I am accessing comport 1 as follows
fd = open("/dev/ttyS0", O_RDWR | O_NOCTTY | O_SYNC);
View 3 Replies
View Related
Mar 5, 2010
A few years back when I was running Linux most of the time I used a program that gave me information on my machine.
It had different themes and such, and it would usually rest vertically along the side of the desktop. It would tell one information on drives, space, memory, I think you could even have it tell you the weather if you entered geographical information.
I know I'm being a bit vague but that's all I can remember, does anyone recall this program? It was pretty popular back then...so I wonder if it's still under development.
View 2 Replies
View Related
Jan 28, 2011
Am doing a simple partition imaging program. Am using libparted for partition things. Before that I want to list the available hard disks (/dev names) attached to the PC Programmatically.
View 2 Replies
View Related
Mar 25, 2011
what are all the options dos- ect! to format a HD. for the Linux platform is there not a way to load Linux out side of a Windows program .
View 7 Replies
View Related
May 9, 2010
upgraded from karmic through update managerANDnone of of my external drives cd drive or flash drives are picked upad to go back to karmic and will remain there for a whil
View 9 Replies
View Related
Jan 18, 2010
I'm breaking into the OS drive side with RAID-1 now. I have my server set up with a pair of 80 GB drives, mirrored (RAID-1) and have been testing the fail-over and rebuild process. Works great physically failing out either drive. Great! My next quest is setting up a backup procedure for the OS drives, and I want to know how others are doing this.
Here's what I was thinking, and I'd love some feedback: Fail one of the disks out of the RAID-1, then image it to a file, saved on an external disk, using the dd command (if memory serves, it would be something like "sudo dd if=/dev/sda of=backupfilename.img") Then, re-add the failed disk back into the array. In the event I needed to roll back to one of those snapshots, I would just use the "dd" command to dump the image back on to an appropriate hard disk, boot to it, and rebuild the RAID-1 from that.
Does that sound like a good practice, or is there a better way? A couple notes: I do not have the luxury of a stack of extra disks, so I cannot just do the standard mirror breaks and keep the disks on-hand, and using something like a tape drive is also not an option.
View 4 Replies
View Related
Jun 21, 2010
I recently had issues with the latest version of the Linux Kernels and I got that fixed but ever since that has happened none of my Drives will mount and they aren't even recognized.
View 1 Replies
View Related
Jan 28, 2010
i have recently setup and installed Ubuntu 9.04 on a virtulal drive usingVMWare 6.04, installed the desktop gui as well, I need to add other drives for data and loggng, which I did in the VMWare side. I can see the 2 drives in ubuntu, but can not access them, I get he unable to mount location when I try. How can resolve this please as I need these to virtual drives to be used as data drives.
View 1 Replies
View Related
May 1, 2011
I've used it once before but got fed up with the boot asking me everytime I turned my laptop on because I wasn't using it enough. I have Windows 7 on drive C . I want to keep it on drive C. I have several 1.5TB+ drives, and one of them is not being used. I want to dedicate it to Ubuntu, and be able to do a dual boot with my Windows 7 install. Is this possible? If it is, what about when this drive is not connected to my laptop? Will that mess up the boot process?
View 2 Replies
View Related
Jun 9, 2011
so I setup a raid ten system and I was wondering what that difference between the active and spare drives is ? if I have 4 active drives then 2 the two stripes are then mirrored right?
root@wolfden:~# cat /proc/mdstat
Personalities : [raid0] [raid10]
md1 : active raid10 sda2[0] sdd2[3] sdc2[2] sdb2[1]
[code]....
View 2 Replies
View Related
Mar 26, 2011
I am building a home server that will host a multitude of files; from mp3s to ebooks to FEA software and files. I don't know if RAID is the right thing for me. This server will have all the files that I have accumulated over the years and if the drive fails than I will be S.O.L. I have seen discussions where someone has RAID 1 setup but they don't have their drives internally (to the case), they bought 2 separate external hard drives with eSata to minimize an electrical failure to the drives. (I guess this is a good idea)I have also read about having one drive then using a second to rsync data every week. I planned on purchasing 2 enterprise hard drives of 500 MB to 1 GB but I don't have any experience with how I should handle my data
View 10 Replies
View Related
Aug 10, 2010
I am using my laptop with a built-in web-cam, but i just wonder what interface it is connectied to,i.e. is it dc1394 or usb or any others.
View 9 Replies
View Related
Oct 18, 2010
I suspect this is not new but I just can't find where it was treated. Maybe someone can give me a good lead.I just want to prevent certain users from accessing CD/DVD drives and all external drives. They should be able to mount their home directories and move around within the OS but they shouldn't be able to move data away from the PC. Any Clues?
View 2 Replies
View Related
Jan 8, 2010
So, at the moment I have a 7TB LVM with 1 group and one logical volume. In all honesty I don't back up this information. It is filled with data that I can "afford" to lose, but... would rather not. How do LVMs fail? If I lose a 1.5TB drive that is part of the LVM does that mean at most I could lose 1.5TB of data? Or can files span more than one drive? if so, would it just be one file what would span two drives? or could there be many files that span multiple drives drives? Essentially. I'm just curious, in a general, in a high level sense about LVM safety. What are the risks that are involved?
Edit: what happens if I boot up the computer with a drive missing from the lvm? Is there a first primary drive?
View 10 Replies
View Related
Sep 2, 2010
How do I identify a webcam in ubuntu? I forgot what model I'm using... It's USB of course, I know its at bus 2 device 2 (From lsusb) but I can't seem to find anything more than that...
View 2 Replies
View Related
Jun 14, 2010
The way to identify CAT 5 and CAT 6 cable?What are the differences between these two cables..?
View 8 Replies
View Related
Apr 17, 2011
i'v 2 unmounted partitions /dev/sda8 , /dev/sda9 ... i do the following:
#assume sudo where applicable
mkdir /media/myMtPt
#mount sda8
mount /dev/sda8 /media/myMtPt
[Code]....
if i write anything to /media/myMtPt it'll go to /dev/sda9..but both /dev/sda8 and /dev/sda9 show same mount point /media/myMtPt.. so if somebody else has to find out (without checking the history) to which one will the o/p go if written to /media/myMtPt then what is the way out?
View 2 Replies
View Related
Jun 30, 2011
Is there anyway of identifying which modules and drivers are being used on my machine? A log or app? I have a minimal install and what to install another, this time with only the hardware drivers/modules my machine needs (for instance, I don't need software for Xeon processors as I don't have one, therefore don't want that stuff hanging around serving no purpose).
View 8 Replies
View Related
Jul 21, 2009
I want to turn to Ubuntu, but when I install it using Ubuntu CD, It is found that Ubuntu can not identify my netcard (Intel Pro 10/100), Can not identify by sound card, Even it can not identify my video card. Anyone has a simple introduction on how to install these hardware drivers?
View 11 Replies
View Related
Jul 5, 2011
I have Fedora 14 installed on my main internal drive. I have one Fedora 14 and one Fedora 15 installed on two separate USB drives.When I boot into any of these drives, I can't access any of the other hard drives from the other drivesll I can, but just the boot partitions.Is there any way of mounting the other partitions so I can access the information?---------- Post added at 12:42 PM ---------- Previous post was at 09:34 AM ----------I guess even an explanation on why I can't view them would be good too.
View 7 Replies
View Related
Aug 23, 2010
I have an email server that I think is about to have a hard drive fail. It is running an old install of Redhat 9.0 I think. It has 2 120gb hard drives mirrored as a raid1. I want to copy those to a new pair of 500gb hard drives again as the same disk raid1 mirror. What tool would work for this? DD or partimage? Would it all be exactly the same and boot up still?
View 3 Replies
View Related
Feb 23, 2010
I have a 4 disk software RAID array made up of Seagate drives. Let's name them sda, sdb, sdc, sdd. And let's say SDC is failing. Big question. How do i find out which of the 4 physical drives it is? They all look the same to me when i open up the PC case. Maybe some utility which will load up heavy usage on just one drive and i will try to put my finger on them and figure out which one is vibrating? Or maybe there is a smarter way?
View 1 Replies
View Related
Apr 22, 2010
I'm currently running 9.10 and am anticipating upgrading to 10.04 when it is released next week. I am however, running several packages from PPA's that were simply not working well at the versions included with 9.10 (I know specifically the 64-bit version of Flash and Wine are setup this way).
Since these installs are out of the scope of the official Ubuntu sources, how are these handled when I upgrade? More importantly, since some of these packages were just installed as a temporary fix until 10.04 came out, for some of them I'd like to remove the PPA version and reinstall the default version (since for several of them the 10.04 version has caught up to where it needs to be). Is there any way to identify all packages installed from PPA's on the system?
View 1 Replies
View Related
Jun 6, 2011
Are there any identifiers on an HDD that can be either seen physically on a "sticker" on the HDD, and the same number/identifier could be read with software solutions?
I mean if I see with e.g.: S.M.A.R.T. that an HDD (in RAID) is failing, then I give out the command:
SOMEMAGIC
then I get an OUTPUT, e.g.: 9835923759237489
and then are ther any stickers on the HDD that has a label: 9835923759237489 ? so the hdd that has to be changed could be identified.
View 2 Replies
View Related
Sep 10, 2010
When I mount an usb device, I want to get the information contained in the structure usb_device. This information tally with the device which is being mounted now (dev_name). So I want to get, for example, the path where the device will be mounted (/dev/sda) before it is mounted naturally.
View 1 Replies
View Related